Skip to content

Commit

Permalink
Merge pull request libretro#295 from bslenul/fast-disc
Browse files Browse the repository at this point in the history
Expose the "Speed Up Disc Transfer Rate" option
  • Loading branch information
LibretroAdmin authored Dec 7, 2022
2 parents 44394ce + 8b9a7f1 commit 0df1b5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/DolphinLibretro/Boot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ bool retro_load_game(const struct retro_game_info* game)
SConfig::GetInstance().m_WiimoteContinuousScanning = Libretro::Options::WiimoteContinuousScanning;
SConfig::GetInstance().bEnableCheats = Libretro::Options::cheatsEnabled;
SConfig::GetInstance().bOnScreenDisplayMessages = Libretro::Options::osdEnabled;
SConfig::GetInstance().bFastDiscSpeed = Libretro::Options::fastDiscSpeed;

Config::SetBase(Config::SYSCONF_LANGUAGE, (u32)(DiscIO::Language)Libretro::Options::Language);
Config::SetBase(Config::SYSCONF_WIDESCREEN, Libretro::Options::Widescreen);
Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinLibretro/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ Option<float> EmulationSpeed("dolphin_emulation_speed", "Emulation Speed",
{{"unlimited", 0.0},
{"100%", 1.0}});
Option<bool> fastmem("dolphin_fastmem", "Fastmem", true);
Option<bool> fastDiscSpeed("dolphin_fast_disc_speed", "Speed Up Disc Transfer Rate", false);
Option<int> irMode("dolphin_ir_mode", "Wiimote IR Mode", 1,
{"Right Stick controls pointer (relative)",
"Right Stick controls pointer (absolute)",
Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinLibretro/Options.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ extern Option<PowerPC::CPUCore> cpu_core;
extern Option<float> cpuClockRate;
extern Option<float> EmulationSpeed;
extern Option<bool> fastmem;
extern Option<bool> fastDiscSpeed;
extern Option<int> irMode;
extern Option<int> irCenter;
extern Option<int> irWidth;
Expand Down

0 comments on commit 0df1b5b

Please sign in to comment.