Previous 15994 Revisions Next

r3381 Saturday 4th October, 2008 at 18:37:06 UTC by Fabio Priuli
[LYNX] Improved .lyx support
[src/mess/drivers]lynx.c

src/mess/drivers/lynx.c
r3380r3381
379379   {
380380      /* 2008-10 FP: FIXME: .lyx file don't have an header, hence they miss "lynx_granularity"
381381      (see above). What if bank 0 has to be loaded elsewhere? And what about bank 1?
382      This should work with most .lyx files, but we need additional info on raw cart images */
383      lynx_granularity = 0x0400;
382      These should work with most .lyx files, but we need additional info on raw cart images */
383      if (size == 0x20000)
384         lynx_granularity = 0x0200;
385      else if (size == 0x80000)
386         lynx_granularity = 0x0800;
387      else
388         lynx_granularity = 0x0400;
384389   }
385390
386391   if (image_fread(image, rom, size) != size)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team