mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Don't register "savestate" and "restorestate" OSD commands even in debug builds.
They don't get registered on Windows for some reason, and mapstate debugging is best carried out using scripting code, anyway. git-svn-id: https://svn.eduke32.com/eduke32@3892 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b319ae5613
commit
e8c9bf044f
1 changed files with 2 additions and 2 deletions
|
@ -1136,7 +1136,7 @@ static int32_t osdcmd_screenshot(const osdfuncparm_t *parm)
|
||||||
return OSDCMD_OK;
|
return OSDCMD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUGGINGAIDS
|
#if 0
|
||||||
static int32_t osdcmd_savestate(const osdfuncparm_t *parm)
|
static int32_t osdcmd_savestate(const osdfuncparm_t *parm)
|
||||||
{
|
{
|
||||||
UNREFERENCED_PARAMETER(parm);
|
UNREFERENCED_PARAMETER(parm);
|
||||||
|
@ -1605,7 +1605,7 @@ int32_t registerosdcommands(void)
|
||||||
OSD_RegisterFunction("unbindall","unbindall: unbinds all keys", osdcmd_unbindall);
|
OSD_RegisterFunction("unbindall","unbindall: unbinds all keys", osdcmd_unbindall);
|
||||||
|
|
||||||
OSD_RegisterFunction("vidmode","vidmode <xdim> <ydim> <bpp> <fullscreen>: change the video mode",osdcmd_vidmode);
|
OSD_RegisterFunction("vidmode","vidmode <xdim> <ydim> <bpp> <fullscreen>: change the video mode",osdcmd_vidmode);
|
||||||
#ifdef DEBUGGINGAIDS
|
#if 0
|
||||||
OSD_RegisterFunction("savestate","",osdcmd_savestate);
|
OSD_RegisterFunction("savestate","",osdcmd_savestate);
|
||||||
OSD_RegisterFunction("restorestate","",osdcmd_restorestate);
|
OSD_RegisterFunction("restorestate","",osdcmd_restorestate);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue