diff options
author | neonloop | 2023-01-15 18:33:44 +0000 |
---|---|---|
committer | neonloop | 2023-01-15 18:33:44 +0000 |
commit | 41bc724ebd2edbdded2a0e0b8c6aa144586d6ebd (patch) | |
tree | 42babeb7a5baf9ec0217482e07d2f28c4464d60e | |
parent | 798c44a8965e5533764edb9ccae05a5929b01512 (diff) | |
download | picoarch-41bc724ebd2edbdded2a0e0b8c6aa144586d6ebd.tar.gz picoarch-41bc724ebd2edbdded2a0e0b8c6aa144586d6ebd.tar.bz2 picoarch-41bc724ebd2edbdded2a0e0b8c6aa144586d6ebd.zip |
Fixes mame2000 vector games, changes mame2000 default to aspect
-rw-r--r-- | README.funkey-s.md | 1 | ||||
-rw-r--r-- | main.c | 3 | ||||
-rw-r--r-- | patches/mame2000/1002-reduce-vector-game-res.patch | 31 |
3 files changed, 19 insertions, 16 deletions
diff --git a/README.funkey-s.md b/README.funkey-s.md index b5a7154..8a8410e 100644 --- a/README.funkey-s.md +++ b/README.funkey-s.md @@ -25,6 +25,7 @@ All emulators have: - FunKey menu - fast-forward - soft scaling options +- START+button combo keybindings - per-game config - screenshots @@ -222,7 +222,8 @@ void set_defaults(void) scale_size = SCALE_SIZE_CROP; scale_filter = SCALE_FILTER_SMOOTH; - if (!strcmp(core_name, "gambatte")) { + if (!strcmp(core_name, "gambatte") || + !strcmp(core_name, "mame2000")) { scale_size = SCALE_SIZE_ASPECT; scale_filter = SCALE_FILTER_SMOOTH; } diff --git a/patches/mame2000/1002-reduce-vector-game-res.patch b/patches/mame2000/1002-reduce-vector-game-res.patch index 03103dc..cea7ecc 100644 --- a/patches/mame2000/1002-reduce-vector-game-res.patch +++ b/patches/mame2000/1002-reduce-vector-game-res.patch @@ -1,19 +1,5 @@ -diff --git a/src/libretro/libretro.c b/src/libretro/libretro.c -index 2f37f52..c58fceb 100644 ---- a/src/libretro/libretro.c -+++ b/src/libretro/libretro.c -@@ -948,6 +948,9 @@ bool retro_load_game(const struct retro_game_info *info) - /* skip disclaimer - skips 'nag screen' */ - options.skip_disclaimer = skip_disclaimer; - -+ options.vector_width = 320; -+ options.vector_height = 240; -+ - #if (HAS_CYCLONE || HAS_DRZ80) - int use_cyclone = 1; - int use_drz80 = 1; diff --git a/src/libretro/video.c b/src/libretro/video.c -index f97ac05..d947468 100644 +index bb42a8e..c0f6755 100644 --- a/src/libretro/video.c +++ b/src/libretro/video.c @@ -366,23 +366,13 @@ static void select_display_mode(int width,int height,int depth,int attributes,in @@ -45,3 +31,18 @@ index f97ac05..d947468 100644 } gp2x_set_video_mode(16,gfx_width,gfx_height); +diff --git a/src/mame.c b/src/mame.c +index 4d0cc3c..333a457 100644 +--- a/src/mame.c ++++ b/src/mame.c +@@ -64,8 +64,8 @@ int run_game(int game) +
+ if(!iOS_fixedRes)
+ {
+- options.vector_width = 640;
+- options.vector_height = 480;
++ options.vector_width = 320;
++ options.vector_height = 240;
+ }
+ else
+ {
|