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().
| 4127 | // Unconditionally retrns 1; any failure in taking a screenshot would be reported on-screen |
| 4128 | // from the function ReallySnap(). |
| 4129 | static int gui_savescreenshot(lua_State *L) { |
| 4130 | FCEUI_SaveSnapshot(); |
| 4131 | return 1; |
| 4132 | } |
| 4133 | |
| 4134 | // gui.gdscreenshot(getemuscreen) |
| 4135 | // |
nothing calls this directly
no test coverage detected