mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Cleanups
This commit is contained in:
parent
7c78e0ad1e
commit
3ae447420e
@ -40,10 +40,8 @@ using namespace std;
|
||||
static void get_include_file(
|
||||
const char *line, char *include_file, size_t len)
|
||||
{
|
||||
char *start = NULL;
|
||||
char *end = NULL;
|
||||
|
||||
start = (char*)strchr(line, '\"');
|
||||
char *start = (char*)strchr(line, '\"');
|
||||
|
||||
if (!start)
|
||||
return;
|
||||
|
@ -19527,12 +19527,13 @@ void driver_set_nonblock_state(void)
|
||||
/* Only apply non-block-state for video if we're using vsync. */
|
||||
if (video_driver_active && video_driver_get_ptr_internal(false))
|
||||
{
|
||||
bool video_nonblock = enable;
|
||||
|
||||
if (!settings->bools.video_vsync || runloop_force_nonblock)
|
||||
video_nonblock = true;
|
||||
if (current_video->set_nonblock_state)
|
||||
{
|
||||
bool video_nonblock = enable;
|
||||
if (!settings->bools.video_vsync || runloop_force_nonblock)
|
||||
video_nonblock = true;
|
||||
current_video->set_nonblock_state(video_driver_data, video_nonblock);
|
||||
}
|
||||
}
|
||||
|
||||
if (audio_driver_active && audio_driver_context_audio_data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user