From b2ee35f82e4ed82af4db114a3172d4feee3b5cd6 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Wed, 11 Sep 2019 14:54:24 +0200 Subject: [PATCH] aica: initialize regs with half-words --- core/hw/aica/sgc_if.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hw/aica/sgc_if.cpp b/core/hw/aica/sgc_if.cpp index 889d7a0b7..a7c789471 100755 --- a/core/hw/aica/sgc_if.cpp +++ b/core/hw/aica/sgc_if.cpp @@ -434,8 +434,8 @@ struct ChannelEx { ccd=(ChannelCommonData*)&ccd_raw[cn*0x80]; ChannelNumber = cn; - for (u32 i=0;i<0x80;i++) - RegWrite(i, 1); + for (u32 i = 0; i < 0x80; i += 2) + RegWrite(i, 2); disable(); } void disable()