mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup some warnings for C89_BUILD
This commit is contained in:
parent
1b0420807b
commit
4372db491a
18
dynamic.c
18
dynamic.c
@ -914,18 +914,20 @@ static bool dynamic_request_hw_context(enum retro_hw_context_type type,
|
||||
|
||||
case RETRO_HW_CONTEXT_DIRECT3D:
|
||||
switch(major)
|
||||
{
|
||||
{
|
||||
#ifdef HAVE_D3D9
|
||||
case 9:
|
||||
case 9:
|
||||
RARCH_LOG("Requesting D3D9 context.\n");
|
||||
break;
|
||||
#endif
|
||||
#ifdef HAVE_D3D11
|
||||
case 11:
|
||||
case 11:
|
||||
RARCH_LOG("Requesting D3D11 context.\n");
|
||||
break;
|
||||
#endif
|
||||
RARCH_LOG("Requesting D3D%i context.\n", major);
|
||||
break;
|
||||
default:
|
||||
goto unknown;
|
||||
}
|
||||
default:
|
||||
goto unknown;
|
||||
}
|
||||
break;
|
||||
|
||||
unknown:
|
||||
|
@ -3252,13 +3252,9 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||
|
||||
/* Run Ahead Feature replaces the call to core_run in this loop */
|
||||
if (settings->bools.run_ahead_enabled && settings->uints.run_ahead_frames > 0)
|
||||
{
|
||||
run_ahead(settings->uints.run_ahead_frames, settings->bools.run_ahead_secondary_instance);
|
||||
}
|
||||
else
|
||||
{
|
||||
core_run();
|
||||
}
|
||||
|
||||
#ifdef HAVE_CHEEVOS
|
||||
if (runloop_check_cheevos())
|
||||
|
Loading…
x
Reference in New Issue
Block a user