Fix parallel-rdp integration and reset whole state upon loading rom

This commit is contained in:
CocoSimone
2022-08-13 11:44:35 +02:00
parent ed34d9c9ba
commit e2313c212c
41 changed files with 250 additions and 92 deletions

View File

@@ -1,22 +1,19 @@
#pragma once
#include <Registers.hpp>
#include <Mem.hpp>
#ifndef NDEBUG
#include <capstone/capstone.h>
#endif
namespace n64 {
struct Cpu {
Cpu();
~Cpu();
void Reset();
void Step(Mem&);
Registers regs;
private:
#ifndef NDEBUG
csh handle{};
cs_insn *insn = nullptr;
size_t count{};
#endif
friend struct Cop1;
void LogInstruction(u32);