mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Remove some dead code
This commit is contained in:
parent
e6b297c573
commit
7945ba0b26
@ -319,22 +319,7 @@ void C64::VBlank(bool draw_frame)
|
||||
|
||||
if (this->have_a_break) {
|
||||
|
||||
Prefs np = ThePrefs;
|
||||
this->prefs_changed = false;
|
||||
|
||||
TheSID->PauseSound();
|
||||
|
||||
if (this->prefs_changed)
|
||||
{
|
||||
this->NewPrefs(&np);
|
||||
ThePrefs = np;
|
||||
}
|
||||
TheDisplay->FakeKeyPress(-1, TheCIA1->KeyMatrix,
|
||||
TheCIA1->RevMatrix);
|
||||
|
||||
this->have_a_break = false;
|
||||
if (this->quit_thyself)
|
||||
ThePrefs.Save((const char*)PREFS_PATH);
|
||||
}
|
||||
this->network_vblank();
|
||||
|
||||
@ -347,6 +332,8 @@ void C64::VBlank(bool draw_frame)
|
||||
#else
|
||||
now = SDL_GetTicks();
|
||||
#endif
|
||||
if (this->quit_thyself)
|
||||
ThePrefs.Save((const char*)PREFS_PATH);
|
||||
|
||||
if ( (now - lastFrame) < ThePrefs.MsPerFrame) {
|
||||
usleep( (ThePrefs.MsPerFrame - (now - lastFrame)) * 1000);
|
||||
|
Loading…
Reference in New Issue
Block a user