Merge pull request #10715 from Pokechu22/dspspy-incomplete-dump

DSPSpy: Fix incomplete result dumps
This commit is contained in:
Mai M 2022-06-02 20:21:28 -04:00 committed by GitHub
commit 566da9ffd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -474,11 +474,13 @@ void dump_all_ucodes(bool fastmode)
real_dsp.Reset();
VIDEO_WaitVSync();
// Loop over handling mail until we've stopped stepping
// dsp_steps-3 compensates for mails to setup the ucode
for (int steps_cache = dsp_steps - 3; steps_cache <= dsp_steps; steps_cache++)
{
VIDEO_WaitVSync();
handle_dsp_mail();
}
VIDEO_WaitVSync();
sprintf(filename, "sd:/dsp_dump_all.bin");