fix movie command flags not actually being OR'd together
This commit is contained in:
parent
bec2329653
commit
b756ffb1e6
|
@ -1429,11 +1429,11 @@ void DesmumeInputToReplayRec(const UserInput &inInput, MovieRecord &outRecord)
|
||||||
((inInput.buttons.E) ? (1 << 1) : 0);
|
((inInput.buttons.E) ? (1 << 1) : 0);
|
||||||
|
|
||||||
if (inInput.buttons.F)
|
if (inInput.buttons.F)
|
||||||
outRecord.commands = MOVIECMD_LID;
|
outRecord.commands |= MOVIECMD_LID;
|
||||||
|
|
||||||
if (movie_reset_command)
|
if (movie_reset_command)
|
||||||
{
|
{
|
||||||
outRecord.commands = MOVIECMD_RESET;
|
outRecord.commands |= MOVIECMD_RESET;
|
||||||
movie_reset_command = false;
|
movie_reset_command = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1443,5 +1443,5 @@ void DesmumeInputToReplayRec(const UserInput &inInput, MovieRecord &outRecord)
|
||||||
outRecord.touch.micsample = MicSampleSelection;
|
outRecord.touch.micsample = MicSampleSelection;
|
||||||
|
|
||||||
if (inInput.mic.micButtonPressed != 0)
|
if (inInput.mic.micButtonPressed != 0)
|
||||||
outRecord.commands = MOVIECMD_MIC;
|
outRecord.commands |= MOVIECMD_MIC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue