Compilation fix

This commit is contained in:
Nekotekina 2015-01-22 00:39:25 +03:00
parent 79d03ece66
commit 1a5d5c96ed
4 changed files with 4 additions and 4 deletions

View file

@ -115,7 +115,7 @@ void CPUThread::SetEntry(const u32 pc)
entry = pc; entry = pc;
} }
void CPUThread::NextPc(u8 instr_size) void CPUThread::NextPc(u32 instr_size)
{ {
if(m_is_branch) if(m_is_branch)
{ {

View file

@ -132,7 +132,7 @@ public:
int ThreadStatus(); int ThreadStatus();
void NextPc(u8 instr_size); void NextPc(u32 instr_size);
void SetBranch(const u32 pc, bool record_branch = false); void SetBranch(const u32 pc, bool record_branch = false);
void SetPc(const u32 pc); void SetPc(const u32 pc);
void SetEntry(const u32 entry); void SetEntry(const u32 entry);

View file

@ -6030,7 +6030,7 @@ ppu_recompiler_llvm::ExecutionEngine::~ExecutionEngine() {
} }
u8 ppu_recompiler_llvm::ExecutionEngine::DecodeMemory(const u32 address) { u32 ppu_recompiler_llvm::ExecutionEngine::DecodeMemory(const u32 address) {
ExecuteFunction(&m_ppu, 0); ExecuteFunction(&m_ppu, 0);
return 0; return 0;
} }

View file

@ -1128,7 +1128,7 @@ namespace ppu_recompiler_llvm {
ExecutionEngine & operator = (const ExecutionEngine & other) = delete; ExecutionEngine & operator = (const ExecutionEngine & other) = delete;
ExecutionEngine & operator = (ExecutionEngine && other) = delete; ExecutionEngine & operator = (ExecutionEngine && other) = delete;
u8 DecodeMemory(const u32 address) override; u32 DecodeMemory(const u32 address) override;
private: private:
/// PPU processor context /// PPU processor context