Merge branch 'develop' of https://github.com/project64/project64 into develop
This commit is contained in:
commit
acda3f568f
|
@ -292,6 +292,8 @@
|
|||
#5440# "Disk seek timing:"
|
||||
#5441# "Turbo"
|
||||
#5442# "Slow"
|
||||
#5443# "Memory size (Known):"
|
||||
#5443# "Memory size (Unknown):"
|
||||
|
||||
// Core styles
|
||||
#540# "Interpreter"
|
||||
|
|
|
@ -161,7 +161,8 @@ bool CMipsMemoryVM::Initialize(bool SyncSystem)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!g_Settings->LoadDword(Game_RDRamSize, m_AllocatedRdramSize))
|
||||
bool RdbRamSet = g_Settings->LoadDword(Rdb_RDRamSize, m_AllocatedRdramSize);
|
||||
if (!g_Settings->LoadDword(Game_RDRamSize, m_AllocatedRdramSize) && !RdbRamSet)
|
||||
{
|
||||
m_AllocatedRdramSize = g_Settings->LoadDword(g_Settings->LoadBool(Game_Known) ? Default_RDRamSizeKnown : Default_RDRamSizeUnknown);
|
||||
}
|
||||
|
|
|
@ -10079,9 +10079,10 @@ void CX86RecompilerOps::SB_Const(uint32_t Value, uint32_t VAddr)
|
|||
|
||||
void CX86RecompilerOps::SB_Register(const asmjit::x86::Gp & Reg, uint32_t VAddr)
|
||||
{
|
||||
m_RegWorkingSet.SetX86Protected(GetIndexFromX86Reg(Reg), true);
|
||||
|
||||
if (VAddr < 0x80000000 || VAddr >= 0xC0000000)
|
||||
{
|
||||
m_RegWorkingSet.SetX86Protected(GetIndexFromX86Reg(Reg), true);
|
||||
asmjit::x86::Gp AddressReg = Map_TempReg(x86Reg_Unknown, -1, false, false);
|
||||
m_Assembler.MoveConstToX86reg(AddressReg, VAddr);
|
||||
CompileStoreMemoryValue(AddressReg, Reg, x86Reg_Unknown, 0, 8);
|
||||
|
@ -10189,10 +10190,10 @@ void CX86RecompilerOps::SH_Const(uint32_t Value, uint32_t VAddr)
|
|||
|
||||
void CX86RecompilerOps::SH_Register(const asmjit::x86::Gp & Reg, uint32_t VAddr)
|
||||
{
|
||||
m_RegWorkingSet.SetX86Protected(GetIndexFromX86Reg(Reg), true);
|
||||
|
||||
if (VAddr < 0x80000000 || VAddr >= 0xC0000000)
|
||||
{
|
||||
m_RegWorkingSet.SetX86Protected(GetIndexFromX86Reg(Reg), true);
|
||||
|
||||
asmjit::x86::Gp AddressReg = Map_TempReg(x86Reg_Unknown, -1, false, false);
|
||||
m_Assembler.MoveConstToX86reg(AddressReg, VAddr);
|
||||
CompileStoreMemoryValue(AddressReg, Reg, x86Reg_Unknown, 0, 16);
|
||||
|
@ -10706,9 +10707,10 @@ void CX86RecompilerOps::SW_Const(uint32_t Value, uint32_t VAddr)
|
|||
|
||||
void CX86RecompilerOps::SW_Register(const asmjit::x86::Gp & Reg, uint32_t VAddr)
|
||||
{
|
||||
m_RegWorkingSet.SetX86Protected(GetIndexFromX86Reg(Reg), true);
|
||||
|
||||
if (VAddr < 0x80000000 || VAddr >= 0xC0000000)
|
||||
{
|
||||
m_RegWorkingSet.SetX86Protected(GetIndexFromX86Reg(Reg), true);
|
||||
asmjit::x86::Gp AddressReg = Map_TempReg(x86Reg_Unknown, -1, false, false);
|
||||
m_Assembler.MoveConstToX86reg(AddressReg, VAddr);
|
||||
CompileStoreMemoryValue(AddressReg, Reg, x86Reg_Unknown, 0, 32);
|
||||
|
|
Loading…
Reference in New Issue