Prepare for NMK112 bankswitching support
This commit is contained in:
parent
65cd433ac7
commit
5aeeb09616
4 changed files with 164 additions and 41 deletions
|
|
@ -55,6 +55,7 @@
|
|||
#include "../engine/platform/pv1000.h"
|
||||
#include "../engine/platform/k053260.h"
|
||||
#include "../engine/platform/c140.h"
|
||||
#include "../engine/platform/msm6295.h"
|
||||
#include "../engine/platform/dummy.h"
|
||||
|
||||
#define COMMON_CHIP_DEBUG \
|
||||
|
|
@ -554,6 +555,18 @@ void putDispatchChip(void* data, int type) {
|
|||
COMMON_CHIP_DEBUG_BOOL;
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_MSM6295: {
|
||||
DivPlatformMSM6295* ch=(DivPlatformMSM6295*)data;
|
||||
ImGui::Text("> MSM6295");
|
||||
COMMON_CHIP_DEBUG;
|
||||
ImGui::Text("- delay: %d",ch->delay);
|
||||
ImGui::Text("- updateOsc: %d",ch->updateOsc);
|
||||
COMMON_CHIP_DEBUG_BOOL;
|
||||
ImGui::TextColored(ch->rateSel?colorOn:colorOff,">> RateSel");
|
||||
ImGui::TextColored(ch->rateSelInit?colorOn:colorOff,">> rateSelInit");
|
||||
ImGui::TextColored(ch->isBanked?colorOn:colorOff,">> IsBanked");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ImGui::Text("Unimplemented chip! Help!");
|
||||
break;
|
||||
|
|
@ -1092,6 +1105,15 @@ void putDispatchChan(void* data, int chanNum, int type) {
|
|||
ImGui::TextColored(ch->setPos?colorOn:colorOff,">> SetPos");
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_MSM6295: {
|
||||
DivPlatformMSM6295::Channel* ch=(DivPlatformMSM6295::Channel*)data;
|
||||
ImGui::Text("> MSM6295");
|
||||
COMMON_CHAN_DEBUG;
|
||||
ImGui::Text("* Sample: %d",ch->sample);
|
||||
COMMON_CHAN_DEBUG_BOOL;
|
||||
ImGui::TextColored(ch->furnacePCM?colorOn:colorOff,">> FurnacePCM");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ImGui::Text("Unimplemented chip! Help!");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue