mirror of https://github.com/mgba-emu/mgba.git
GBA SIO: Who wrote this code? Oh, me
This commit is contained in:
parent
222d48efe7
commit
54b9fbd881
|
@ -463,7 +463,7 @@ static void _GBASIOLockstepNodeProcessEvents(struct mTiming* timing, void* user,
|
||||||
struct GBASIOLockstepNode* node = user;
|
struct GBASIOLockstepNode* node = user;
|
||||||
mLockstepLock(&node->p->d);
|
mLockstepLock(&node->p->d);
|
||||||
|
|
||||||
int32_t cycles = cycles = node->nextEvent;
|
int32_t cycles = node->nextEvent;
|
||||||
node->nextEvent -= cyclesLate;
|
node->nextEvent -= cyclesLate;
|
||||||
node->eventDiff += cyclesLate;
|
node->eventDiff += cyclesLate;
|
||||||
if (node->p->d.attached < 2) {
|
if (node->p->d.attached < 2) {
|
||||||
|
|
Loading…
Reference in New Issue