From 671505a54905eed79a85080f08c2c9f2421686b0 Mon Sep 17 00:00:00 2001 From: SachaTending <65766775+SachaTending@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:18:05 +0300 Subject: [PATCH 1/2] try to fix clang build issues --- src/mame/webtv/webtv1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/webtv/webtv1.cpp b/src/mame/webtv/webtv1.cpp index 64dca98e8b89b..79a2a98e1cab5 100644 --- a/src/mame/webtv/webtv1.cpp +++ b/src/mame/webtv/webtv1.cpp @@ -111,7 +111,7 @@ void webtv1_state::webtv1_map(address_map &map) map(0x04005000, 0x04005fff).m(m_spotasic, FUNC(spot_asic_device::mem_unit_map)); // ROM - map(0x1f000000, 0x1f3fffff).rw(FUNC(bank0_flash_r), FUNC(bank0_flash_w)).share("bank0"); // Flash ROM, 4MB (retail configuration 2MB) + map(0x1f000000, 0x1f3fffff).rw(FUNC(bank0_flash_r), FUNC(webtv1_state::bank0_flash_w)).share("bank0"); // Flash ROM, 4MB (retail configuration 2MB) map(0x1f800000, 0x1fffffff).rom().region("bank1", 0); // Mask ROM } @@ -185,4 +185,4 @@ ROM_END // YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS CONS( 1996, wtv1sony, 0, 0, webtv1_sony, 0, webtv1_state, empty_init, "Sony", "INT-W100 WebTV Internet Terminal", MACHINE_NOT_WORKING + MACHINE_NO_SOUND ) -CONS( 1996, wtv1phil, 0, 0, webtv1_philips, 0, webtv1_state, empty_init, "Philips-Magnavox", "MAT960 WebTV Internet Terminal", MACHINE_NOT_WORKING + MACHINE_NO_SOUND ) \ No newline at end of file +CONS( 1996, wtv1phil, 0, 0, webtv1_philips, 0, webtv1_state, empty_init, "Philips-Magnavox", "MAT960 WebTV Internet Terminal", MACHINE_NOT_WORKING + MACHINE_NO_SOUND ) From c8e5ecd3b84130ae47b7bc5490d7e235e007cea0 Mon Sep 17 00:00:00 2001 From: SachaTending <65766775+SachaTending@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:19:10 +0300 Subject: [PATCH 2/2] forgot :skull: --- src/mame/webtv/webtv1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/webtv/webtv1.cpp b/src/mame/webtv/webtv1.cpp index 79a2a98e1cab5..3e350159bf40e 100644 --- a/src/mame/webtv/webtv1.cpp +++ b/src/mame/webtv/webtv1.cpp @@ -111,7 +111,7 @@ void webtv1_state::webtv1_map(address_map &map) map(0x04005000, 0x04005fff).m(m_spotasic, FUNC(spot_asic_device::mem_unit_map)); // ROM - map(0x1f000000, 0x1f3fffff).rw(FUNC(bank0_flash_r), FUNC(webtv1_state::bank0_flash_w)).share("bank0"); // Flash ROM, 4MB (retail configuration 2MB) + map(0x1f000000, 0x1f3fffff).rw(FUNC(webtv1_state::bank0_flash_r), FUNC(webtv1_state::bank0_flash_w)).share("bank0"); // Flash ROM, 4MB (retail configuration 2MB) map(0x1f800000, 0x1fffffff).rom().region("bank1", 0); // Mask ROM }