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:
Aaron Giles 2008-02-05 17:23:24 +00:00
parent aebd83fb6e
commit 72dbde5ef6

View File

@ -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));