The read-only movie flag now taken into account for save states. Fixes Issue 4463.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7674 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
baby.lueshi
2011-07-11 20:15:05 +00:00
parent 2b9b4a3306
commit ebce13fba7
3 changed files with 98 additions and 60 deletions

View File

@ -87,7 +87,11 @@ struct DTMHeader {
u8 audioEmulator[16]; // UTF-8 representation of the audio emulator
u8 padBackend[16]; // UTF-8 representation of the input backend
u8 reserved[127]; // Make heading 256 bytes, just because we can
// only used in read-only savestates
u64 frameStart; // Offset to resume playback on
u64 totalFrameCount; // Total frames, same as normal dtm's frameCount
u8 reserved[111]; // Make heading 256 bytes, just because we can
};
#pragma pack(pop)
@ -100,11 +104,12 @@ bool IsAutoFiring();
bool IsRecordingInput();
bool IsRecordingInputFromSaveState();
bool IsPlayingInput();
bool IsReadOnly();
bool IsUsingPad(int controller);
bool IsUsingWiimote(int wiimote);
void ChangePads(bool instantly = false);
void ChangeWiiPads();
void ChangeWiiPads(bool instantly = false);
void SetFrameStepping(bool bEnabled);
void SetFrameStopping(bool bEnabled);