Fix Mac build

This commit is contained in:
cam900 2024-02-11 12:02:19 +09:00 committed by tildearrow
parent c1773e09f3
commit 625f1e4538

View file

@ -61,34 +61,34 @@ class DivPlatformNDS: public DivDispatch, public nds_sound_intf {
virtual inline void write_byte(u32 addr, u8 data) override; virtual inline void write_byte(u32 addr, u8 data) override;
public: public:
void acquire(short** buf, size_t len); virtual void acquire(short** buf, size_t len) override;
int dispatch(DivCommand c); virtual int dispatch(DivCommand c) override;
void* getChanState(int chan); virtual void* getChanState(int chan) override;
DivMacroInt* getChanMacroInt(int ch); virtual DivMacroInt* getChanMacroInt(int ch) override;
unsigned short getPan(int chan); virtual unsigned short getPan(int chan) override;
DivDispatchOscBuffer* getOscBuffer(int chan); virtual DivDispatchOscBuffer* getOscBuffer(int chan) override;
unsigned char* getRegisterPool(); virtual unsigned char* getRegisterPool() override;
int getRegisterPoolSize(); virtual int getRegisterPoolSize() override;
void reset(); virtual void reset() override;
void forceIns(); virtual void forceIns() override;
void tick(bool sysTick=true); virtual void tick(bool sysTick=true) override;
void muteChannel(int ch, bool mute); virtual void muteChannel(int ch, bool mute) override;
float getPostAmp(); virtual float getPostAmp() override;
int getOutputCount(); virtual int getOutputCount() override;
void notifyInsChange(int ins); virtual void notifyInsChange(int ins) override;
void notifyWaveChange(int wave); virtual void notifyWaveChange(int wave) override;
void notifyInsDeletion(void* ins); virtual void notifyInsDeletion(void* ins) override;
void poke(unsigned int addr, unsigned short val); virtual void poke(unsigned int addr, unsigned short val) override;
void poke(std::vector<DivRegWrite>& wlist); virtual void poke(std::vector<DivRegWrite>& wlist) override;
const char** getRegisterSheet(); virtual const char** getRegisterSheet() override;
const void* getSampleMem(int index = 0); virtual const void* getSampleMem(int index = 0) override;
size_t getSampleMemCapacity(int index = 0); virtual size_t getSampleMemCapacity(int index = 0) override;
size_t getSampleMemUsage(int index = 0); virtual size_t getSampleMemUsage(int index = 0) override;
bool isSampleLoaded(int index, int sample); virtual bool isSampleLoaded(int index, int sample) override;
void renderSamples(int chipID); virtual void renderSamples(int chipID) override;
void setFlags(const DivConfig& flags); virtual void setFlags(const DivConfig& flags) override;
int init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags); virtual int init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags) override;
void quit(); virtual void quit() override;
DivPlatformNDS(): DivPlatformNDS():
DivDispatch(), DivDispatch(),
nds_sound_intf(), nds_sound_intf(),