mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 06:35:40 +12:00
CPU: Remove totalTicks (unused since scheduler was added)
This commit is contained in:
parent
51e2ef893c
commit
3c25be4c63
2 changed files with 0 additions and 2 deletions
|
@ -17,7 +17,6 @@ class CPU;
|
||||||
class MyEnvironment final : public Dynarmic::A32::UserCallbacks {
|
class MyEnvironment final : public Dynarmic::A32::UserCallbacks {
|
||||||
public:
|
public:
|
||||||
u64 ticksLeft = 0;
|
u64 ticksLeft = 0;
|
||||||
u64 totalTicks = 0;
|
|
||||||
Memory& mem;
|
Memory& mem;
|
||||||
Kernel& kernel;
|
Kernel& kernel;
|
||||||
Scheduler& scheduler;
|
Scheduler& scheduler;
|
||||||
|
|
|
@ -21,7 +21,6 @@ CPU::CPU(Memory& mem, Kernel& kernel, Emulator& emu) : mem(mem), emu(emu), sched
|
||||||
void CPU::reset() {
|
void CPU::reset() {
|
||||||
setCPSR(CPSR::UserMode);
|
setCPSR(CPSR::UserMode);
|
||||||
setFPSCR(FPSCR::MainThreadDefault);
|
setFPSCR(FPSCR::MainThreadDefault);
|
||||||
env.totalTicks = 0;
|
|
||||||
|
|
||||||
cp15->reset();
|
cp15->reset();
|
||||||
cp15->setTLSBase(VirtualAddrs::TLSBase); // Set cp15 TLS pointer to the main thread's thread-local storage
|
cp15->setTLSBase(VirtualAddrs::TLSBase); // Set cp15 TLS pointer to the main thread's thread-local storage
|
||||||
|
|
Loading…
Add table
Reference in a new issue