core_timing: Allow configuring a fixed or random initial system tick value. (#7309)
* core_timing: Apply random base ticks value on startup. * core: Maintain consistent base system ticks in TAS movies. * frontend: Add setting to configure a fixed base system ticks value.
This commit is contained in:
		| @@ -215,6 +215,8 @@ void Config::ReadValues() { | ||||
|         } catch (...) { | ||||
|         } | ||||
|     } | ||||
|     ReadSetting("System", Settings::values.init_ticks_type); | ||||
|     ReadSetting("System", Settings::values.init_ticks_override); | ||||
|     ReadSetting("System", Settings::values.plugin_loader_enabled); | ||||
|     ReadSetting("System", Settings::values.allow_plugin_loader); | ||||
|  | ||||
|   | ||||
| @@ -288,6 +288,14 @@ init_clock = | ||||
| # Note: 3DS can only handle times later then Jan 1 2000 | ||||
| init_time = | ||||
|  | ||||
| # The system ticks count to use when citra starts | ||||
| # 0: Random (default), 1: Fixed | ||||
| init_ticks_type = | ||||
|  | ||||
| # Tick count to use when init_ticks_type is set to Fixed. | ||||
| # Defaults to 0. | ||||
| init_ticks_override = | ||||
|  | ||||
| # Plugin loader state, if enabled plugins will be loaded from the SD card. | ||||
| # You can also set if homebrew apps are allowed to enable the plugin loader | ||||
| plugin_loader = | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Steveice10
					Steveice10