mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Silence MSVC warning
This commit is contained in:
parent
78e935b7a9
commit
72ff8808af
@ -2300,12 +2300,11 @@ bool command_event(enum event_command cmd, void *data)
|
||||
#if HAVE_RUNAHEAD
|
||||
{
|
||||
bool old_warn = settings->bools.preemptive_frames_hide_warnings;
|
||||
bool old_inited = runloop_st->preempt_data;
|
||||
bool old_inited = runloop_st->preempt_data != NULL;
|
||||
|
||||
/* Toggle with warnings shown */
|
||||
settings->bools.preemptive_frames_hide_warnings = false;
|
||||
|
||||
settings->bools.preemptive_frames_enable =
|
||||
settings->bools.preemptive_frames_enable =
|
||||
!(settings->bools.preemptive_frames_enable);
|
||||
command_event(CMD_EVENT_PREEMPT_UPDATE, NULL);
|
||||
|
||||
@ -2328,7 +2327,7 @@ bool command_event(enum event_command cmd, void *data)
|
||||
NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
|
||||
|
||||
/* Disable runahead */
|
||||
settings->bools.run_ahead_enabled = false;
|
||||
settings->bools.run_ahead_enabled = false;
|
||||
}
|
||||
else /* Failed to init */
|
||||
settings->bools.preemptive_frames_enable = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user