From cc56203b76e1fcef2c7e55b460daf07e654a1547 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 5 Nov 2012 00:28:57 +0200 Subject: switch over to libpicofe - libretro should not be affected by this, all others need to do 'git submodule init && git submodule update' from now on. - pandora should get gamma control support --- maemo/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'maemo/main.c') diff --git a/maemo/main.c b/maemo/main.c index 2da693d..4ffd1ab 100644 --- a/maemo/main.c +++ b/maemo/main.c @@ -21,6 +21,9 @@ int g_opts = OPT_SHOWFPS; int g_maemo_opts; +int g_scaler, soft_filter; +int g_menuscreen_w, g_menuscreen_h; + char file_name[MAXPATHLEN]; enum sched_action emu_action; @@ -53,7 +56,10 @@ int main(int argc, char **argv) strcpy(Config.PluginsDir, "/opt/maemo/usr/games/plugins"); snprintf(Config.PatchesDir, sizeof(Config.PatchesDir), "/opt/maemo/usr/games" PATCHES_DIR); Config.PsxAuto = 1; - + + g_menuscreen_w = 800; + g_menuscreen_h = 480; + pl_init(); emu_core_init(); -- cgit v1.2.3 From 79f216e32563acc81517729fe56a6f11f110b0a4 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 10 Nov 2012 22:23:37 +0200 Subject: frontend: avoid loading msg when not needed --- maemo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'maemo/main.c') diff --git a/maemo/main.c b/maemo/main.c index 4ffd1ab..eb757f0 100644 --- a/maemo/main.c +++ b/maemo/main.c @@ -132,7 +132,7 @@ int main(int argc, char **argv) printf(_("Could not load CD-ROM!\n")); return -1; } - emu_on_new_cd(); + emu_on_new_cd(0); ready_to_go = 1; } } -- cgit v1.2.3 From e4c83ca67cf7ad13db3995909605ce01ff915824 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 13 Nov 2012 19:19:36 +0200 Subject: fix gun handling in enhancement mode --- maemo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'maemo/main.c') diff --git a/maemo/main.c b/maemo/main.c index eb757f0..24db87a 100644 --- a/maemo/main.c +++ b/maemo/main.c @@ -16,7 +16,7 @@ #include "plugin_lib.h" #include "../libpcsxcore/misc.h" #include "../libpcsxcore/new_dynarec/new_dynarec.h" -#include "../plugins/dfinput/main.h" +#include "../plugins/dfinput/externals.h" #include "maemo_common.h" int g_opts = OPT_SHOWFPS; -- cgit v1.2.3