mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
Ignore the minor version number when checking for DRO v1 files
- There exist files where the first word of the version number for DRO v1 files is not 0 but something else completely. (Maybe it's not actually a version number?) Assume they are valid v1 files as long as the second word is a 1.
This commit is contained in:
parent
d430c18574
commit
0f7ad00d9a
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ fail: delete[] scoredata;
|
|||
else if (((DWORD *)scoredata)[0] == MAKE_ID('D','B','R','A') &&
|
||||
((DWORD *)scoredata)[1] == MAKE_ID('W','O','P','L'))
|
||||
{
|
||||
if (((DWORD *)scoredata)[2] == MAKE_ID(0,0,1,0))
|
||||
if (LittleShort(((WORD *)scoredata)[5]) == 1)
|
||||
{
|
||||
RawPlayer = DosBox1;
|
||||
SamplesPerTick = OPL_SAMPLE_RATE / 1000;
|
||||
|
|
Loading…
Reference in a new issue