Initialize at reset

This commit is contained in:
cam900 2022-12-16 19:15:56 +09:00
parent 18364ed065
commit be48d15861

View file

@ -342,6 +342,7 @@ void DivPlatformGA20::reset() {
} }
memset(regPool,0,32); memset(regPool,0,32);
ga20.device_reset(); ga20.device_reset();
delay=0;
for (int i=0; i<4; i++) { for (int i=0; i<4; i++) {
chan[i]=DivPlatformGA20::Channel(); chan[i]=DivPlatformGA20::Channel();
chan[i].std.setEngine(parent); chan[i].std.setEngine(parent);