Merge branch 'master' of https://github.com/tildearrow/furnace into es5506_alt
This commit is contained in:
commit
429aed0ab1
86 changed files with 1718 additions and 283 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "../engine/platform/lynx.h"
|
||||
#include "../engine/platform/pcmdac.h"
|
||||
#include "../engine/platform/k007232.h"
|
||||
#include "../engine/platform/ga20.h"
|
||||
#include "../engine/platform/dummy.h"
|
||||
|
||||
#define COMMON_CHIP_DEBUG \
|
||||
|
|
@ -521,6 +522,14 @@ void putDispatchChip(void* data, int type) {
|
|||
ImGui::TextColored(ch->stereo?colorOn:colorOff,">> Stereo");
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_GA20: {
|
||||
DivPlatformGA20* ch=(DivPlatformGA20*)data;
|
||||
ImGui::Text("> GA20");
|
||||
COMMON_CHIP_DEBUG;
|
||||
ImGui::Text("- delay: %.2x",ch->delay);
|
||||
COMMON_CHIP_DEBUG_BOOL;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ImGui::Text("Unimplemented chip! Help!");
|
||||
break;
|
||||
|
|
@ -1024,6 +1033,20 @@ void putDispatchChan(void* data, int chanNum, int type) {
|
|||
ImGui::TextColored(ch->setPos?colorOn:colorOff,">> SetPos");
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_GA20: {
|
||||
DivPlatformGA20::Channel* ch=(DivPlatformGA20::Channel*)data;
|
||||
ImGui::Text("> GA20");
|
||||
COMMON_CHAN_DEBUG;
|
||||
ImGui::Text("- prevFreq: %d",ch->prevFreq);
|
||||
ImGui::Text("* Sample: %d",ch->sample);
|
||||
ImGui::Text(" - pos: %d",ch->audPos);
|
||||
ImGui::Text("- resVol: %.2x",ch->resVol);
|
||||
ImGui::Text("- macroVolMul: %.2x",ch->macroVolMul);
|
||||
COMMON_CHAN_DEBUG_BOOL;
|
||||
ImGui::TextColored(ch->volumeChanged?colorOn:colorOff,">> VolumeChanged");
|
||||
ImGui::TextColored(ch->setPos?colorOn:colorOff,">> SetPos");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ImGui::Text("Unimplemented chip! Help!");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue