Virtual Boy: this works?!

This commit is contained in:
tildearrow 2023-11-20 17:32:33 -05:00
parent bb1cbbc403
commit cf84be0b71

View file

@ -96,7 +96,7 @@ const char** DivPlatformVB::getRegisterSheet() {
void DivPlatformVB::acquire(short** buf, size_t len) { void DivPlatformVB::acquire(short** buf, size_t len) {
for (size_t h=0; h<len; h++) { for (size_t h=0; h<len; h++) {
cycles=0; cycles=0;
while (!writes.empty()) { if (!writes.empty()) {
QueuedWrite w=writes.front(); QueuedWrite w=writes.front();
vb->Write(cycles,w.addr,w.val); vb->Write(cycles,w.addr,w.val);
regPool[w.addr>>2]=w.val; regPool[w.addr>>2]=w.val;