Fix pause

This commit is contained in:
simon.kagstrom 2010-03-10 16:57:48 +00:00
parent 6c5f57d628
commit 9035645c33

View File

@ -299,10 +299,6 @@ void C64::VBlank(bool draw_frame)
TheDisplay->Update(); TheDisplay->Update();
} }
if (this->have_a_break) {
TheSID->PauseSound();
}
this->network_vblank(); this->network_vblank();
Gui::gui->runLogic(); Gui::gui->runLogic();
@ -338,7 +334,7 @@ void C64::thread_func(void)
if (TheVIC->EmulateCycle()) if (TheVIC->EmulateCycle())
TheSID->EmulateLine(); TheSID->EmulateLine();
/* No need to emulate anything for the client */ /* No need to emulate anything for the client */
if (this->network_connection_type != CLIENT) { if (!this->have_a_break && this->network_connection_type != CLIENT) {
TheCIA1->CheckIRQs(); TheCIA1->CheckIRQs();
TheCIA2->CheckIRQs(); TheCIA2->CheckIRQs();
TheCIA1->EmulateCycle(); TheCIA1->EmulateCycle();