mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Add Tick Count to Movie Files
Added tick count to .dtm movie files for more accurate time calculations
This commit is contained in:
@ -64,6 +64,7 @@ extern u64 g_currentByte, g_totalBytes;
|
||||
extern u64 g_currentFrame, g_totalFrames;
|
||||
extern u64 g_currentLagCount, g_totalLagCount;
|
||||
extern u64 g_currentInputCount, g_totalInputCount;
|
||||
extern u64 g_currentTickCount, g_totalTickCount, g_tickCountAtLastInput;
|
||||
extern std::string g_discChange;
|
||||
|
||||
extern u32 g_rerecords;
|
||||
@ -116,7 +117,8 @@ struct DTMHeader
|
||||
u8 revision[20]; // Git hash
|
||||
u32 DSPiromHash;
|
||||
u32 DSPcoefHash;
|
||||
u8 reserved2[19]; // Make heading 256 bytes, just because we can
|
||||
u64 tickCount; // Number of ticks in the recording
|
||||
u8 reserved2[11]; // Make heading 256 bytes, just because we can
|
||||
};
|
||||
static_assert(sizeof(DTMHeader) == 256, "DTMHeader should be 256 bytes");
|
||||
|
||||
|
Reference in New Issue
Block a user