summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmacosx/Plugin.c2
-rwxr-xr-xmacosx/main.m5
2 files changed, 6 insertions, 1 deletions
diff --git a/macosx/Plugin.c b/macosx/Plugin.c
index e501a5f5..48ff71bc 100755
--- a/macosx/Plugin.c
+++ b/macosx/Plugin.c
@@ -186,7 +186,7 @@ void ClosePlugins() {
if (ret < 0) { SysMessage("%s", _("Error Closing GPU Plugin")); return; }
#ifdef ENABLE_SIO1API
ret = SIO1_close();
- if (ret < 0) { SysMessage(_("Error closing SIO1 plugin!")); return; }
+ if (ret < 0) { SysMessage("%s", _("Error closing SIO1 plugin!")); return; }
#endif
if (Config.UseNet) {
diff --git a/macosx/main.m b/macosx/main.m
index 76a08abf..537dfc18 100755
--- a/macosx/main.m
+++ b/macosx/main.m
@@ -207,8 +207,13 @@ void SysCloseLibrary(void *lib) {
// Called periodically from the emu thread
void SysUpdate() {
+#if 0
+ PADhandleKey(PAD1_keypressed());
+ PADhandleKey(PAD2_keypressed());
+#else
PAD1_keypressed();
PAD2_keypressed();
+#endif
[emuThread handleEvents];
}