Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10715 from Pokechu22/dspspy-incomplete-dump
DSPSpy: Fix incomplete result dumps
  • Loading branch information
lioncash committed Jun 3, 2022
2 parents 8494462 + 00a5f99 commit 566da9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/DSPSpy/main_spy.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit 566da9f

Please sign in to comment.