src/mess/drivers/sms.c
| r2592 | r2593 | |
| 524 | 524 | SYSTEM_CONFIG_END |
| 525 | 525 | |
| 526 | 526 | |
| 527 | | SYSTEM_CONFIG_EXTERN(sg1000) |
| 527 | static void sg1000m3_cartslot_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info) { |
| 528 | /* cartslot */ |
| 529 | switch(state) { |
| 530 | case MESS_DEVINFO_INT_MUST_BE_LOADED: info->i = 1; break; |
| 531 | default: sms_cartslot_getinfo(devclass, state, info); break; |
| 532 | } |
| 533 | } |
| 528 | 534 | |
| 535 | SYSTEM_CONFIG_START(sg1000m3) |
| 536 | CONFIG_DEVICE(sg1000m3_cartslot_getinfo) |
| 537 | SYSTEM_CONFIG_END |
| 538 | |
| 529 | 539 | static void smssdisp_cartslot_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info) { |
| 530 | 540 | switch(state) { |
| 531 | 541 | case MESS_DEVINFO_INT_COUNT: info->i = 5; break; |
| r2592 | r2593 | |
| 601 | 611 | ***************************************************************************/ |
| 602 | 612 | |
| 603 | 613 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 604 | | CONS( 1984, sg1000m3, sms, 0, smsfm, sms, 0, sg1000, "Sega", "SG-1000 Mark III", FLAG_REGION_JAPAN | FLAG_FM ) |
| 614 | CONS( 1984, sg1000m3, sms, 0, smsfm, sms, 0, sg1000m3, "Sega", "SG-1000 Mark III", FLAG_REGION_JAPAN | FLAG_FM ) |
| 605 | 615 | CONS( 1986, sms1, sms, 0, sms1ntsc, sms, 0, sms, "Sega", "Master System I", FLAG_BIOS_FULL ) |
| 606 | 616 | CONS( 1986, sms1pal, sms, 0, sms1pal, sms, 0, sms, "Sega", "Master System I (PAL)" , FLAG_BIOS_FULL ) |
| 607 | 617 | CONS( 1986, smssdisp, sms, 0, smssdisp, sms, 0, smssdisp, "Sega", "Master System Store Display Unit", GAME_NOT_WORKING ) |