mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +00:00
Apple buildfix (#17294)
This commit is contained in:
parent
4fc6bbe8c2
commit
3989a62f60
@ -135,7 +135,7 @@ static void *sdl_microphone_open_mic(void *driver_context,
|
||||
#if __APPLE__
|
||||
if (!string_is_equal(audio_driver_get_ident(), "sdl2"))
|
||||
{
|
||||
const char *msg = msg_hash_to_str(MSG_SDL2_MIC_NEEDS_SDL2_AUDIO),msg_hash_to_str(MSG_SDL2_MIC_NEEDS_SDL2_AUDIO);
|
||||
const char *msg = msg_hash_to_str(MSG_SDL2_MIC_NEEDS_SDL2_AUDIO);
|
||||
runloop_msg_queue_push(msg, strlen(msg),
|
||||
1, 100, true, NULL,
|
||||
MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_WARNING);
|
||||
|
@ -44,9 +44,10 @@ extension CocoaView: HelperBarActionDelegate {
|
||||
func mouseButtonTapped() {
|
||||
mouseHandler.enabled.toggle()
|
||||
let messageKey = mouseHandler.enabled ? MSG_IOS_TOUCH_MOUSE_ENABLED : MSG_IOS_TOUCH_MOUSE_DISABLED
|
||||
let message = msg_hash_to_str(messageKey)
|
||||
runloop_msg_queue_push(message, strlen(message), 1, 100, true, nil,
|
||||
MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO)
|
||||
if let message = msg_hash_to_str(messageKey) {
|
||||
runloop_msg_queue_push(message, strlen(message), 1, 100, true, nil,
|
||||
MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO)
|
||||
}
|
||||
}
|
||||
|
||||
func helpButtonTapped() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user