X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro_core_options.h;h=8e746805e8bb40e759d57c8f89bf4ddefe7877b5;hb=f6eb0b1c75fd9103a1ad18aed5d00aa0c41fa24e;hp=781c514b368e8d94d55258a55dc35607f8c602e2;hpb=bc7c5acb6eb1ac9adc6b4381a2c2b2baffd5aebe;p=pcsx_rearmed.git diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h index 781c514b..8e746805 100644 --- a/frontend/libretro_core_options.h +++ b/frontend/libretro_core_options.h @@ -435,6 +435,50 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, "auto", }, + { + "pcsx_rearmed_screen_centering", + "(GPU) Screen centering", + NULL, + "The PSX has a feature allowing it to shift the image position on screen. Some (mostly PAL) games used this feature in a strange way making the image miscentered and causing borders to appear. With 'Auto' the emulator tries to correct this miscentering automatically. 'Game-controlled' uses the settings supplied by the game. 'Manual' allows to override those values with the settings below.", + NULL, + "video", + { + { "auto", "Auto" }, + { "game", "Game-controlled" }, + { "manual", "Manual" }, + { NULL, NULL }, + }, + "auto", + }, +#define V(x) { #x, NULL } + { + "pcsx_rearmed_screen_centering_x", + "(GPU) Manual screen centering X", + NULL, + "X offset of the frame buffer. Only effective when 'Screen centering' is set to 'Manual'.", + NULL, + "video", + { + V(-16), V(-14), V(-12), V(-10), V(-8), V(-6), V(-4), V(-2), V(0), V(2), V(4), V(6), V(8), V(10), V(12), V(14), V(16), + { NULL, NULL }, + }, + "0", + }, + { + "pcsx_rearmed_screen_centering_y", + "(GPU) Manual screen centering Y", + NULL, + "Y offset of the frame buffer. Only effective when 'Screen centering' is set to 'Manual'.", + NULL, + "video", + { + V(-16), V(-15), V(-14), V(-13), V(-12), V(-11), V(-10), V(-9), V(-8), V(-7), V(-6), V(-5), V(-4), V(-3), V(-2), V(-1), + V(0), V(1), V(2), V(3), V(4), V(5), V(6), V(7), V(8), V(9), V(10), V(11), V(12), V(13), V(14), V(15), V(16), + { NULL, NULL }, + }, + "0", + }, +#undef V #ifdef GPU_NEON { "pcsx_rearmed_neon_interlace_enable_v2", @@ -750,7 +794,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, "enabled", }, -#if !defined(THREAD_ENABLED) && !defined(_WIN32) && !defined(NO_OS) +#if P_HAVE_PTHREAD { "pcsx_rearmed_spu_thread", "Threaded SPU", @@ -765,7 +809,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, "disabled", }, -#endif // THREAD_ENABLED +#endif // P_HAVE_PTHREAD { "pcsx_rearmed_show_input_settings", "Show Input Settings", @@ -810,9 +854,9 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, { "pcsx_rearmed_multitap", - "Multitap Mode (Restart)", + "Multitap Mode", NULL, - "Connect a virtual PSX Multitap peripheral to either controller 'Port 1' or controller 'Port 2' for 5 player simultaneous input, or to both 'Ports 1 and 2' for 8 player input. Mutlitap usage requires compatible games. To avoid input defects, option should be disabled when running games that have no support for Multitap features.", + "Connect a virtual PSX Multitap peripheral to either controller 'Port 1' or controller 'Port 2' for 5 player simultaneous input, or to both 'Ports 1 and 2' for 8 player input. Mutlitap usage requires compatible games.", NULL, "input", {