Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

apparently increasing drain does more bad than good lol

Layle61fcea776fb2
diff --git a/crates/gecko/src/flipper/dsp/regs.rs b/crates/gecko/src/flipper/dsp/regs.rs
index 357f8fe..766a1ac 100644
--- a/crates/gecko/src/flipper/dsp/regs.rs
+++ b/crates/gecko/src/flipper/dsp/regs.rs
@@ -182,7 +182,7 @@ 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(1024 * 1024);
+ sys.drain_dsp_synchronous(64 * 1024);
crate::flipper::dsp::wake_dsp_scheduler::<SYSTEM>(sys);
}
}