Skip to content

Commit

Permalink
Test A Possible Fix (amadvance#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadez2003 authored Apr 10, 2024
1 parent 078df50 commit ffc3984
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/drivers/pacman.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ MACHINE_RESET( mschamp )

MACHINE_RESET( mspactwin )
{
#if 0 /* missing memory_set_opcode_base */
static UINT8 firstrun = 0;
static UINT8 *decrypted_opcodes;
static UINT8 data_holder[0xc000];
Expand Down Expand Up @@ -389,11 +388,10 @@ MACHINE_RESET( mspactwin )
rom[0x6000+A+1] = BITSWAP8(rom[0x6000+A+1] ^ 0xA3, 2, 4, 6, 3, 7, 0, 5, 1);
}
firstrun=1;
memory_set_opcode_base(0,decrypted_opcodes);
memory_set_decrypted_region(0,0,0,decrypted_opcodes);
}
else
memory_set_opcode_base(0,decrypted_opcodes);
#endif
memory_set_decrypted_region(0,0,0,decrypted_opcodes);
}

/*************************************
Expand Down

0 comments on commit ffc3984

Please sign in to comment.