From bf626ac68d00b4469c611d4774f073b35d072aef Mon Sep 17 00:00:00 2001 From: cam900 Date: Tue, 6 Dec 2022 09:00:34 +0900 Subject: [PATCH] Fix K007232 start address --- extern/vgsound_emu-modified/vgsound_emu/src/k007232/k007232.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/vgsound_emu-modified/vgsound_emu/src/k007232/k007232.cpp b/extern/vgsound_emu-modified/vgsound_emu/src/k007232/k007232.cpp index 3798f4c8..02aa3460 100644 --- a/extern/vgsound_emu-modified/vgsound_emu/src/k007232/k007232.cpp +++ b/extern/vgsound_emu-modified/vgsound_emu/src/k007232/k007232.cpp @@ -126,7 +126,7 @@ void k007232_core::voice_t::write(u8 address, u8 data) m_start = (m_start & ~0x0ff00) | (u32(data) << 8); break; case 4: // start address bit 16 - m_start = (m_start & ~0x10000) | (u32(bitfield(data, 16)) << 16); + m_start = (m_start & ~0x10000) | (u32(bitfield(data, 0)) << 16); break; case 5: // keyon trigger keyon();