mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(MSVC) Fix issues
This commit is contained in:
parent
8032bd0336
commit
0fee70457b
@ -1818,7 +1818,7 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
|
||||
}
|
||||
|
||||
char* word_wrap (char* buffer, char* string, int line_width) {
|
||||
int i = 0;
|
||||
unsigned i = 0;
|
||||
int k, counter;
|
||||
|
||||
while(i < strlen( string ) )
|
||||
|
@ -285,17 +285,17 @@ unsigned menu_event(uint64_t input, uint64_t trigger_input)
|
||||
if (trigger_input & (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_L))
|
||||
{
|
||||
if (osk_idx > OSK_TYPE_UNKNOWN + 1)
|
||||
osk_idx--;
|
||||
osk_idx = (enum osk_type)(osk_idx - 1);
|
||||
else
|
||||
osk_idx = OSK_TYPE_LAST - 1;
|
||||
osk_idx = (enum osk_type)(OSK_TYPE_LAST - 1);
|
||||
}
|
||||
|
||||
if (trigger_input & (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_R))
|
||||
{
|
||||
if (osk_idx < OSK_TYPE_LAST - 1)
|
||||
osk_idx++;
|
||||
osk_idx = (enum osk_type)(osk_idx + 1);
|
||||
else
|
||||
osk_idx = OSK_TYPE_UNKNOWN + 1;
|
||||
osk_idx = (enum osk_type)(OSK_TYPE_UNKNOWN + 1);
|
||||
}
|
||||
|
||||
if (trigger_input & (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_A))
|
||||
|
Loading…
x
Reference in New Issue
Block a user