MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEUD_TurboOn

Function FCEUD_TurboOn

src/drivers/win/input.cpp:1861–1869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1859}
1860
1861void FCEUD_TurboOn (void)
1862 {
1863 tempwinsync = winsync; //Store winsync setting
1864 winsync = 0; //turn off winsync for turbo (so that turbo can function even with VBlank sync methods
1865 tempsoundquality = soundquality; //Store sound quality settings
1866 FCEUI_SetSoundQuality(0); //Turn sound quality to low
1867 turbo = true;
1868 if (muteTurbo && soundo) TrashSound();
1869 }
1870void FCEUD_TurboOff (void)
1871 {
1872 winsync = tempwinsync; //Restore winsync setting

Callers

nothing calls this directly

Calls 2

FCEUI_SetSoundQualityFunction · 0.85
TrashSoundFunction · 0.85

Tested by

no test coverage detected