From ff743c92fda88e8955a79316dc9c2d34d2e0b6e4 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sat, 26 Feb 2022 00:31:17 +0900 Subject: [PATCH] Fix build --- src/engine/platform/ym2610b.h | 4 ++++ src/engine/platform/ym2610shared.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/engine/platform/ym2610b.h b/src/engine/platform/ym2610b.h index 8b18acd15..892f68437 100644 --- a/src/engine/platform/ym2610b.h +++ b/src/engine/platform/ym2610b.h @@ -26,6 +26,10 @@ #include "ym2610.h" +static unsigned short chanOffs_b[6]={ + 0x00, 0x01, 0x02, 0x100, 0x101, 0x102 +}; + class DivPlatformYM2610B: public DivDispatch { protected: struct Channel { diff --git a/src/engine/platform/ym2610shared.h b/src/engine/platform/ym2610shared.h index 2f3e563ec..7891a14fb 100644 --- a/src/engine/platform/ym2610shared.h +++ b/src/engine/platform/ym2610shared.h @@ -20,9 +20,6 @@ static unsigned short chanOffs[4]={ 0x01, 0x02, 0x101, 0x102 }; -static unsigned short chanOffs_b[6]={ - 0x00, 0x01, 0x02, 0x100, 0x101, 0x102 -}; static unsigned short opOffs[4]={ 0x00, 0x04, 0x08, 0x0c };