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

Function TogglePause

src/drivers/sdl/input.cpp:215–226  ·  view source on GitHub ↗

* This function is a wrapper for FCEUI_ToggleEmulationPause that handles * releasing/capturing mouse pointer during pause toggles * */

Source from the content-addressed store, hash-verified

213 * releasing/capturing mouse pointer during pause toggles
214 * */
215void
216TogglePause ()
217{
218 FCEUI_ToggleEmulationPause ();
219
220 int no_cursor;
221 g_config->getOption("SDL.NoFullscreenCursor", &no_cursor);
222 int fullscreen;
223 g_config->getOption ("SDL.Fullscreen", &fullscreen);
224
225 return;
226}
227
228/***
229 * This function opens a file chooser dialog and returns the filename the

Callers 2

KeyboardCommandsFunction · 0.70
UpdatePhysicalInputFunction · 0.70

Calls 2

getOptionMethod · 0.80

Tested by

no test coverage detected