mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-13 07:05:12 +01:00
No need to run the emulator on the client
This commit is contained in:
parent
334d729bf1
commit
b919f9cf95
@ -745,6 +745,8 @@ void C64::thread_func(void)
|
||||
// The order of calls is important here
|
||||
if (TheVIC->EmulateCycle())
|
||||
TheSID->EmulateLine();
|
||||
/* No need to emulate anything for the client */
|
||||
if (this->network_connection_type != CLIENT) {
|
||||
TheCIA1->CheckIRQs();
|
||||
TheCIA2->CheckIRQs();
|
||||
TheCIA1->EmulateCycle();
|
||||
@ -756,6 +758,7 @@ void C64::thread_func(void)
|
||||
if (!TheCPU1541->Idle)
|
||||
TheCPU1541->EmulateCycle();
|
||||
}
|
||||
}
|
||||
CycleCounter++;
|
||||
#else
|
||||
while (!quit_thyself) {
|
||||
|
Loading…
Reference in New Issue
Block a user