mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 19:20:24 +00:00
Silence MSVC warning
This commit is contained in:
parent
78e935b7a9
commit
72ff8808af
@ -2300,11 +2300,10 @@ bool command_event(enum event_command cmd, void *data)
|
|||||||
#if HAVE_RUNAHEAD
|
#if HAVE_RUNAHEAD
|
||||||
{
|
{
|
||||||
bool old_warn = settings->bools.preemptive_frames_hide_warnings;
|
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 */
|
/* Toggle with warnings shown */
|
||||||
settings->bools.preemptive_frames_hide_warnings = false;
|
settings->bools.preemptive_frames_hide_warnings = false;
|
||||||
|
|
||||||
settings->bools.preemptive_frames_enable =
|
settings->bools.preemptive_frames_enable =
|
||||||
!(settings->bools.preemptive_frames_enable);
|
!(settings->bools.preemptive_frames_enable);
|
||||||
command_event(CMD_EVENT_PREEMPT_UPDATE, NULL);
|
command_event(CMD_EVENT_PREEMPT_UPDATE, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user