| Previous | 15994 Revisions | Next |
| r8339 Monday 28th June, 2010 at 11:11:38 UTC by Miodrag Milanović |
|---|
| Fix for TI99/8 regression |
| [src/mess/machine] | ti99_4x.c |
| r8338 | r8339 | |
|---|---|---|
| 2744 | 2744 | mapper_reg = ti99_8_mapper_regs[page]; |
| 2745 | 2745 | offset = (mapper_reg + (offset & 0x0fff)) & 0x00ffffff; |
| 2746 | 2746 | |
| 2747 | if (offset < 0x010000) | |
| 2748 | /* Read RAM */ | |
| 2749 | reply = xRAM_ptr_8[offset]; | |
| 2747 | if (offset < 0x010000) { | |
| 2748 | UINT8 *mem = memory_region(space->machine, "maincpu")+ offset_xram_8; | |
| 2749 | /* Read RAM */ | |
| 2750 | reply = mem[offset]; | |
| 2751 | } | |
| 2750 | 2752 | |
| 2751 | 2753 | if (offset >= 0xff0000) |
| 2752 | 2754 | { |
| Previous | 15994 Revisions | Next |