summaryrefslogtreecommitdiffstats
path: root/src/input_common/tas/tas_input.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-06-26 17:38:39 +0200
committerMonsterDruide1 <5958456@gmail.com>2021-09-18 23:22:42 +0200
commit9bb6580d89efb76534d9395bc052459d5f58e7c4 (patch)
treeaab812da6162e4f9ac305c80e245409d2781d8a2 /src/input_common/tas/tas_input.h
parentinput_common/tas: Fallback to simple update (diff)
downloadyuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.tar
yuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.tar.gz
yuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.tar.bz2
yuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.tar.lz
yuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.tar.xz
yuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.tar.zst
yuzu-9bb6580d89efb76534d9395bc052459d5f58e7c4.zip
Diffstat (limited to 'src/input_common/tas/tas_input.h')
-rw-r--r--src/input_common/tas/tas_input.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/tas/tas_input.h b/src/input_common/tas/tas_input.h
index e011e559e..e0462e858 100644
--- a/src/input_common/tas/tas_input.h
+++ b/src/input_common/tas/tas_input.h
@@ -68,7 +68,8 @@ public:
void StartStop();
void Reset();
- void Record();
+ bool Record();
+ void SaveRecording(bool overwrite_file);
/**
* Returns the current status values of TAS playback/recording
@@ -90,7 +91,7 @@ private:
};
void LoadTasFiles();
void LoadTasFile(size_t player_index);
- void WriteTasFile();
+ void WriteTasFile(std::string file_name);
TasAnalog ReadCommandAxis(const std::string& line) const;
u32 ReadCommandButtons(const std::string& line) const;
std::string WriteCommandButtons(u32 data) const;
@@ -106,7 +107,6 @@ private:
size_t script_length{0};
std::array<TasData, PLAYER_NUMBER> tas_data;
- bool refresh_tas_fle{false};
bool is_recording{false};
bool is_running{false};
bool needs_reset{false};