mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Add message queue message in case Disk Options is not supported
and we call rarch_main_command for eject toggling/next disk/prev disk
This commit is contained in:
parent
8db19cd5ef
commit
55981aa0d3
15
retroarch.c
15
retroarch.c
@ -2691,6 +2691,11 @@ bool rarch_main_command(unsigned cmd)
|
||||
if (control)
|
||||
check_disk_eject(control);
|
||||
}
|
||||
else
|
||||
{
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
msg_queue_push(g_extern.msg_queue, "Core does not support Disk Options.", 1, 120);
|
||||
}
|
||||
break;
|
||||
case RARCH_CMD_DISK_NEXT:
|
||||
if (g_extern.system.disk_control.get_num_images)
|
||||
@ -2707,6 +2712,11 @@ bool rarch_main_command(unsigned cmd)
|
||||
|
||||
check_disk_next(control);
|
||||
}
|
||||
else
|
||||
{
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
msg_queue_push(g_extern.msg_queue, "Core does not support Disk Options.", 1, 120);
|
||||
}
|
||||
break;
|
||||
case RARCH_CMD_DISK_PREV:
|
||||
if (g_extern.system.disk_control.get_num_images)
|
||||
@ -2723,6 +2733,11 @@ bool rarch_main_command(unsigned cmd)
|
||||
|
||||
check_disk_prev(control);
|
||||
}
|
||||
else
|
||||
{
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
msg_queue_push(g_extern.msg_queue, "Core does not support Disk Options.", 1, 120);
|
||||
}
|
||||
break;
|
||||
case RARCH_CMD_RUMBLE_STOP:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user