diff --git a/src/engine/platform/es5506.cpp b/src/engine/platform/es5506.cpp index 61ec89dd3..72d900506 100644 --- a/src/engine/platform/es5506.cpp +++ b/src/engine/platform/es5506.cpp @@ -58,53 +58,53 @@ const char* regCheatSheetES5506[]={ - "CR", "00|00", - "FC", "00|01", - "LVOL", "00|02", - "LVRAMP", "00|03", - "RVOL", "00|04", - "RVRAMP", "00|05", - "ECOUNT", "00|06", - "K2", "00|07", - "K2RAMP", "00|08", - "K1", "00|09", - "K1RAMP", "00|0A", - "ACTV", "00|0B", - "MODE", "00|0C", - "POT", "00|0D", - "IRQV", "00|0E", - "PAGE", "00|0F", - "CR", "20|00", - "START", "20|01", - "END", "20|02", - "ACCUM", "20|03", - "O4(n-1)", "20|04", - "O3(n-2)", "20|05", - "O3(n-1)", "20|06", - "O2(n-2)", "20|07", - "O2(n-1)", "20|08", - "O1(n-1)", "20|09", - "W_ST", "20|0A", - "W_END", "20|0B", - "LR_END", "20|0C", - "POT", "20|0D", - "IRQV", "20|0E", - "PAGE", "20|0F", - "CH0L", "40|00", - "CH0R", "40|01", - "CH1L", "40|02", - "CH1R", "40|03", - "CH2L", "40|04", - "CH2R", "40|05", - "CH3L", "40|06", - "CH3R", "40|07", - "CH4L", "40|08", - "CH4R", "40|09", - "CH5L", "40|0A", - "CH5R", "40|0B", - "POT", "40|0D", - "IRQV", "40|0E", - "PAGE", "40|0F", + "CR", "00|00", + "FC", "00|01", + "LVOL", "00|02", + "LVRAMP", "00|03", + "RVOL", "00|04", + "RVRAMP", "00|05", + "ECOUNT", "00|06", + "K2", "00|07", + "K2RAMP", "00|08", + "K1", "00|09", + "K1RAMP", "00|0A", + "ACTV", "00|0B", + "MODE", "00|0C", + "POT", "00|0D", + "IRQV", "00|0E", + "PAGE", "00|0F", + "CR", "20|00", + "START", "20|01", + "END", "20|02", + "ACCUM", "20|03", + "O4(n-1)", "20|04", + "O3(n-2)", "20|05", + "O3(n-1)", "20|06", + "O2(n-2)", "20|07", + "O2(n-1)", "20|08", + "O1(n-1)", "20|09", + "W_ST", "20|0A", + "W_END", "20|0B", + "LR_END", "20|0C", + "POT", "20|0D", + "IRQV", "20|0E", + "PAGE", "20|0F", + "CH0L", "40|00", + "CH0R", "40|01", + "CH1L", "40|02", + "CH1R", "40|03", + "CH2L", "40|04", + "CH2R", "40|05", + "CH3L", "40|06", + "CH3R", "40|07", + "CH4L", "40|08", + "CH4R", "40|09", + "CH5L", "40|0A", + "CH5R", "40|0B", + "POT", "40|0D", + "IRQV", "40|0E", + "PAGE", "40|0F", NULL }; diff --git a/src/engine/platform/es5506.h b/src/engine/platform/es5506.h index 5a926c07e..16d61386b 100644 --- a/src/engine/platform/es5506.h +++ b/src/engine/platform/es5506.h @@ -283,10 +283,9 @@ class DivPlatformES5506: public DivDispatch, public es550x_intf { friend void putDispatchChan(void*,int,int); public: - virtual void e_pin(bool state) override; // E output - - virtual void irqb(bool state) override; // IRQB output - virtual s16 read_sample(u8 voice, u8 bank, u32 address) override { + virtual void e_pin(bool state) override; // E output + virtual void irqb(bool state) override; // IRQB output + virtual s16 read_sample(u8 voice, u8 bank, u32 address) override { if (sampleMem==NULL) return 0; return sampleMem[((bank&3)<<21)|(address&0x1fffff)]; }