Skip to content

Commit

Permalink
update PSEMU/CPU.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherrytree56567 committed Oct 17, 2023
1 parent ea5ceb1 commit e7a492d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PSEMU/CPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class CPU {
Next_Instr.instruction = 0x0;
just_started = true;
sr = 0;
hi = 0;
lo = 0;
}

// CPU FUNCTIONS
Expand Down Expand Up @@ -72,6 +74,8 @@ class CPU {
Bus* bus;
uint32_t pc;
uint32_t regs[32];
uint32_t hi;
uint32_t lo;
Instruction Next_Instr;
bool just_started;
uint32_t sr; // COP0 Status Register
Expand Down

0 comments on commit e7a492d

Please sign in to comment.