mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
Merge pull request #10881 from jdgleaver/core-message-flush
Do not flush the message queue when receiving core-generated notification messages
This commit is contained in:
commit
f36ceba596
@ -17185,9 +17185,11 @@ static void runloop_core_msg_queue_push(
|
|||||||
fps = (av_info && (av_info->timing.fps > 0)) ? av_info->timing.fps : 60.0;
|
fps = (av_info && (av_info->timing.fps > 0)) ? av_info->timing.fps : 60.0;
|
||||||
duration_frames = (unsigned)((fps * (float)msg->duration / 1000.0f) + 0.5f);
|
duration_frames = (unsigned)((fps * (float)msg->duration / 1000.0f) + 0.5f);
|
||||||
|
|
||||||
|
/* Note: Do not flush the message queue here - a core
|
||||||
|
* may need to send multiple notifications simultaneously */
|
||||||
runloop_msg_queue_push(msg->msg,
|
runloop_msg_queue_push(msg->msg,
|
||||||
msg->priority, duration_frames,
|
msg->priority, duration_frames,
|
||||||
true, NULL, MESSAGE_QUEUE_ICON_DEFAULT,
|
false, NULL, MESSAGE_QUEUE_ICON_DEFAULT,
|
||||||
category);
|
category);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user