mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-04 15:16:54 +00:00
Zero clock at appropriate times.
This commit is contained in:
parent
91e69af029
commit
e3788c39e4
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user