- [NEW] Minim makefile

- [NEW] Sound stops while debugging
- [CHG] Now all sound related code is in the zx_ula module
This commit is contained in:
2024-04-17 22:41:29 +02:00
parent 9f67286779
commit e80de06d2c
5 changed files with 46 additions and 28 deletions

View File

@@ -82,8 +82,8 @@ namespace z80debug
z80debug::refresh();
}
void stop() { is_debugging = true; breakpoints[z80::getPC()] &= ~8; refresh(); }
void cont() { is_debugging = false; refresh();}
void stop() { zx_ula::sound_disable(); is_debugging = true; breakpoints[z80::getPC()] &= ~8; refresh(); }
void cont() { is_debugging = false; refresh(); zx_ula::sound_enable(); }
const bool debugging() { return is_debugging; }
void box(int x, int y, int w, int h, uint8_t color)