add a chip playground
in debug menu
This commit is contained in:
parent
3ca7ebd1fc
commit
d691ec6d76
30 changed files with 226 additions and 0 deletions
|
|
@ -3927,6 +3927,20 @@ bool DivEngine::removeSystem(int index) {
|
|||
return true;
|
||||
}
|
||||
|
||||
void DivEngine::poke(int sys, unsigned int addr, unsigned short val) {
|
||||
if (sys<0 || sys>=song.systemLen) return;
|
||||
isBusy.lock();
|
||||
disCont[sys].dispatch->poke(addr,val);
|
||||
isBusy.unlock();
|
||||
}
|
||||
|
||||
void DivEngine::poke(int sys, std::vector<DivRegWrite>& wlist) {
|
||||
if (sys<0 || sys>=song.systemLen) return;
|
||||
isBusy.lock();
|
||||
disCont[sys].dispatch->poke(wlist);
|
||||
isBusy.unlock();
|
||||
}
|
||||
|
||||
String DivEngine::getLastError() {
|
||||
return lastError;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue