Previous 199869 Revisions Next

r21060 Thursday 14th February, 2013 at 12:04:57 UTC by Fabio Priuli
(MESS) megadriv.c: this is what happens when you change the usage of a macro across the driver, but you still commit the older version of the macro itself!
previous macro was planned to be called through MD_ADDR(a<<1)/2 but was called through MD_ADDR(a) instead, so every kind of out of bound access was attempted...
clean build of megadrive components is required. no whatsnew.
[src/mess/machine]md_slot.h

trunk/src/mess/machine/md_slot.h
r21059r21060
55 TYPE DEFINITIONS
66 ***************************************************************************/
77
8#define MD_ADDR(a)  rom_bank_map[((a) / 0x10000) & 0x3f] * 0x10000 + ((a) & 0xffff)
8#define MD_ADDR(a)  (rom_bank_map[((a << 1) / 0x10000) & 0x3f] * 0x10000 + ((a << 1) & 0xffff))/2
99
1010/* PCB */
1111enum

Previous 199869 Revisions Next


© 1997-2024 The MAME Team