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

src/mess/machine/ti99/gromport.c
r10351r10352
18891889   // Not null, since this is only called when there is really a GK module
18901890   gromkrackerbox = &cartslots->cartridge[cartslots->gk_slot];
18911891
1892   // In case the GramKracker is not plugged in
1893   if (gromkrackerbox->ram_ptr == NULL)
1894      return;
1895
18921896   if ((gromkrackerbox->grom_address & 0xe000) == 0x0000)
18931897   {
18941898      // GRAM 0. Only return a value if switch 2 is in GRAM0 position.

Previous 15994 Revisions Next


© 1998-2018 The MESS Team