mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 09:50:29 +00:00
Merge pull request #608 from thefarcry118/master
compiler warning and consts
This commit is contained in:
commit
29347b7bbb
@ -15,7 +15,6 @@
|
|||||||
// Official git repository and contact information can be found at
|
// Official git repository and contact information can be found at
|
||||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "Common/Log.h"
|
#include "Common/Log.h"
|
||||||
#include "Common/x64Emitter.h"
|
#include "Common/x64Emitter.h"
|
||||||
@ -81,7 +80,7 @@ void FPURegCache::ReleaseSpillLocks() {
|
|||||||
regs[i].locked = false;
|
regs[i].locked = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FPURegCache::BindToRegister(int i, bool doLoad, bool makeDirty) {
|
void FPURegCache::BindToRegister(const int i, bool doLoad, bool makeDirty) {
|
||||||
_assert_msg_(DYNA_REC, !regs[i].location.IsImm(), "WTF - load - imm");
|
_assert_msg_(DYNA_REC, !regs[i].location.IsImm(), "WTF - load - imm");
|
||||||
if (!regs[i].away) {
|
if (!regs[i].away) {
|
||||||
// Reg is at home in the memory register file. Let's pull it out.
|
// Reg is at home in the memory register file. Let's pull it out.
|
||||||
@ -206,4 +205,4 @@ void FPURegCache::FlushR(X64Reg reg) {
|
|||||||
if (xregs[reg].mipsReg != -1) {
|
if (xregs[reg].mipsReg != -1) {
|
||||||
StoreFromRegister(xregs[reg].mipsReg);
|
StoreFromRegister(xregs[reg].mipsReg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user