summaryrefslogtreecommitdiff
path: root/src/common/settings.h
diff options
context:
space:
mode:
authorMonsterDruide1 <5958456@gmail.com>2021-06-18 16:20:10 +0200
committerMonsterDruide1 <5958456@gmail.com>2021-09-18 23:22:11 +0200
commitf25d6ebc45dc02904ef3ca6ad8efea9a0853d194 (patch)
tree45ad353f9b1a76e05cee0d9abe4a9642eaa9b3d0 /src/common/settings.h
parentb42c3ce21db249d5e3bc04b4f73202e757da317c (diff)
settings: File selector & other settings
First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit. Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script.
Diffstat (limited to 'src/common/settings.h')
-rw-r--r--src/common/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 29b888f10..884ea55f8 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -550,6 +550,9 @@ struct Values {
BasicSetting<bool> gamecard_current_game{false, "gamecard_current_game"};
BasicSetting<std::string> gamecard_path{std::string(), "gamecard_path"};
+ // TAS
+ bool pauseTasOnLoad;
+
// Debugging
bool record_frame_times;
BasicSetting<bool> use_gdbstub{false, "use_gdbstub"};