Fix compile

This commit is contained in:
cam900 2022-06-06 19:26:34 +09:00
parent 35caab6f82
commit d1aeabe464
4 changed files with 27 additions and 27 deletions

View file

@ -22,18 +22,6 @@
#include "fmsharedbase.h"
#define ADDR_MULT_DT 0x30
#define ADDR_TL 0x40
#define ADDR_RS_AR 0x50
#define ADDR_AM_DR 0x60
#define ADDR_DT2_D2R 0x70
#define ADDR_SL_RR 0x80
#define ADDR_SSG 0x90
#define ADDR_FREQ 0xa0
#define ADDR_FREQH 0xa4
#define ADDR_FB_ALG 0xb0
#define ADDR_LRAF 0xb4
#define CHIP_FREQBASE fmFreqBase
#define CHIP_DIVIDER fmDivBase
@ -100,6 +88,18 @@
class DivPlatformOPNBase: public DivPlatformFMBase {
protected:
const unsigned char ADDR_MULT_DT=0x30;
const unsigned char ADDR_TL=0x40;
const unsigned char ADDR_RS_AR=0x50;
const unsigned char ADDR_AM_DR=0x60;
const unsigned char ADDR_DT2_D2R=0x70;
const unsigned char ADDR_SL_RR=0x80;
const unsigned char ADDR_SSG=0x90;
const unsigned char ADDR_FREQ=0xa0;
const unsigned char ADDR_FREQH=0xa4;
const unsigned char ADDR_FB_ALG=0xb0;
const unsigned char ADDR_LRAF=0xb4;
const unsigned short opOffs[4]={
0x00, 0x04, 0x08, 0x0c
};