Fix compile (again)

This commit is contained in:
cam900 2022-09-24 00:11:34 +09:00
parent b41d306cb3
commit a44d696f09

View file

@ -90,8 +90,8 @@
#define OPNB_CHIP_DEBUG \ #define OPNB_CHIP_DEBUG \
FM_OPN_CHIP_DEBUG; \ FM_OPN_CHIP_DEBUG; \
ImGui::Text("- adpcmAMemLen: %d",ch->adpcmAMemLen); \ ImGui::Text("- adpcmAMemLen: %.8x",ch->adpcmAMemLen); \
ImGui::Text("- adpcmBMemLen: %d",ch->adpcmBMemLen); \ ImGui::Text("- adpcmBMemLen: %.8x",ch->adpcmBMemLen); \
ImGui::Text("- sampleBank: %d",ch->sampleBank); \ ImGui::Text("- sampleBank: %d",ch->sampleBank); \
ImGui::Text("- writeADPCMAOff: %d",ch->writeADPCMAOff); \ ImGui::Text("- writeADPCMAOff: %d",ch->writeADPCMAOff); \
ImGui::Text("- writeADPCMAOn: %d",ch->writeADPCMAOn); \ ImGui::Text("- writeADPCMAOn: %d",ch->writeADPCMAOn); \
@ -108,7 +108,7 @@
DivPlatformSMS* sms=(DivPlatformSMS*)data; \ DivPlatformSMS* sms=(DivPlatformSMS*)data; \
ImGui::Text("> SMS"); \ ImGui::Text("> SMS"); \
ImGui::Text("- rate: %d",sms->rate); \ ImGui::Text("- rate: %d",sms->rate); \
ImGui::Text("- chipClock: %.f",sms->chipClock); \ ImGui::Text("- chipClock: %d",sms->chipClock); \
ImGui::Text("- lastPan: %d",sms->lastPan); \ ImGui::Text("- lastPan: %d",sms->lastPan); \
ImGui::Text("- oldValue: %d",sms->oldValue); \ ImGui::Text("- oldValue: %d",sms->oldValue); \
ImGui::Text("- snNoiseMode: %d",sms->snNoiseMode); \ ImGui::Text("- snNoiseMode: %d",sms->snNoiseMode); \
@ -335,7 +335,7 @@ void putDispatchChip(void* data, int type) {
DivPlatformYM2608* ch=(DivPlatformYM2608*)data; DivPlatformYM2608* ch=(DivPlatformYM2608*)data;
ImGui::Text("> YM2608"); ImGui::Text("> YM2608");
FM_OPN_CHIP_DEBUG; FM_OPN_CHIP_DEBUG;
ImGui::Text("- adpcmBMemLen: %d",ch->adpcmBMemLen); ImGui::Text("- adpcmBMemLen: %.8x",ch->adpcmBMemLen);
ImGui::Text("- sampleBank: %d",ch->sampleBank); ImGui::Text("- sampleBank: %d",ch->sampleBank);
ImGui::Text("- writeRSSOff: %d",ch->writeRSSOff); ImGui::Text("- writeRSSOff: %d",ch->writeRSSOff);
ImGui::Text("- writeRSSOn: %d",ch->writeRSSOn); ImGui::Text("- writeRSSOn: %d",ch->writeRSSOn);
@ -397,7 +397,7 @@ void putDispatchChip(void* data, int type) {
ImGui::Text(" - Pos: %d",ch->dacPos); ImGui::Text(" - Pos: %d",ch->dacPos);
ImGui::Text(" - AntiClick: %d",ch->dacAntiClick); ImGui::Text(" - AntiClick: %d",ch->dacAntiClick);
ImGui::Text(" - Sample: %d",ch->dacSample); ImGui::Text(" - Sample: %d",ch->dacSample);
ImGui::Text("- dpcmMemLen: %d",ch->dpcmMemLen); ImGui::Text("- dpcmMemLen: %.8x",ch->dpcmMemLen);
ImGui::Text("- dpcmBank: %d",ch->dpcmBank); ImGui::Text("- dpcmBank: %d",ch->dpcmBank);
ImGui::Text("- sampleBank: %d",ch->sampleBank); ImGui::Text("- sampleBank: %d",ch->sampleBank);
ImGui::Text("- writeOscBuf: %d",ch->writeOscBuf); ImGui::Text("- writeOscBuf: %d",ch->writeOscBuf);
@ -504,7 +504,7 @@ void putDispatchChip(void* data, int type) {
ImGui::Text("* echo:"); ImGui::Text("* echo:");
ImGui::Text(" - delay: %d",ch->echoDelay); ImGui::Text(" - delay: %d",ch->echoDelay);
ImGui::Text(" - feedback: %d",ch->echoFeedback); ImGui::Text(" - feedback: %d",ch->echoFeedback);
ImGui::Text("- sampleMemLen: %d",ch->sampleMemLen); ImGui::Text("- sampleMemLen: %.8x",ch->sampleMemLen);
COMMON_CHIP_DEBUG_BOOL; COMMON_CHIP_DEBUG_BOOL;
break; break;
} }
@ -512,7 +512,7 @@ void putDispatchChip(void* data, int type) {
DivPlatformX1_010* ch=(DivPlatformX1_010*)data; DivPlatformX1_010* ch=(DivPlatformX1_010*)data;
ImGui::Text("> X1-010"); ImGui::Text("> X1-010");
COMMON_CHIP_DEBUG; COMMON_CHIP_DEBUG;
ImGui::Text("- sampleMemLen: %d",ch->sampleMemLen); ImGui::Text("- sampleMemLen: %.8x",ch->sampleMemLen);
ImGui::Text("- sampleBank: %d",ch->sampleBank); ImGui::Text("- sampleBank: %d",ch->sampleBank);
ImGui::Text("- bankSlot: [%d,%d,%d,%d,%d,%d,%d,%d]",ch->bankSlot[0],ch->bankSlot[1],ch->bankSlot[2],ch->bankSlot[3],ch->bankSlot[4],ch->bankSlot[5],ch->bankSlot[6],ch->bankSlot[7]); ImGui::Text("- bankSlot: [%d,%d,%d,%d,%d,%d,%d,%d]",ch->bankSlot[0],ch->bankSlot[1],ch->bankSlot[2],ch->bankSlot[3],ch->bankSlot[4],ch->bankSlot[5],ch->bankSlot[6],ch->bankSlot[7]);
COMMON_CHIP_DEBUG_BOOL; COMMON_CHIP_DEBUG_BOOL;