Add debug status support for PV1000
This commit is contained in:
parent
46bce25a34
commit
c3e6163794
|
@ -52,6 +52,7 @@
|
||||||
#include "../engine/platform/k007232.h"
|
#include "../engine/platform/k007232.h"
|
||||||
#include "../engine/platform/ga20.h"
|
#include "../engine/platform/ga20.h"
|
||||||
#include "../engine/platform/sm8521.h"
|
#include "../engine/platform/sm8521.h"
|
||||||
|
#include "../engine/platform/pv1000.h"
|
||||||
#include "../engine/platform/dummy.h"
|
#include "../engine/platform/dummy.h"
|
||||||
|
|
||||||
#define COMMON_CHIP_DEBUG \
|
#define COMMON_CHIP_DEBUG \
|
||||||
|
@ -537,6 +538,13 @@ void putDispatchChip(void* data, int type) {
|
||||||
ImGui::TextColored(ch->antiClickEnabled?colorOn:colorOff,">> AntiClickEnabled");
|
ImGui::TextColored(ch->antiClickEnabled?colorOn:colorOff,">> AntiClickEnabled");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case DIV_SYSTEM_PV1000: {
|
||||||
|
DivPlatformPV1000* ch=(DivPlatformPV1000*)data;
|
||||||
|
ImGui::Text("> PV1000");
|
||||||
|
COMMON_CHIP_DEBUG;
|
||||||
|
COMMON_CHIP_DEBUG_BOOL;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
ImGui::Text("Unimplemented chip! Help!");
|
ImGui::Text("Unimplemented chip! Help!");
|
||||||
break;
|
break;
|
||||||
|
@ -1068,6 +1076,14 @@ void putDispatchChan(void* data, int chanNum, int type) {
|
||||||
ImGui::TextColored(ch->volumeChanged?colorOn:colorOff,">> VolumeChanged");
|
ImGui::TextColored(ch->volumeChanged?colorOn:colorOff,">> VolumeChanged");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case DIV_SYSTEM_PV1000: {
|
||||||
|
DivPlatformPV1000::Channel* ch=(DivPlatformPV1000::Channel*)data;
|
||||||
|
ImGui::Text("> PV1000");
|
||||||
|
COMMON_CHAN_DEBUG;
|
||||||
|
COMMON_CHAN_DEBUG_BOOL;
|
||||||
|
ImGui::TextColored(ch->writeVol?colorOn:colorOff,">> WriteVol");
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
ImGui::Text("Unimplemented chip! Help!");
|
ImGui::Text("Unimplemented chip! Help!");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue