INTOPT("preferences/rtcEnabled",wxTRANSLATE("Enable RTC (vba-over.ini override is rtcEnabled"),rtcEnabled,0,1),
ENUMOPT("preferences/saveType",wxTRANSLATE("Native save (\"battery\") hardware type (vba-over.ini override is saveType integer 0-5)"),cpuSaveType,wxTRANSLATE("auto|eeprom|sram|flash|eeprom+sensor|none")),
INTOPT("preferences/useBiosGBA",wxTRANSLATE("Use the specified BIOS file"),useBiosFileGBA,0,1),
INTOPT("preferences/pauseWhenInactive",wxTRANSLATE("Pause game when main window loses focus"),pauseWhenInactive,0,1),
INTOPT("preferences/synchronize",wxTRANSLATE("Synchronize game to audio"),synchronize,0,1),
INTOPT("preferences/fsColorDepth",wxTRANSLATE("Fullscreen mode color depth (0 = any)"),fsColorDepth,0,999),
INTOPT("preferences/fsFrequency",wxTRANSLATE("Fullscreen mode frequency (0 = any)"),fsFrequency,0,999),
ENUMOPT("preferences/emulatorType",wxTRANSLATE("Type of system to emulate"),gbEmulatorType,wxTRANSLATE("auto|gba|gbc|sgb|sgb2|gb")),
INTOPT("preferences/gbFrameSkip",wxTRANSLATE("Skip frames. Values are 0-9 or -1 to skip automatically based on time."),gbFrameSkip,-1,9),
ENUMOPT("preferences/gbPaletteOption",wxTRANSLATE("The palette to use"),gbPaletteOption,wxTRANSLATE("default|user1|user2")),
//STROPT("preferences/romDirGB", wxTRANSLATE("Directory to look for ROM files"), wxString::FromUTF8(romDirGB)),
INTOPT("preferences/useBiosFileGB",wxTRANSLATE("Use the specified BIOS file for GB"),useBiosFileGB,0,1),
//STROPT("preferences/biosFileGBA", wxTRANSLATE("BIOS file to use, if enabled"), wxString::FromUTF8(biosFileNameGBA)),
ENUMOPT("preferences/flashSize",wxTRANSLATE("Flash size (kb) (vba-over.ini override is flashSize in bytes)"),optFlashSize,wxTRANSLATE("64|128")),
INTOPT("preferences/frameSkip",wxTRANSLATE("Skip frames. Values are 0-9 or -1 to skip automatically based on time."),frameSkip,-1,9),
//STROPT("preferences/romDirGBA", wxTRANSLATE("Directory to look for ROM files"), wxString::FromUTF8(romDirGBA)),
INTOPT("preferences/autoPatch",wxTRANSLATE("Apply IPS/UPS/IPF patches if found"),autoPatch,0,1),
//STROPT("preferences/batteryDir", wxTRANSLATE("Directory to store game save files (relative paths are relative to ROM; blank is config dir)"), wxString::FromUTF8(batteryDir)),
INTOPT("preferences/autoSaveCheatList",wxTRANSLATE("Automatically save and load cheat list"),autoSaveLoadCheatList,0,1),
//STROPT("preferences/aviRecordDir", wxTRANSLATE("Directory to store A/V and game recordings (relative paths are relative to ROM)"), wxString::FromUTF8(aviRecordDir)),
//STROPT("preferences/screenShotDir", wxTRANSLATE("Directory to store screenshots (relative paths are relative to ROM)"), wxString::FromUTF8(screenShotDir)),
INTOPT("preferences/throttle",wxTRANSLATE("Throttle game speed, even when accelerated (0-1000%, 0 = disabled)"),throttle,0,1000),
INTOPT("preferences/skipSaveGameBattery",wxTRANSLATE("Do not overwrite native (battery) save when loading state"),skipSaveGameBattery,0,1),
INTOPT("preferences/useBiosGBC",wxTRANSLATE("Use the specified BIOS file for GBC"),useBiosFileGBC,0,1),
//STROPT("preferences/saveDir", wxTRANSLATE("Directory to store saved state files (relative paths are relative to BatteryDir)"), wxString::FromUTF8(saveDir)),
//STROPT("preferences/biosFileGBC", wxTRANSLATE("BIOS file to use for GBC, if enabled"), wxString::FromUTF8(biosFileNameGBC)),
/// Display
BOOLOPT("Display/Bilinear",wxTRANSLATE("Use bilinear filter with 3d renderer"),gopts.bilinear),
ENUMOPT("Display/Filter",wxTRANSLATE("Full-screen filter to apply"),gopts.filter,
INTOPT("Display/MaxScale",wxTRANSLATE("Maximum scale factor (0 = no limit)"),gopts.max_scale,0,100),
INTOPT("Display/MaxThreads",wxTRANSLATE("Maximum number of threads to run filters in"),gopts.max_threads,1,8),
#ifdef __WXMSW__
ENUMOPT("Display/RenderMethod",wxTRANSLATE("Render method; if unsupported, simple method will be used"),gopts.render_method,wxTRANSLATE("simple|opengl|cairo|direct3d")),
...
...
@@ -152,36 +190,22 @@ opt_desc opts[] = {
ENUMOPT("Display/RenderMethod",wxTRANSLATE("Render method; if unsupported, simple method will be used"),gopts.render_method,wxTRANSLATE("simple|opengl|cairo")),
STROPT("GBA/ROMDir",wxTRANSLATE("Directory to look for ROM files"),gopts.gba_rom_dir),
ENUMOPT("GBA/SaveType",wxTRANSLATE("Native save (\"battery\") hardware type (vba-over.ini override is saveType integer 0-5)"),gopts.save_type,wxTRANSLATE("auto|eeprom|sram|flash|eeprom+sensor|none")),
BOOLOPT("GBA/UseBiosFile",wxTRANSLATE("Use the specified BIOS file"),gopts.gba_use_bios),
/// General
BOOLOPT("General/ApplyPatches",wxTRANSLATE("Apply IPS/UPS/IPF patches if found"),gopts.apply_patches),
BOOLOPT("General/AutoLoadLastState",wxTRANSLATE("Automatically load last saved state"),gopts.autoload_state),
BOOLOPT("General/AutoSaveCheatList",wxTRANSLATE("Automatically save and load cheat list"),gopts.autoload_cheats),
STROPT("General/BatteryDir",wxTRANSLATE("Directory to store game save files (relative paths are relative to ROM; blank is config dir)"),gopts.battery_dir),
STROPT("General/StateDir",wxTRANSLATE("Directory to store saved state files (relative paths are relative to BatteryDir)"),gopts.state_dir),
BOOLOPT("General/StateLoadNoBattery",wxTRANSLATE("Do not overwrite native (battery) save when loading state"),gopts.skipSaveGameBattery),
BOOLOPT("General/StateLoadNoCheat",wxTRANSLATE("Do not overwrite cheat list when loading state"),gopts.skipSaveGameCheats),
INTOPT("General/Throttle",wxTRANSLATE("Throttle game speed, even when accelerated (0-1000%, 0 = disabled)"),gopts.throttle,0,1000),
/// Joypad
{wxT("Joypad/*/*"),wxTRANSLATE("The parameter Joypad/<n>/<button> contains a comma-separated list of key names which map to joypad #<n> button <button>. Button is one of Up, Down, Left, Right, A, B, L, R, Select, Start, MotionUp, MotionDown, MotionLeft, MotionRight, AutoA, AutoB, Speed, Capture, GS")},