diff options
Diffstat (limited to 'maemo/main.c')
-rw-r--r-- | maemo/main.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/maemo/main.c b/maemo/main.c index 2da693d..24db87a 100644 --- a/maemo/main.c +++ b/maemo/main.c @@ -16,11 +16,14 @@ #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; 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(); @@ -126,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; } } |