add specified cue flags to existing data flag, don't overwrite it
This commit is contained in:
parent
377f8e8b1c
commit
b7c5fa84e1
|
@ -435,8 +435,9 @@ namespace BizHawk.Emulation.DiscSystem
|
||||||
{
|
{
|
||||||
if (curr_track == null)
|
if (curr_track == null)
|
||||||
Warn("Ignoring invalid flag commands outside of a track command");
|
Warn("Ignoring invalid flag commands outside of a track command");
|
||||||
else
|
else
|
||||||
curr_track.Flags = (cmd as CueFile.Command.FLAGS).Flags;
|
//take care to |= it here, so the data flag doesn't get cleared
|
||||||
|
curr_track.Flags |= (cmd as CueFile.Command.FLAGS).Flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd is CueFile.Command.TRACK)
|
if (cmd is CueFile.Command.TRACK)
|
||||||
|
|
Loading…
Reference in New Issue