src/mess/drivers/lynx.c
| r3380 | r3381 | |
| 379 | 379 | { |
| 380 | 380 | /* 2008-10 FP: FIXME: .lyx file don't have an header, hence they miss "lynx_granularity" |
| 381 | 381 | (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; |
| 384 | 389 | } |
| 385 | 390 | |
| 386 | 391 | if (image_fread(image, rom, size) != size) |