mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-12-01 16:04:21 +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) {
|
if (this->have_a_break) {
|
||||||
|
|
||||||
Prefs np = ThePrefs;
|
|
||||||
this->prefs_changed = false;
|
|
||||||
|
|
||||||
TheSID->PauseSound();
|
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();
|
this->network_vblank();
|
||||||
|
|
||||||
@ -347,6 +332,8 @@ void C64::VBlank(bool draw_frame)
|
|||||||
#else
|
#else
|
||||||
now = SDL_GetTicks();
|
now = SDL_GetTicks();
|
||||||
#endif
|
#endif
|
||||||
|
if (this->quit_thyself)
|
||||||
|
ThePrefs.Save((const char*)PREFS_PATH);
|
||||||
|
|
||||||
if ( (now - lastFrame) < ThePrefs.MsPerFrame) {
|
if ( (now - lastFrame) < ThePrefs.MsPerFrame) {
|
||||||
usleep( (ThePrefs.MsPerFrame - (now - lastFrame)) * 1000);
|
usleep( (ThePrefs.MsPerFrame - (now - lastFrame)) * 1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user