mirror of
https://github.com/libretro/RetroArch
synced 2025-01-08 18:58:46 +00:00
Flush message queue on ENVIRONMENT_SET_MESSAGE.
This commit is contained in:
parent
3bfa8d568d
commit
a58eddae65
@ -532,7 +532,10 @@ static bool environment_cb(unsigned cmd, void *data)
|
||||
const struct retro_message *msg = (const struct retro_message*)data;
|
||||
RARCH_LOG("Environ SET_MESSAGE: %s\n", msg->msg);
|
||||
if (g_extern.msg_queue)
|
||||
{
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
msg_queue_push(g_extern.msg_queue, msg->msg, 1, msg->frames);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user