| Previous | 15994 Revisions | Next |
| r10352 Wednesday 9th February, 2011 at 22:08:51 UTC by Michael Zapf |
|---|
| Fixed crash when GK cartridge mode is selected and no GK module has been plugged in |
| [src/mess/machine/ti99] | gromport.c |
| r10351 | r10352 | |
|---|---|---|
| 1889 | 1889 | // Not null, since this is only called when there is really a GK module |
| 1890 | 1890 | gromkrackerbox = &cartslots->cartridge[cartslots->gk_slot]; |
| 1891 | 1891 | |
| 1892 | // In case the GramKracker is not plugged in | |
| 1893 | if (gromkrackerbox->ram_ptr == NULL) | |
| 1894 | return; | |
| 1895 | ||
| 1892 | 1896 | if ((gromkrackerbox->grom_address & 0xe000) == 0x0000) |
| 1893 | 1897 | { |
| 1894 | 1898 | // GRAM 0. Only return a value if switch 2 is in GRAM0 position. |
| Previous | 15994 Revisions | Next |