From b27aa5e8e1f762b5310eae2fc8453bebeeb38d5e Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Wed, 29 Oct 2014 06:34:07 +0100 Subject: [PATCH] (Apple) Hook up RARCH_CMD_RESIZE_WINDOWED_SCALE --- apple/OSX/platform.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apple/OSX/platform.m b/apple/OSX/platform.m index 994bcb9be4..b04fb2cc6b 100644 --- a/apple/OSX/platform.m +++ b/apple/OSX/platform.m @@ -347,6 +347,13 @@ static char** waiting_argv; cmd = RARCH_CMD_NONE; break; } + + if (sender_tag >= 10 && sender_tag <= 19) + { + unsigned idx = (sender_tag - (10-1)); + g_extern.pending.windowed_scale = idx; + cmd = RARCH_CMD_RESIZE_WINDOWED_SCALE; + } rarch_main_command(cmd); }