Commit 557b7bd6 authored by James's avatar James
Browse files

Update to latest upstream version

- Audio core mechanics have been changed
- Framerate limiter now allows for custom target speed
- Other internal changes
parent 87843927
......@@ -5,7 +5,6 @@
#include <list>
#include <numeric>
#include <libretro.h>
#include "audio_core/audio_core.h"
#include "audio_core/libretro_sink.h"
#include "common/assert.h"
#include "common/logging/log.h"
......
......@@ -67,6 +67,7 @@ void LibRetro::OnConfigureEnvironment() {
"Right analog function; C-Stick and Touchscreen Pointer|Touchscreen Pointer|C-Stick"},
{"citra_deadzone", "Emulated pointer deadzone (%); 15|20|25|30|35|0|5|10"},
{"citra_limit_framerate", "Enable frame limiter; enabled|disabled"},
{"citra_limit_framerate_target", "Frame limiter target (% of full speed); 100|110|120|130|140|150|200|250|300|350|400|450|500|50|80|90"},
{"citra_audio_stretching", "Enable audio stretching; enabled|disabled"},
{"citra_use_virtual_sd", "Enable virtual SD card; enabled|disabled"},
{"citra_use_libretro_save_path", "Savegame location; Citra Default|LibRetro Default"},
......@@ -137,8 +138,10 @@ void UpdateSettings(bool init) {
LibRetro::FetchVariable("citra_use_shader_jit", "enabled") == "enabled";
Settings::values.enable_audio_stretching =
LibRetro::FetchVariable("citra_audio_stretching", "enabled") == "enabled";
Settings::values.toggle_framelimit =
Settings::values.use_frame_limit =
LibRetro::FetchVariable("citra_limit_framerate", "enabled") == "enabled";
auto framerate_target = LibRetro::FetchVariable("citra_limit_framerate_target", "100");
Settings::values.frame_limit = static_cast<u16>(std::stoi(framerate_target));
Settings::values.use_virtual_sd =
LibRetro::FetchVariable("citra_use_virtual_sd", "enabled") == "enabled";
Settings::values.is_new_3ds =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment