mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-19 12:09:15 +01:00
Fix broken setting (that I broke).
This commit is contained in:
parent
3e6773970d
commit
dc44d7f42b
@ -218,8 +218,8 @@ bool save_general_config(const std::filesystem::path& path) {
|
|||||||
config_json["joystick_deadzone"] = recomp::get_joystick_deadzone();
|
config_json["joystick_deadzone"] = recomp::get_joystick_deadzone();
|
||||||
config_json["autosave_mode"] = zelda64::get_autosave_mode();
|
config_json["autosave_mode"] = zelda64::get_autosave_mode();
|
||||||
config_json["camera_invert_mode"] = zelda64::get_camera_invert_mode();
|
config_json["camera_invert_mode"] = zelda64::get_camera_invert_mode();
|
||||||
config_json["analog_cam_mode"] = zelda64::get_special_item_hud_mode();
|
config_json["analog_cam_mode"] = zelda64::get_analog_cam_mode();
|
||||||
config_json["special_item_hud_mode"] = zelda64::get_analog_cam_mode();
|
config_json["special_item_hud_mode"] = zelda64::get_special_item_hud_mode();
|
||||||
config_json["analog_camera_invert_mode"] = zelda64::get_analog_camera_invert_mode();
|
config_json["analog_camera_invert_mode"] = zelda64::get_analog_camera_invert_mode();
|
||||||
config_json["debug_mode"] = zelda64::get_debug_mode_enabled();
|
config_json["debug_mode"] = zelda64::get_debug_mode_enabled();
|
||||||
|
|
||||||
@ -235,6 +235,7 @@ void set_general_settings_from_json(const nlohmann::json& config_json) {
|
|||||||
recomp::set_joystick_deadzone(from_or_default(config_json, "joystick_deadzone", 5));
|
recomp::set_joystick_deadzone(from_or_default(config_json, "joystick_deadzone", 5));
|
||||||
zelda64::set_autosave_mode(from_or_default(config_json, "autosave_mode", zelda64::AutosaveMode::On));
|
zelda64::set_autosave_mode(from_or_default(config_json, "autosave_mode", zelda64::AutosaveMode::On));
|
||||||
zelda64::set_camera_invert_mode(from_or_default(config_json, "camera_invert_mode", zelda64::CameraInvertMode::InvertY));
|
zelda64::set_camera_invert_mode(from_or_default(config_json, "camera_invert_mode", zelda64::CameraInvertMode::InvertY));
|
||||||
|
zelda64::set_analog_cam_mode(from_or_default(config_json, "analog_cam_mode", zelda64::AnalogCamMode::Off));
|
||||||
zelda64::set_special_item_hud_mode(from_or_default(config_json, "special_item_hud_mode", zelda64::SpecialItemHudMode::On));
|
zelda64::set_special_item_hud_mode(from_or_default(config_json, "special_item_hud_mode", zelda64::SpecialItemHudMode::On));
|
||||||
zelda64::set_analog_camera_invert_mode(from_or_default(config_json, "analog_camera_invert_mode", zelda64::CameraInvertMode::InvertNone));
|
zelda64::set_analog_camera_invert_mode(from_or_default(config_json, "analog_camera_invert_mode", zelda64::CameraInvertMode::InvertNone));
|
||||||
zelda64::set_debug_mode_enabled(from_or_default(config_json, "debug_mode", false));
|
zelda64::set_debug_mode_enabled(from_or_default(config_json, "debug_mode", false));
|
||||||
|
Loading…
Reference in New Issue
Block a user