summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/jaleco/bigstrkb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/jaleco/bigstrkb.cpp')
-rw-r--r--src/mame/jaleco/bigstrkb.cpp19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/mame/jaleco/bigstrkb.cpp b/src/mame/jaleco/bigstrkb.cpp
index 8112570739f..b45e3b03c30 100644
--- a/src/mame/jaleco/bigstrkb.cpp
+++ b/src/mame/jaleco/bigstrkb.cpp
@@ -53,7 +53,7 @@ public:
void bigstrkb(machine_config &config);
protected:
- virtual void video_start() override;
+ virtual void video_start() override ATTR_COLD;
private:
required_device<cpu_device> m_maincpu;
@@ -75,12 +75,10 @@ private:
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
- void prg_map(address_map &map);
+ void prg_map(address_map &map) ATTR_COLD;
};
-// video
-
// Sprites
void bigstrkb_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
@@ -194,8 +192,6 @@ uint32_t bigstrkb_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
-// machine
-
/*
68k interrupts
@@ -400,17 +396,16 @@ void bigstrkb_state::bigstrkb(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 0x400);
- SPEAKER(config, "lspeaker").front_left();
- SPEAKER(config, "rspeaker").front_right();
+ SPEAKER(config, "speaker", 2).front();
// YM2151(config, "ymsnd", 4'000'000);
okim6295_device &oki1(OKIM6295(config, "oki1", 4'000'000, okim6295_device::PIN7_HIGH));
- oki1.add_route(ALL_OUTPUTS, "lspeaker", 0.30);
- oki1.add_route(ALL_OUTPUTS, "rspeaker", 0.30);
+ oki1.add_route(ALL_OUTPUTS, "speaker", 0.30, 0);
+ oki1.add_route(ALL_OUTPUTS, "speaker", 0.30, 1);
okim6295_device &oki2(OKIM6295(config, "oki2", 4'000'000, okim6295_device::PIN7_HIGH));
- oki2.add_route(ALL_OUTPUTS, "lspeaker", 0.30);
- oki2.add_route(ALL_OUTPUTS, "rspeaker", 0.30);
+ oki2.add_route(ALL_OUTPUTS, "speaker", 0.30, 0);
+ oki2.add_route(ALL_OUTPUTS, "speaker", 0.30, 1);
}
// Rom Loading