fix movie command flags not actually being OR'd together

This commit is contained in:
Morilli 2025-02-14 08:56:19 +01:00
parent bec2329653
commit b756ffb1e6
1 changed files with 3 additions and 3 deletions

View File

@ -1429,11 +1429,11 @@ void DesmumeInputToReplayRec(const UserInput &inInput, MovieRecord &outRecord)
((inInput.buttons.E) ? (1 << 1) : 0);
if (inInput.buttons.F)
outRecord.commands = MOVIECMD_LID;
outRecord.commands |= MOVIECMD_LID;
if (movie_reset_command)
{
outRecord.commands = MOVIECMD_RESET;
outRecord.commands |= MOVIECMD_RESET;
movie_reset_command = false;
}
@ -1443,5 +1443,5 @@ void DesmumeInputToReplayRec(const UserInput &inInput, MovieRecord &outRecord)
outRecord.touch.micsample = MicSampleSelection;
if (inInput.mic.micButtonPressed != 0)
outRecord.commands = MOVIECMD_MIC;
outRecord.commands |= MOVIECMD_MIC;
}