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

Function gui_savescreenshot

src/lua-engine.cpp:4129–4132  ·  view source on GitHub ↗

gui.savescreenshot() Causes FCEUX to write a screenshot to a file as if the user pressed the associated hotkey. Unconditionally retrns 1; any failure in taking a screenshot would be reported on-screen from the function ReallySnap().

Source from the content-addressed store, hash-verified

4127// Unconditionally retrns 1; any failure in taking a screenshot would be reported on-screen
4128// from the function ReallySnap().
4129static int gui_savescreenshot(lua_State *L) {
4130 FCEUI_SaveSnapshot();
4131 return 1;
4132}
4133
4134// gui.gdscreenshot(getemuscreen)
4135//

Callers

nothing calls this directly

Calls 1

FCEUI_SaveSnapshotFunction · 0.85

Tested by

no test coverage detected