mirror of https://github.com/mgba-emu/mgba.git
GBA: Improve accuracy of event timing
This commit is contained in:
parent
900dc3c13f
commit
535d179eb0
1
CHANGES
1
CHANGES
|
@ -73,6 +73,7 @@ Misc:
|
|||
- GBA Memory: Simplify memory API and use fixed bus width
|
||||
- GBA Video: Start video at the last scanline instead of the first
|
||||
- Debugger: Watchpoints now work on STM/LDM instructions
|
||||
- GBA: Improve accuracy of event timing
|
||||
|
||||
0.1.0: (2014-12-13)
|
||||
- Initial release
|
||||
|
|
|
@ -142,7 +142,7 @@ void GBASkipBIOS(struct ARMCore* cpu) {
|
|||
static void GBAProcessEvents(struct ARMCore* cpu) {
|
||||
do {
|
||||
struct GBA* gba = (struct GBA*) cpu->master;
|
||||
int32_t cycles = cpu->cycles;
|
||||
int32_t cycles = cpu->nextEvent;
|
||||
int32_t nextEvent = INT_MAX;
|
||||
int32_t testEvent;
|
||||
|
||||
|
|
Loading…
Reference in New Issue