Skip to content

Commit

Permalink
CPU: Remove totalTicks (unused since scheduler was added)
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Feb 11, 2024
1 parent 51e2ef8 commit 3c25be4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/cpu_dynarmic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class CPU;
class MyEnvironment final : public Dynarmic::A32::UserCallbacks {
public:
u64 ticksLeft = 0;
u64 totalTicks = 0;
Memory& mem;
Kernel& kernel;
Scheduler& scheduler;
Expand Down
1 change: 0 additions & 1 deletion src/core/CPU/cpu_dynarmic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ CPU::CPU(Memory& mem, Kernel& kernel, Emulator& emu) : mem(mem), emu(emu), sched
void CPU::reset() {
setCPSR(CPSR::UserMode);
setFPSCR(FPSCR::MainThreadDefault);
env.totalTicks = 0;

cp15->reset();
cp15->setTLSBase(VirtualAddrs::TLSBase); // Set cp15 TLS pointer to the main thread's thread-local storage
Expand Down

0 comments on commit 3c25be4

Please sign in to comment.