X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro_core_options.h;h=8379ade95a8a37f672ba74edcf5d18c82b2c9c76;hb=44e76f8ad4944acfc109baf89beda7b723f8a209;hp=38169c45a11bad5fec1c13d4d4b932ade8671c32;hpb=fdcde643ebe281e5cb71b2a4280a8db6103a4c12;p=pcsx_rearmed.git diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h index 38169c45..8379ade9 100644 --- a/frontend/libretro_core_options.h +++ b/frontend/libretro_core_options.h @@ -435,6 +435,51 @@ 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 uneven 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" }, + { "borderless", "Borderless" }, + { "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 +795,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 +810,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 +855,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", { @@ -915,6 +960,226 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, "1.00", }, + { + "pcsx_rearmed_crosshair1", + "Player 1 Lightgun Crosshair", + NULL, + "Toggle player 1's crosshair for the Guncon or Konami Gun", + NULL, + "input", + { + { "disabled", NULL }, + { "blue", NULL }, + { "green", NULL }, + { "red", NULL }, + { "white", NULL }, + { NULL, NULL }, + }, + "disabled", + }, + { + "pcsx_rearmed_crosshair2", + "Player 2 Lightgun Crosshair", + NULL, + "Toggle player 2's crosshair for the Guncon or Konami Gun", + NULL, + "input", + { + { "disabled", NULL }, + { "blue", NULL }, + { "green", NULL }, + { "red", NULL }, + { "white", NULL }, + { NULL, NULL }, + }, + "disabled", + }, + { + "pcsx_rearmed_konamigunadjustx", + "Konami Gun X Axis Offset", + NULL, + "Apply an X axis offset to light gun input when emulating a Konami Gun (Hyper Blaster / Justifier) device. Can be used to correct aiming misalignments.", + NULL, + "input", + { + { "-40", NULL }, + { "-39", NULL }, + { "-38", NULL }, + { "-37", NULL }, + { "-36", NULL }, + { "-35", NULL }, + { "-34", NULL }, + { "-33", NULL }, + { "-32", NULL }, + { "-31", NULL }, + { "-30", NULL }, + { "-29", NULL }, + { "-28", NULL }, + { "-27", NULL }, + { "-26", NULL }, + { "-25", NULL }, + { "-24", NULL }, + { "-23", NULL }, + { "-22", NULL }, + { "-21", NULL }, + { "-20", NULL }, + { "-19", NULL }, + { "-18", NULL }, + { "-17", NULL }, + { "-16", NULL }, + { "-15", NULL }, + { "-14", NULL }, + { "-13", NULL }, + { "-12", NULL }, + { "-11", NULL }, + { "-10", NULL }, + { "-9", NULL }, + { "-8", NULL }, + { "-7", NULL }, + { "-6", NULL }, + { "-5", NULL }, + { "-4", NULL }, + { "-3", NULL }, + { "-2", NULL }, + { "-1", NULL }, + { "0", NULL }, + { "1", NULL }, + { "2", NULL }, + { "3", NULL }, + { "4", NULL }, + { "5", NULL }, + { "6", NULL }, + { "7", NULL }, + { "8", NULL }, + { "9", NULL }, + { "10", NULL }, + { "11", NULL }, + { "12", NULL }, + { "13", NULL }, + { "14", NULL }, + { "15", NULL }, + { "16", NULL }, + { "17", NULL }, + { "18", NULL }, + { "19", NULL }, + { "20", NULL }, + { "21", NULL }, + { "22", NULL }, + { "23", NULL }, + { "24", NULL }, + { "25", NULL }, + { "26", NULL }, + { "27", NULL }, + { "28", NULL }, + { "29", NULL }, + { "30", NULL }, + { "31", NULL }, + { "32", NULL }, + { "33", NULL }, + { "34", NULL }, + { "35", NULL }, + { "36", NULL }, + { "37", NULL }, + { "38", NULL }, + { "39", NULL }, + { "40", NULL }, + { NULL, NULL }, + }, + "0", + }, + { + "pcsx_rearmed_konamigunadjusty", + "Konami Gun Y Axis Offset", + NULL, + "Apply a Y axis offset to light gun input when emulating a Konami Gun (Hyper Blaster / Justifier) device. Can be used to correct aiming misalignments.", + NULL, + "input", + { + { "-40", NULL }, + { "-39", NULL }, + { "-38", NULL }, + { "-37", NULL }, + { "-36", NULL }, + { "-35", NULL }, + { "-34", NULL }, + { "-33", NULL }, + { "-32", NULL }, + { "-31", NULL }, + { "-30", NULL }, + { "-29", NULL }, + { "-28", NULL }, + { "-27", NULL }, + { "-26", NULL }, + { "-25", NULL }, + { "-24", NULL }, + { "-23", NULL }, + { "-22", NULL }, + { "-21", NULL }, + { "-20", NULL }, + { "-19", NULL }, + { "-18", NULL }, + { "-17", NULL }, + { "-16", NULL }, + { "-15", NULL }, + { "-14", NULL }, + { "-13", NULL }, + { "-12", NULL }, + { "-11", NULL }, + { "-10", NULL }, + { "-9", NULL }, + { "-8", NULL }, + { "-7", NULL }, + { "-6", NULL }, + { "-5", NULL }, + { "-4", NULL }, + { "-3", NULL }, + { "-2", NULL }, + { "-1", NULL }, + { "0", NULL }, + { "1", NULL }, + { "2", NULL }, + { "3", NULL }, + { "4", NULL }, + { "5", NULL }, + { "6", NULL }, + { "7", NULL }, + { "8", NULL }, + { "9", NULL }, + { "10", NULL }, + { "11", NULL }, + { "12", NULL }, + { "13", NULL }, + { "14", NULL }, + { "15", NULL }, + { "16", NULL }, + { "17", NULL }, + { "18", NULL }, + { "19", NULL }, + { "20", NULL }, + { "21", NULL }, + { "22", NULL }, + { "23", NULL }, + { "24", NULL }, + { "25", NULL }, + { "26", NULL }, + { "27", NULL }, + { "28", NULL }, + { "29", NULL }, + { "30", NULL }, + { "31", NULL }, + { "32", NULL }, + { "33", NULL }, + { "34", NULL }, + { "35", NULL }, + { "36", NULL }, + { "37", NULL }, + { "38", NULL }, + { "39", NULL }, + { "40", NULL }, + { NULL, NULL }, + }, + "0", + }, { "pcsx_rearmed_gunconadjustx", "Guncon X Axis Offset", @@ -923,6 +1188,21 @@ struct retro_core_option_v2_definition option_defs_us[] = { NULL, "input", { + { "-40", NULL }, + { "-39", NULL }, + { "-38", NULL }, + { "-37", NULL }, + { "-36", NULL }, + { "-35", NULL }, + { "-34", NULL }, + { "-33", NULL }, + { "-32", NULL }, + { "-31", NULL }, + { "-30", NULL }, + { "-29", NULL }, + { "-28", NULL }, + { "-27", NULL }, + { "-26", NULL }, { "-25", NULL }, { "-24", NULL }, { "-23", NULL }, @@ -974,6 +1254,21 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "23", NULL }, { "24", NULL }, { "25", NULL }, + { "26", NULL }, + { "27", NULL }, + { "28", NULL }, + { "29", NULL }, + { "30", NULL }, + { "31", NULL }, + { "32", NULL }, + { "33", NULL }, + { "34", NULL }, + { "35", NULL }, + { "36", NULL }, + { "37", NULL }, + { "38", NULL }, + { "39", NULL }, + { "40", NULL }, { NULL, NULL }, }, "0", @@ -986,6 +1281,21 @@ struct retro_core_option_v2_definition option_defs_us[] = { NULL, "input", { + { "-40", NULL }, + { "-39", NULL }, + { "-38", NULL }, + { "-37", NULL }, + { "-36", NULL }, + { "-35", NULL }, + { "-34", NULL }, + { "-33", NULL }, + { "-32", NULL }, + { "-31", NULL }, + { "-30", NULL }, + { "-29", NULL }, + { "-28", NULL }, + { "-27", NULL }, + { "-26", NULL }, { "-25", NULL }, { "-24", NULL }, { "-23", NULL }, @@ -1037,6 +1347,21 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "23", NULL }, { "24", NULL }, { "25", NULL }, + { "26", NULL }, + { "27", NULL }, + { "28", NULL }, + { "29", NULL }, + { "30", NULL }, + { "31", NULL }, + { "32", NULL }, + { "33", NULL }, + { "34", NULL }, + { "35", NULL }, + { "36", NULL }, + { "37", NULL }, + { "38", NULL }, + { "39", NULL }, + { "40", NULL }, { NULL, NULL }, }, "0", @@ -1171,7 +1496,21 @@ struct retro_core_option_v2_definition option_defs_us[] = { "pcsx_rearmed_icache_emulation", "Instruction Cache Emulation", NULL, - "Enable emulation of the PSX CPU instruction cache. Improves accuracy at the expense of increased performance overheads. Required for Formula One 2001, Formula One Arcade and Formula One 99. [Interpreter only and partial on lightrec, unsupported when using ARMv7 backend]", + "Enable emulation of the PSX CPU instruction cache. Improves accuracy at the expense of increased performance overheads. Required for Formula One 2001, Formula One Arcade and Formula One 99. [Interpreter only; partial on lightrec and ARM dynarecs]", + NULL, + "compat_hack", + { + { "enabled", NULL }, + { "disabled", NULL }, + { NULL, NULL }, + }, + "enabled", + }, + { + "pcsx_rearmed_exception_emulation", + "Exception and Breakpoint Emulation", + NULL, + "Enable emulation of some almost never used PSX's debug features. This causes a performance hit, is not useful for games and is intended for PSX homebrew and romhack developers only. Only enable if you know what you are doing. [Interpreter only]", NULL, "compat_hack", {