citra_qt: Add indicator in status bar
Since we do not have an overlay yet, it can be confusing whether movie is being recorded or played. This makes it clear. Status messages (e.g. system archive missing) will be overriden, but that shouldn't be too important when recording movies. Doubled the status bar updating frequency to provide a better experience. It now updates every second.
This commit is contained in:
parent
113e0c7331
commit
fb14bd956a
4 changed files with 61 additions and 17 deletions
|
@ -123,6 +123,9 @@ public:
|
|||
bool IsPlayingInput() const;
|
||||
bool IsRecordingInput() const;
|
||||
|
||||
u64 GetCurrentInputIndex() const;
|
||||
u64 GetTotalInputCount() const;
|
||||
|
||||
private:
|
||||
static Movie s_instance;
|
||||
|
||||
|
@ -159,6 +162,9 @@ private:
|
|||
|
||||
std::vector<u8> recorded_input;
|
||||
std::size_t current_byte = 0;
|
||||
u64 current_input = 0;
|
||||
// Total input count of the current movie being played. Not used for recording.
|
||||
u64 total_input = 0;
|
||||
|
||||
u64 id = 0; // ID of the current movie loaded
|
||||
u64 init_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue