Test to fix android build

This commit is contained in:
wheremyfoodat 2024-01-25 21:45:15 +02:00
parent f0c20d70bc
commit 52accdde43
2 changed files with 2 additions and 1 deletions

View file

@ -48,6 +48,8 @@ struct Scheduler {
// Clear any pending events
events.clear();
addEvent(Scheduler::EventType::VBlank, arm11Clock / 60);
// Add a dummy event to always keep the scheduler non-empty
addEvent(EventType::Panic, std::numeric_limits<u64>::max());
}

View file

@ -48,7 +48,6 @@ void Emulator::reset(ReloadOption reload) {
memory.reset();
// Reset scheduler and add a VBlank event
scheduler.reset();
scheduler.addEvent(Scheduler::EventType::VBlank, CPU::ticksPerSec / 60);
// Kernel must be reset last because it depends on CPU/Memory state
kernel.reset();