diff options
| author | 2013-05-20 06:51:25 +0000 | |
|---|---|---|
| committer | 2013-05-20 06:51:25 +0000 | |
| commit | 1c05ccc93bd32a9bb5a50f18e2e8bd29c3511e25 (patch) | |
| tree | 7133a7cea14e7c27e731c320b87663971b1a31d3 /src/mess/machine | |
| parent | cae878c9b438a4b88678db213db9c4aed215b5cc (diff) | |
Cleanups and version bumpmame0148u5
Diffstat (limited to 'src/mess/machine')
| -rw-r--r-- | src/mess/machine/apollo.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/gb.c | 26 | ||||
| -rw-r--r-- | src/mess/machine/lynx.c | 6 | ||||
| -rw-r--r-- | src/mess/machine/md_stm95.h | 2 | ||||
| -rw-r--r-- | src/mess/machine/nes_bootleg.c | 28 | ||||
| -rw-r--r-- | src/mess/machine/nes_bootleg.h | 8 | ||||
| -rw-r--r-- | src/mess/machine/nes_kaiser.c | 20 | ||||
| -rw-r--r-- | src/mess/machine/nes_kaiser.h | 6 | ||||
| -rw-r--r-- | src/mess/machine/nes_mmc3_clones.c | 27 | ||||
| -rw-r--r-- | src/mess/machine/nes_slot.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/nes_slot.h | 2 | ||||
| -rw-r--r-- | src/mess/machine/pc.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/pc_joy_sw.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/psxcard.c | 24 | ||||
| -rw-r--r-- | src/mess/machine/psxcd.c | 1 | ||||
| -rw-r--r-- | src/mess/machine/psxmultitap.h | 2 | ||||
| -rw-r--r-- | src/mess/machine/s100_nsmdsa.h | 2 | ||||
| -rw-r--r-- | src/mess/machine/s100_nsmdsad.h | 2 | ||||
| -rw-r--r-- | src/mess/machine/s100_wunderbus.c | 6 | ||||
| -rw-r--r-- | src/mess/machine/sms.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/ti99/speech8.h | 10 | ||||
| -rw-r--r-- | src/mess/machine/wswan.c | 8 |
22 files changed, 93 insertions, 97 deletions
diff --git a/src/mess/machine/apollo.c b/src/mess/machine/apollo.c index 704be74a5c7..f26b6e61186 100644 --- a/src/mess/machine/apollo.c +++ b/src/mess/machine/apollo.c @@ -97,7 +97,7 @@ INPUT_PORTS_START( apollo_config ) PORT_CONFSETTING(APOLLO_CONF_8_PLANES, "8-Plane Color") PORT_CONFSETTING(APOLLO_CONF_4_PLANES, "4-Plane Color") PORT_CONFSETTING(APOLLO_CONF_MONO_15I, "15\" Monochrome") -// PORT_CONFSETTING(APOLLO_CONF_MONO_19I, "19\" Monochrome") +// PORT_CONFSETTING(APOLLO_CONF_MONO_19I, "19\" Monochrome") PORT_CONFNAME(APOLLO_CONF_GERMAN_KBD, 0x00, "German Keyboard") PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) diff --git a/src/mess/machine/gb.c b/src/mess/machine/gb.c index 687297b9eca..45df99d4b57 100644 --- a/src/mess/machine/gb.c +++ b/src/mess/machine/gb.c @@ -134,7 +134,7 @@ void gb_state::save_gbc_only() } void gb_state::save_sgb_only() -{ +{ save_item(NAME(m_sgb_pal_data)); save_item(NAME(m_sgb_pal)); save_item(NAME(m_sgb_tile_map)); @@ -194,7 +194,7 @@ MACHINE_START_MEMBER(gb_state,gbpocket) /* Allocate the serial timer, and disable it */ m_gb_serial_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gb_state::gb_serial_timer_proc),this)); m_gb_serial_timer->enable( 0 ); - + save_gb_base(); gb_video_start(GB_VIDEO_MGB); } @@ -231,12 +231,12 @@ MACHINE_START_MEMBER(gb_state,sgb) MACHINE_RESET_MEMBER(gb_state,gb) { gb_init(); - + gb_video_reset(GB_VIDEO_DMG); - + /* Enable BIOS rom */ m_bios_disable = 0; - + m_divcount = 0x0004; } @@ -276,21 +276,21 @@ MACHINE_RESET_MEMBER(gb_state,gbc) MACHINE_RESET_MEMBER(gb_state,sgb) { gb_init(); - + gb_video_reset(GB_VIDEO_SGB); - + gb_init_regs(); - - + + /* Enable BIOS rom */ m_bios_disable = 0; - + memset(m_sgb_tile_data, 0, 0x2000); - + m_sgb_window_mask = 0; memset(m_sgb_pal_map, 0, sizeof(m_sgb_pal_map)); memset(m_sgb_atf_data, 0, sizeof(m_sgb_atf_data)); - + m_divcount = 0x0004; } @@ -1072,7 +1072,7 @@ MACHINE_START_MEMBER(megaduck_state,megaduck) /* Allocate the serial timer, and disable it */ m_gb_serial_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gb_state::gb_serial_timer_proc),this)); m_gb_serial_timer->enable( 0 ); - + save_gb_base(); gb_video_start(GB_VIDEO_DMG); } diff --git a/src/mess/machine/lynx.c b/src/mess/machine/lynx.c index ea536791cf1..8334f171230 100644 --- a/src/mess/machine/lynx.c +++ b/src/mess/machine/lynx.c @@ -558,7 +558,7 @@ void lynx_state::lynx_blit_lines() m_blitter.height_accumulator += m_blitter.height; for (int j = 0; j < (m_blitter.height_accumulator >> 8); j++, y += ydir) - { + { if (y >= 0 && y < 102) { if (m_blitter.use_rle) @@ -729,7 +729,7 @@ void lynx_state::lynx_blitter() m_blitter.mode = m_blitter.spr_ctl0 & 0x07; m_blitter.use_rle = m_blitter.spr_ctl1 & 0x80 ? 0 : 1; m_blitter.line_color = (m_blitter.spr_ctl0 >> 6) & 0x03; - + m_blitter.sprite_collide = !(m_blitter.spr_coll & 0x20); m_blitter.spritenr = m_blitter.spr_coll & 0x0f; m_blitter.fred = 0; @@ -1986,7 +1986,7 @@ void lynx_state::machine_start() save_item(NAME(m_uart.received)); save_item(NAME(m_uart.sending)); save_item(NAME(m_uart.buffer_loaded)); - + machine().save().register_postload(save_prepost_delegate(FUNC(lynx_state::lynx_postload), this)); membank("bank3")->configure_entry(0, memregion("maincpu")->base() + 0x0000); diff --git a/src/mess/machine/md_stm95.h b/src/mess/machine/md_stm95.h index 6bd0a07c1a7..a67a0d82aff 100644 --- a/src/mess/machine/md_stm95.h +++ b/src/mess/machine/md_stm95.h @@ -46,7 +46,7 @@ protected: int stream_pos; int stream_data; int eeprom_addr; - + running_machine& m_machine; }; diff --git a/src/mess/machine/nes_bootleg.c b/src/mess/machine/nes_bootleg.c index 6916240c468..652127e8fb4 100644 --- a/src/mess/machine/nes_bootleg.c +++ b/src/mess/machine/nes_bootleg.c @@ -430,7 +430,7 @@ void nes_lh53_device::device_start() common_start(); irq_timer = timer_alloc(TIMER_IRQ); irq_timer->adjust(attotime::zero, 0, machine().device<cpu_device>("maincpu")->cycles_to_attotime(1)); - + save_item(NAME(m_irq_enable)); save_item(NAME(m_irq_count)); save_item(NAME(m_reg)); @@ -439,10 +439,10 @@ void nes_lh53_device::device_start() void nes_lh53_device::pcb_reset() { chr8(0, CHRRAM); - + prg8_89(0xc); - prg8_ab(0xd); // last 2K are overlayed by WRAM - prg8_cd(0xe); // first 6K are overlayed by WRAM + prg8_ab(0xd); // last 2K are overlayed by WRAM + prg8_cd(0xe); // first 6K are overlayed by WRAM prg8_ef(0xf); m_reg = 0; m_irq_count = 0; @@ -1305,18 +1305,18 @@ WRITE8_MEMBER(nes_lh10_device::write_h) } /*------------------------------------------------- - + UNL-LH53 - + Games: Nazo no Murasamejou (FDS conversion) - - This PCB maps WRAM (w/battery) in 0xb800-0xd7ff and + + This PCB maps WRAM (w/battery) in 0xb800-0xd7ff and PRG in 0x6000-0x7fff iNES: - + In MESS: Preliminar Support only. - + -------------------------------------------------*/ void nes_lh53_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) @@ -1344,20 +1344,20 @@ READ8_MEMBER(nes_lh53_device::read_m) READ8_MEMBER(nes_lh53_device::read_h) { LOG_MMC(("lh53 read_h, offset: %04x\n", offset)); - + if (offset >= 0x3800 && offset < 0x5800) return m_battery[offset & 0x1fff]; - + return hi_access_rom(offset); } WRITE8_MEMBER(nes_lh53_device::write_h) { LOG_MMC(("lh53 write_h, offset: %04x, data: %02x\n", offset, data)); - + if (offset >= 0x3800 && offset < 0x5800) m_battery[offset & 0x1fff] = data; - + else { switch (offset & 0x7000) diff --git a/src/mess/machine/nes_bootleg.h b/src/mess/machine/nes_bootleg.h index da87dfa8b77..13a41d684a8 100644 --- a/src/mess/machine/nes_bootleg.h +++ b/src/mess/machine/nes_bootleg.h @@ -327,7 +327,7 @@ class nes_lh53_device : public nes_nrom_device public: // construction/destruction nes_lh53_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start(); virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); @@ -335,14 +335,14 @@ public: virtual DECLARE_READ8_MEMBER(read_h); virtual DECLARE_WRITE8_MEMBER(write_m) {} virtual DECLARE_WRITE8_MEMBER(write_h); - + virtual void pcb_reset(); - + private: UINT16 m_irq_count; int m_irq_enable; UINT8 m_reg; - + static const device_timer_id TIMER_IRQ = 0; emu_timer *irq_timer; attotime timer_freq; diff --git a/src/mess/machine/nes_kaiser.c b/src/mess/machine/nes_kaiser.c index ed237169b65..b425fb9120e 100644 --- a/src/mess/machine/nes_kaiser.c +++ b/src/mess/machine/nes_kaiser.c @@ -218,9 +218,9 @@ void nes_ks7031_device::device_start() void nes_ks7031_device::pcb_reset() { - prg32(0); // not really used... + prg32(0); // not really used... chr8(0, CHRRAM); - + m_reg[0] = 0; m_reg[1] = 0; m_reg[2] = 0; @@ -525,15 +525,15 @@ WRITE8_MEMBER(nes_ks7012_device::write_h) /*------------------------------------------------- - + Kaiser Board KS7013B - + Games: Highway Star FDS Conversion - + iNES: - + In MESS: Supported. - + -------------------------------------------------*/ WRITE8_MEMBER(nes_ks7013b_device::write_m) @@ -556,13 +556,13 @@ WRITE8_MEMBER(nes_ks7013b_device::write_h) Games: Dracula II FDS Conversion This board is quite weird. It handles 2K PRG chunks - and the chip contains chunks in reverse order, so + and the chip contains chunks in reverse order, so that the first 2K are actually loaded at the top of the 0x8000-0xffff region. Main bank is fixed, while the 8K mapped at 0x6000-0x7fff varies with reg writes. TODO: understand how SRAM is handled... - + iNES: In MESS: Supported. @@ -571,7 +571,7 @@ WRITE8_MEMBER(nes_ks7013b_device::write_h) READ8_MEMBER(nes_ks7031_device::read_m) { -// LOG_MMC(("ks7031 read_m, offset: %04x\n", offset)); +// LOG_MMC(("ks7031 read_m, offset: %04x\n", offset)); return m_prg[(m_reg[(offset >> 11) & 3] * 0x0800) + (offset & 0x7ff)]; } diff --git a/src/mess/machine/nes_kaiser.h b/src/mess/machine/nes_kaiser.h index 374fee9c833..07f6f0707ab 100644 --- a/src/mess/machine/nes_kaiser.h +++ b/src/mess/machine/nes_kaiser.h @@ -154,15 +154,15 @@ class nes_ks7031_device : public nes_nrom_device public: // construction/destruction nes_ks7031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start(); virtual DECLARE_READ8_MEMBER(read_m); virtual DECLARE_READ8_MEMBER(read_h); virtual DECLARE_WRITE8_MEMBER(write_h); - + virtual void pcb_reset(); - + private: UINT8 m_reg[4]; }; diff --git a/src/mess/machine/nes_mmc3_clones.c b/src/mess/machine/nes_mmc3_clones.c index 9b57cfb9816..13a788d586b 100644 --- a/src/mess/machine/nes_mmc3_clones.c +++ b/src/mess/machine/nes_mmc3_clones.c @@ -167,7 +167,7 @@ nes_sachen_shero_device::nes_sachen_shero_device(const machine_config &mconfig, } //nes_a9746_device::nes_a9746_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) -// : nes_txrom_device(mconfig, NES_A9746, "NES Cart A-9746 PCB", tag, owner, clock, "nes_bmc_a9746", __FILE__) +// : nes_txrom_device(mconfig, NES_A9746, "NES Cart A-9746 PCB", tag, owner, clock, "nes_bmc_a9746", __FILE__) //{ //} @@ -2498,16 +2498,16 @@ WRITE8_MEMBER(nes_pjoy84_device::write_m) #ifdef UNUSED_FUNCTION /*------------------------------------------------- - + UNL-A9746 - - + + MMC3 clone - - + + Preliminary emulation based on Cah4e3's code No dump is available (yet) for this. - + -------------------------------------------------*/ void nes_a9746_device::device_start() @@ -2519,7 +2519,7 @@ void nes_a9746_device::device_start() void nes_a9746_device::pcb_reset() { m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM; - + m_reg[0] = 0; m_reg[1] = 0; m_reg[2] = 0; @@ -2529,7 +2529,7 @@ void nes_a9746_device::pcb_reset() void nes_a9746_device::update_banks(UINT8 value) { UINT8 bank = BITSWAP8(value & 0x3c,7,6,0,1,2,3,4,5); - + switch (m_reg[0]) { case 0x26: prg8_89(bank); break; @@ -2537,7 +2537,7 @@ void nes_a9746_device::update_banks(UINT8 value) case 0x24: prg8_cd(bank); break; case 0x23: prg8_ef(bank); break; } - + switch (m_reg[1]) { case 0x08: case 0x0a: case 0x0c: case 0x0e: @@ -2559,7 +2559,7 @@ void nes_a9746_device::update_banks(UINT8 value) WRITE8_MEMBER(nes_a9746_device::write_h) { LOG_MMC(("unl_a9746 write_h, offset: %04x, data: %02x\n", offset, data)); - + switch (offset & 0x6003) { case 0x0000: @@ -2573,18 +2573,17 @@ WRITE8_MEMBER(nes_a9746_device::write_h) m_reg[0] = data; m_reg[1] = 0; break; - + case 0x0003: case 0x2000: case 0x2001: case 0x2002: case 0x2003: break; - + default: txrom_write(space, offset, data, mem_mask); break; } } #endif - diff --git a/src/mess/machine/nes_slot.c b/src/mess/machine/nes_slot.c index bf93f3fdbfd..89881d07d92 100644 --- a/src/mess/machine/nes_slot.c +++ b/src/mess/machine/nes_slot.c @@ -768,7 +768,7 @@ void device_nes_cart_interface::pcb_start(running_machine &machine, UINT8 *ciram if (m_vram_size) state_save_register_item_pointer(machine, "NES_CART", NULL, 0, m_vram, m_vram_size); if (m_battery_size) - state_save_register_item_pointer(machine, "NES_CART", NULL, 0, m_battery, m_battery_size); + state_save_register_item_pointer(machine, "NES_CART", NULL, 0, m_battery, m_battery_size); } void device_nes_cart_interface::pcb_reg_postload(running_machine &machine) diff --git a/src/mess/machine/nes_slot.h b/src/mess/machine/nes_slot.h index b5a5049ec0b..0fe9e24ea60 100644 --- a/src/mess/machine/nes_slot.h +++ b/src/mess/machine/nes_slot.h @@ -107,7 +107,7 @@ enum OPENCORP_DAOU306, HES_BOARD, SVISION16_BOARD, RUMBLESTATION_BOARD, JYCOMPANY_A, JYCOMPANY_B, JYCOMPANY_C, MAGICSERIES_MD, KASING_BOARD, FUTUREMEDIA_BOARD, FUKUTAKE_BOARD, SOMARI_SL12, HENGG_SRICH, HENGG_XHZS, HENGG_SHJY3, SUBOR_TYPE0, SUBOR_TYPE1, - KAISER_KS7058, KAISER_KS7032, KAISER_KS7022, KAISER_KS7017, + KAISER_KS7058, KAISER_KS7032, KAISER_KS7022, KAISER_KS7017, KAISER_KS7012, KAISER_KS7013B, KAISER_KS202, KAISER_KS7031, CNE_DECATHLON, CNE_FSB, CNE_SHLZ, CONY_BOARD, YOKO_BOARD, RCM_GS2015, RCM_GS2004, RCM_GS2013, RCM_TF9IN1, RCM_3DBLOCK, diff --git a/src/mess/machine/pc.c b/src/mess/machine/pc.c index cbbe5891bec..2cc69ebf736 100644 --- a/src/mess/machine/pc.c +++ b/src/mess/machine/pc.c @@ -56,7 +56,7 @@ #define DBG_LOG(N,M,A) \ do { \ - if(VERBOSE_DBG>=N) \ + if(VERBOSE_DBG>=N) \ { \ if( M ) \ logerror("%11.6f at %s: %-24s",machine().time().as_double(),machine().describe_context(),(char*)M ); \ diff --git a/src/mess/machine/pc_joy_sw.c b/src/mess/machine/pc_joy_sw.c index 256834f3bdf..9ebd173d513 100644 --- a/src/mess/machine/pc_joy_sw.c +++ b/src/mess/machine/pc_joy_sw.c @@ -173,5 +173,3 @@ ioport_constructor pc_mssw_pad_device::device_input_ports() const { return INPUT_PORTS_NAME( sidewinder_pad ); } - - diff --git a/src/mess/machine/psxcard.c b/src/mess/machine/psxcard.c index a952d247c60..18b4c1e4ebb 100644 --- a/src/mess/machine/psxcard.c +++ b/src/mess/machine/psxcard.c @@ -54,18 +54,18 @@ void psxcard_device::device_start() m_disabled = false; // save state registrations - save_item(NAME(pkt)); - save_item(NAME(pkt_ptr)); - save_item(NAME(pkt_sz)); - save_item(NAME(cmd)); - save_item(NAME(addr)); - save_item(NAME(state)); - save_item(NAME(m_disabled)); - save_item(NAME(m_odata)); - save_item(NAME(m_idata)); - save_item(NAME(m_bit)); - save_item(NAME(m_count)); - save_item(NAME(m_pad)); + save_item(NAME(pkt)); + save_item(NAME(pkt_ptr)); + save_item(NAME(pkt_sz)); + save_item(NAME(cmd)); + save_item(NAME(addr)); + save_item(NAME(state)); + save_item(NAME(m_disabled)); + save_item(NAME(m_odata)); + save_item(NAME(m_idata)); + save_item(NAME(m_bit)); + save_item(NAME(m_count)); + save_item(NAME(m_pad)); } void psxcard_device::device_reset() diff --git a/src/mess/machine/psxcd.c b/src/mess/machine/psxcd.c index 7c4cc5b108d..cefce2e7497 100644 --- a/src/mess/machine/psxcd.c +++ b/src/mess/machine/psxcd.c @@ -1219,4 +1219,3 @@ int psxcd_device::add_system_event(int type, UINT64 t, void *ptr) fatalerror("psxcd: out of timers\n"); return 0; } - diff --git a/src/mess/machine/psxmultitap.h b/src/mess/machine/psxmultitap.h index ca696c58376..35ec57098dc 100644 --- a/src/mess/machine/psxmultitap.h +++ b/src/mess/machine/psxmultitap.h @@ -5,7 +5,7 @@ SLOT_INTERFACE_EXTERN(psx_controllers_nomulti); -class psx_multitap_device : public device_t, +class psx_multitap_device : public device_t, public device_psx_controller_interface { public: diff --git a/src/mess/machine/s100_nsmdsa.h b/src/mess/machine/s100_nsmdsa.h index fc9e7f79b08..d47ef5c4720 100644 --- a/src/mess/machine/s100_nsmdsa.h +++ b/src/mess/machine/s100_nsmdsa.h @@ -25,7 +25,7 @@ // ======================> s100_mds_a_device class s100_mds_a_device : public device_t, - public device_s100_card_interface + public device_s100_card_interface { public: // construction/destruction diff --git a/src/mess/machine/s100_nsmdsad.h b/src/mess/machine/s100_nsmdsad.h index 8dfa900d768..098a6dd6010 100644 --- a/src/mess/machine/s100_nsmdsad.h +++ b/src/mess/machine/s100_nsmdsad.h @@ -25,7 +25,7 @@ // ======================> s100_mds_ad_device class s100_mds_ad_device : public device_t, - public device_s100_card_interface + public device_s100_card_interface { public: // construction/destruction diff --git a/src/mess/machine/s100_wunderbus.c b/src/mess/machine/s100_wunderbus.c index 5b1305ccad4..85859307b28 100644 --- a/src/mess/machine/s100_wunderbus.c +++ b/src/mess/machine/s100_wunderbus.c @@ -19,9 +19,9 @@ #define INS8250_1_TAG "6d" #define INS8250_2_TAG "5d" #define INS8250_3_TAG "4d" -#define RS232_A_TAG "rs232a" -#define RS232_B_TAG "rs232b" -#define RS232_C_TAG "rs232c" +#define RS232_A_TAG "rs232a" +#define RS232_B_TAG "rs232b" +#define RS232_C_TAG "rs232c" #define UPD1990C_TAG "12a" diff --git a/src/mess/machine/sms.c b/src/mess/machine/sms.c index 3933f1bc6c9..8755a622b31 100644 --- a/src/mess/machine/sms.c +++ b/src/mess/machine/sms.c @@ -330,7 +330,7 @@ int sms_state::lgun_bright_aim_area( emu_timer *timer, int lgun_x, int lgun_y ) /* Caculate distance in x of the radius, relative to beam's y distance. First try some shortcuts. */ switch (dy) - { + { case LGUN_RADIUS: dx_radius = 0; break; diff --git a/src/mess/machine/ti99/speech8.h b/src/mess/machine/ti99/speech8.h index 51cd2b99a65..6f4537ac4e2 100644 --- a/src/mess/machine/ti99/speech8.h +++ b/src/mess/machine/ti99/speech8.h @@ -54,11 +54,11 @@ protected: private: tms5220_device *m_vsp; -// UINT8 *m_speechrom; // pointer to speech ROM data -// int m_load_pointer; // which 4-bit nibble will be affected by load address -// int m_rombits_count; // current bit position in ROM -// UINT32 m_sprom_address; // 18 bit pointer in ROM -// UINT32 m_sprom_length; // length of data pointed by speechrom_data, from 0 to 2^18 +// UINT8 *m_speechrom; // pointer to speech ROM data +// int m_load_pointer; // which 4-bit nibble will be affected by load address +// int m_rombits_count; // current bit position in ROM +// UINT32 m_sprom_address; // 18 bit pointer in ROM +// UINT32 m_sprom_length; // length of data pointed by speechrom_data, from 0 to 2^18 // Ready line to the CPU devcb_resolved_write_line m_ready; diff --git a/src/mess/machine/wswan.c b/src/mess/machine/wswan.c index 1bbbf4fe567..5643547c85d 100644 --- a/src/mess/machine/wswan.c +++ b/src/mess/machine/wswan.c @@ -201,7 +201,7 @@ void wswan_state::wswan_setup_bios() void wswan_state::wswan_setup_banks() { - static const char *rom_bank_tags[14] = { "rom1", "rom2", "rom3", "rom4", "rom5", "rom6", "rom7", + static const char *rom_bank_tags[14] = { "rom1", "rom2", "rom3", "rom4", "rom5", "rom6", "rom7", "rom8", "rom9", "rom10", "rom11", "rom12", "rom13", "rom14" }; for (int i = 0; i < 14; i++) m_rom_bank[i] = membank(rom_bank_tags[i]); @@ -214,7 +214,7 @@ void wswan_state::wswan_register_save() save_item(NAME(m_bios_disabled)); save_item(NAME(m_rotate)); save_item(NAME(m_bank_base)); - + save_item(NAME(m_vdp.layer_bg_enable)); save_item(NAME(m_vdp.layer_fg_enable)); save_item(NAME(m_vdp.sprites_enable)); @@ -262,7 +262,7 @@ void wswan_state::wswan_register_save() save_item(NAME(m_eeprom.size)); if (m_eeprom.size) save_pointer(NAME(m_eeprom.data), m_eeprom.size); - + save_item(NAME(m_rtc.present)); save_item(NAME(m_rtc.setting)); save_item(NAME(m_rtc.year)); @@ -273,7 +273,7 @@ void wswan_state::wswan_register_save() save_item(NAME(m_rtc.minute)); save_item(NAME(m_rtc.second)); save_item(NAME(m_rtc.index)); - + save_item(NAME(m_sound_dma.source)); save_item(NAME(m_sound_dma.size)); save_item(NAME(m_sound_dma.enable)); |
