Debug improvements

Add oscilloscope debug, Hideable sample debug
This commit is contained in:
cam900 2022-05-03 10:20:20 +09:00
parent 66f6ab4307
commit 3f0c83eb45
3 changed files with 92 additions and 33 deletions

View file

@ -222,15 +222,19 @@ struct DivRegWrite {
};
struct DivDispatchOscBuffer {
bool follow;
unsigned int rate;
unsigned short needle;
unsigned short readNeedle;
unsigned short followNeedle;
short data[65536];
DivDispatchOscBuffer():
follow(true),
rate(65536),
needle(0),
readNeedle(0) {
readNeedle(0),
followNeedle(0) {
memset(data,0,65536*sizeof(short));
}
};