parent
0890fced4b
commit
7372509bef
6
driver.c
6
driver.c
|
@ -209,11 +209,7 @@ static void adjust_system_rates(void)
|
||||||
g_settings.video.vsync = false;
|
g_settings.video.vsync = false;
|
||||||
RARCH_LOG("Game FPS > Monitor FPS. Cannot rely on VSync.\n");
|
RARCH_LOG("Game FPS > Monitor FPS. Cannot rely on VSync.\n");
|
||||||
#ifdef RARCH_CONSOLE
|
#ifdef RARCH_CONSOLE
|
||||||
struct retro_system_info info;
|
video_set_nonblock_state_func(true);
|
||||||
retro_get_system_info(&info);
|
|
||||||
|
|
||||||
if(info.nonblock_state)
|
|
||||||
video_set_nonblock_state_func(true);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -384,8 +384,6 @@ struct retro_system_info
|
||||||
// If false, ::data and ::size are guaranteed to be valid, but ::path might not be valid.
|
// If false, ::data and ::size are guaranteed to be valid, but ::path might not be valid.
|
||||||
// This is typically set to true for libretro implementations that must load from file.
|
// This is typically set to true for libretro implementations that must load from file.
|
||||||
// Implementations should strive for setting this to false, as it allows the frontend to perform patching, etc.
|
// Implementations should strive for setting this to false, as it allows the frontend to perform patching, etc.
|
||||||
bool nonblock_state; // If true, this indicates that the game's fps is above 60 and that vsync should
|
|
||||||
// be deactivated before startup
|
|
||||||
|
|
||||||
bool block_extract; // If true, the frontend is not allowed to extract any archives before loading the real ROM.
|
bool block_extract; // If true, the frontend is not allowed to extract any archives before loading the real ROM.
|
||||||
// Necessary for certain libretro implementations that load games from zipped archives.
|
// Necessary for certain libretro implementations that load games from zipped archives.
|
||||||
|
|
Loading…
Reference in New Issue