Skip to content

Commit

Permalink
ps1: fix timer precision with recompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeUsher committed Aug 17, 2023
1 parent 21a730b commit 6c7bdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ares/ps1/cpu/cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ auto CPU::main() -> void {
}

auto CPU::step(u32 clocks) -> void {
timer.step(clocks);
Thread::clock += clocks;
}

auto CPU::synchronize() -> void {
timer.step(Thread::clock);
gpu.clock -= Thread::clock;
dma.clock -= Thread::clock;
disc.clock -= Thread::clock;
Expand Down

0 comments on commit 6c7bdf9

Please sign in to comment.