A GameCube/Wii emulator and debugger written in Rust.
oh magic ball please tell me the most optimal dsp drain count TEMPORARY AND NEEDS TESTING
Layle024adf15d644
diff --git a/crates/gecko/src/flipper/dsp/regs.rs b/crates/gecko/src/flipper/dsp/regs.rsindex 766a1ac..73b21ba 100644--- a/crates/gecko/src/flipper/dsp/regs.rs+++ b/crates/gecko/src/flipper/dsp/regs.rs@@ -182,7 +182,9 @@ impl<const SYSTEM: SystemId> MmioAccess<System<SYSTEM>> for MailboxToDspLo {// AID consumes the buffer with the prior cycle's contents at the// start of each render before the new contents land.// Based off of FFCC, thanks SpinningCube, zayd, JustinCase- sys.drain_dsp_synchronous(64 * 1024);+ // TODO: WHAT THE FUCK KINDA NUMBER SHOULD I USE+ // used to be 64 * 1024 and worked well on many games...+ sys.drain_dsp_synchronous(128);crate::flipper::dsp::wake_dsp_scheduler::<SYSTEM>(sys);}}