mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Silence CXX_BUILD warnings
This commit is contained in:
parent
ea94d33de5
commit
6f9b7a4c87
@ -271,7 +271,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
|||||||
|
|
||||||
if (slideshow_enable)
|
if (slideshow_enable)
|
||||||
{
|
{
|
||||||
if ((frames % 120 == 0) && image_index < (file_list->size - 1))
|
if ((frames % 120 == 0) && image_index < (signed)(file_list->size - 1))
|
||||||
next_image = true;
|
next_image = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -287,7 +287,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
|||||||
|
|
||||||
if (input & (1<<RETRO_DEVICE_ID_JOYPAD_UP))
|
if (input & (1<<RETRO_DEVICE_ID_JOYPAD_UP))
|
||||||
{
|
{
|
||||||
if ((image_index + 5) < (file_list->size - 1))
|
if ((image_index + 5) < (signed)(file_list->size - 1))
|
||||||
forward_image = true;
|
forward_image = true;
|
||||||
else
|
else
|
||||||
last_image = true;
|
last_image = true;
|
||||||
@ -308,7 +308,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
|||||||
}
|
}
|
||||||
if (input & (1<<RETRO_DEVICE_ID_JOYPAD_RIGHT))
|
if (input & (1<<RETRO_DEVICE_ID_JOYPAD_RIGHT))
|
||||||
{
|
{
|
||||||
if (image_index < (file_list->size - 1))
|
if (image_index < (signed)(file_list->size - 1))
|
||||||
next_image = true;
|
next_image = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user