X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Flibretro.h;h=dc5b52bcd1b086819b34b849b6ba3e5aa70c20b8;hp=b02855ae1fa38c3dfee15a01f1a43284a4d6b534;hb=e268a47e483b139b3c337c5fc37e3551138fbb99;hpb=aa0e931b7dbd98359d3b0aa0db16c4d2ee8ca197 diff --git a/frontend/libretro.h b/frontend/libretro.h index b02855ae..dc5b52bc 100755 --- a/frontend/libretro.h +++ b/frontend/libretro.h @@ -452,6 +452,13 @@ enum retro_mod // Result is set to true if some variables are updated by // frontend since last call to RETRO_ENVIRONMENT_GET_VARIABLE. // Variables should be queried with GET_VARIABLE. + // +#define RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME 18 + // const bool * -- + // If true, the libretro implementation supports calls to retro_load_game() with NULL as argument. + // Used by cores which can run without particular game data. + // This should be called within retro_set_environment() only. + // Pass this to retro_video_refresh_t if rendering to hardware. // Passing NULL to retro_video_refresh_t is still a frame dupe as normal. @@ -496,7 +503,7 @@ typedef void (*retro_keyboard_event_t)(bool down, unsigned keycode, uint32_t cha struct retro_keyboard_callback { - retro_keyboard_event_t callback; + retro_keyboard_event_t callback; }; // Callbacks for RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE.