Skip to content

Commit

Permalink
Merge pull request wheremyfoodat#384 from wheremyfoodat/hlep
Browse files Browse the repository at this point in the history
Test to fix android build
  • Loading branch information
wheremyfoodat authored Jan 25, 2024
2 parents 2ff5bff + 52accdd commit ca1c42c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
1 change: 0 additions & 1 deletion src/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ca1c42c

Please sign in to comment.