libretro: Expose CD-ROM preload option

This commit is contained in:
Connor McLaughlin 2020-08-06 01:19:11 +10:00
parent d73692caf7
commit 2cc1fe9c02
1 changed files with 7 additions and 0 deletions

View File

@ -376,6 +376,13 @@ static std::array<retro_core_option_definition, 27> s_option_definitions = {{
"Reads CD-ROM sectors ahead asynchronously, reducing the risk of frame time spikes.", "Reads CD-ROM sectors ahead asynchronously, reducing the risk of frame time spikes.",
{{"true", "Enabled"}, {"false", "Disabled"}}, {{"true", "Enabled"}, {"false", "Disabled"}},
"true"}, "true"},
{"CDROM.LoadImageToRAM",
"Preload CD-ROM Image To RAM",
"Loads the disc image to RAM before starting emulation. May reduce hitching if you are running off a network share, "
"at a cost of a greater startup time. As libretro provides no way to draw overlays, the emulator will appear to "
"lock up while the image is preloaded.",
{{"true", "Enabled"}, {"false", "Disabled"}},
"false"},
{"CPU.ExecutionMode", {"CPU.ExecutionMode",
"CPU Execution Mode", "CPU Execution Mode",
"Which mode to use for CPU emulation. Recompiler provides the best performance.", "Which mode to use for CPU emulation. Recompiler provides the best performance.",