spu2x: indicate pitch modulation and noise enabled status in the visual debugger

This commit is contained in:
Robert Neumann 2016-10-16 14:15:12 +02:00
parent c284459382
commit f5e096a66f
1 changed files with 7 additions and 1 deletions

View File

@ -81,7 +81,13 @@ void UpdateDebugDialog()
SetDCBrushColor(hdc, RGB(0, 0, 0));
if ((vc.ADSR.Phase > 0) && (vc.ADSR.Phase < 6)) {
SetDCBrushColor(hdc, RGB(0, 0, 128));
SetDCBrushColor(hdc, RGB(0, 0, 128)); // light blue for playing voice
if (vc.Modulated) {
SetDCBrushColor(hdc, RGB(0, 128, 0)); // light green for playing voice with modulation enabled
}
if (vc.Noise) {
SetDCBrushColor(hdc, RGB(128, 0, 0)); // light red for playing voice with noise enabled
}
}
/*
else