Skip to content

Commit 2dc5d7a

Browse files
committed
Fix compile after UPD1771C rename.
1 parent d016af9 commit 2dc5d7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mame/nec/apc.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class apc_state : public driver_device
123123
uint8_t *m_char_rom = nullptr;
124124

125125
required_device<speaker_device> m_speaker;
126-
required_device<upd1771c_device> m_sound;
126+
required_device<upd1771c_hle_device> m_sound;
127127

128128
required_shared_ptr<uint16_t> m_video_ram_1;
129129
required_shared_ptr<uint16_t> m_video_ram_2;
@@ -500,7 +500,7 @@ void apc_state::apc_io(address_map &map)
500500
// 0x5a APU data (Arithmetic Processing Unit!)
501501
// 0x5b, Power Off
502502
// 0x5e APU status/command
503-
map(0x60, 0x60).rw(m_sound, FUNC(upd1771c_device::read), FUNC(upd1771c_device::write));
503+
map(0x60, 0x60).rw(m_sound, FUNC(upd1771c_hle_device::read), FUNC(upd1771c_hle_device::write));
504504
// map(0x68, 0x6f) i8255 , ODA printer port (A: status (R) B: data (W) C: command (W))
505505
// map(0x70, 0x76).rw("upd7220_btm", FUNC(upd7220_device::read), FUNC(upd7220_device::write)).umask16(0x00ff);
506506
// 0x71, 0x77 IDA Controller
@@ -972,7 +972,7 @@ void apc_state::apc(machine_config &config)
972972

973973
/* sound hardware */
974974
SPEAKER(config, m_speaker).front_center();
975-
UPD1771C(config, m_sound, MAIN_CLOCK).add_route(ALL_OUTPUTS, "mono", 1.00); //uPD1771C-006
975+
UPD1771C_HLE(config, m_sound, MAIN_CLOCK).add_route(ALL_OUTPUTS, "mono", 1.00); //uPD1771C-006
976976
}
977977

978978

0 commit comments

Comments
 (0)