mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Get rid of RETRO_ENVIRONMENT_EXEC_ESCAPE
This commit is contained in:
parent
d71c782459
commit
24216cb54c
10
dynamic.c
10
dynamic.c
@ -1216,8 +1216,9 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
|
||||
/* Private extensions for internal use, not part of libretro API. */
|
||||
case RETRO_ENVIRONMENT_EXEC:
|
||||
case RETRO_ENVIRONMENT_EXEC_ESCAPE:
|
||||
{
|
||||
RARCH_LOG("Environ (Private) EXEC.\n");
|
||||
|
||||
char *fullpath = NULL;
|
||||
runloop_ctl(RUNLOOP_CTL_GET_CONTENT_PATH, &fullpath);
|
||||
|
||||
@ -1234,13 +1235,6 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
rarch_ctl(RARCH_CTL_LOAD_CONTENT, NULL);
|
||||
#endif
|
||||
|
||||
if (cmd == RETRO_ENVIRONMENT_EXEC_ESCAPE)
|
||||
{
|
||||
RARCH_LOG("Environ (Private) EXEC_ESCAPE.\n");
|
||||
runloop_ctl(RUNLOOP_CTL_SET_EXEC, NULL);
|
||||
}
|
||||
else
|
||||
RARCH_LOG("Environ (Private) EXEC.\n");
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -35,22 +35,6 @@
|
||||
* SET_LIBRETRO_PATH, and path to
|
||||
* game is passed in _EXEC. NULL
|
||||
* means no game. */
|
||||
#define RETRO_ENVIRONMENT_EXEC_ESCAPE (RETRO_ENVIRONMENT_PRIVATE | 1)
|
||||
/* const char * --
|
||||
* Requests that this core is
|
||||
* deinitialized, and a new core
|
||||
* is loaded.
|
||||
*
|
||||
* It also escapes the main loop
|
||||
* the core is currently
|
||||
* bound to.
|
||||
*
|
||||
* The libretro core used is set
|
||||
* with SET_LIBRETRO_PATH, and
|
||||
* path to game is passed in
|
||||
* _EXEC. NULL means no game.
|
||||
*/
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user