| 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 |
| r21059 | r21060 | |
|---|---|---|
| 5 | 5 | TYPE DEFINITIONS |
| 6 | 6 | ***************************************************************************/ |
| 7 | 7 | |
| 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 | |
| 9 | 9 | |
| 10 | 10 | /* PCB */ |
| 11 | 11 | enum |
| Previous | 199869 Revisions | Next |