Zero clock at appropriate times.

This commit is contained in:
Brandon Wright 2011-06-27 16:28:45 -05:00
parent 91e69af029
commit e3788c39e4
1 changed files with 3 additions and 0 deletions

View File

@ -11,11 +11,13 @@ void DSP::power()
{
spc_dsp.init(smp.apuram);
spc_dsp.reset();
clock = 0;
}
void DSP::reset()
{
spc_dsp.soft_reset();
clock = 0;
}
static void from_dsp_to_state (uint8 **buf, void *var, size_t size)
@ -42,6 +44,7 @@ void DSP::load_state (uint8 **ptr)
DSP::DSP()
{
clock = 0;
}
}