mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
From: Barry Rodewald [mailto:bsr@xnet.co.nz]
Subject: INP fix for 0.123 Hi, Here's a quick fix for MAME 0.123, correcting the initial detection of extended INP files. Thanks, Barry Rodewald
This commit is contained in:
parent
aebd83fb6e
commit
72dbde5ef6
@ -1167,7 +1167,7 @@ static void setup_playback(running_machine *machine)
|
||||
|
||||
/* Check if input file is an eXtended INP file */
|
||||
extended_inp = (memcmp(check, "XINP\0\0\0", 7) == 0);
|
||||
if (extended_inp)
|
||||
if (!extended_inp)
|
||||
{
|
||||
/* read playback header */
|
||||
mame_fread(machine->playback_file, &inpheader, sizeof(inpheader));
|
||||
|
Loading…
Reference in New Issue
Block a user