trunk/src/mess/drivers/ngp.c
| r18559 | r18560 | |
| 655 | 655 | { |
| 656 | 656 | filesize = image.length(); |
| 657 | 657 | |
| 658 | | if (filesize != 0x80000 && filesize != 0x100000 && filesize != 0x200000 && filesize != 0x400000) |
| 658 | if (filesize != 0x8000 && filesize != 0x80000 && filesize != 0x100000 && filesize != 0x200000 && filesize != 0x400000) |
| 659 | 659 | { |
| 660 | 660 | image.seterror(IMAGE_ERROR_UNSPECIFIED, "Incorrect or not support cartridge size"); |
| 661 | 661 | return IMAGE_INIT_FAIL; |
| r18559 | r18560 | |
| 678 | 678 | state->m_flash_chip[0].manufacturer_id = 0x98; |
| 679 | 679 | switch( filesize ) |
| 680 | 680 | { |
| 681 | case 0x8000: |
| 681 | 682 | case 0x80000: |
| 682 | 683 | state->m_flash_chip[0].device_id = 0xab; |
| 683 | 684 | break; |