VGM export: write resets and GD3 tag

may be non-standard compliant (yet)
also it crashes foobar2000 for some reason but this will be fixed
This commit is contained in:
tildearrow 2022-01-25 18:46:27 -05:00
parent c7ee0ce642
commit 8bcab6e139
17 changed files with 388 additions and 6 deletions

View file

@ -305,6 +305,9 @@ void DivPlatformGB::reset() {
for (int i=0; i<4; i++) {
chan[i]=DivPlatformGB::Channel();
}
if (dumpWrites) {
addWrite(0xffffffff,0);
}
memset(gb,0,sizeof(GB_gameboy_t));
gb->model=GB_MODEL_DMG_B;
GB_apu_init(gb);