[Project64] Misc code clean up
This commit is contained in:
parent
5dca0c80a5
commit
1dd05282d8
|
@ -18,12 +18,10 @@ CSystemEvents::CSystemEvents(CN64System * System, CPlugins * Plugins) :
|
|||
m_Plugins(Plugins),
|
||||
m_bDoSomething(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CSystemEvents::~CSystemEvents()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CSystemEvents::QueueEvent(SystemEvent action)
|
||||
|
|
|
@ -117,7 +117,7 @@ private:
|
|||
void StartEmulation2(bool NewThread);
|
||||
bool SetActiveSystem(bool bActive = true);
|
||||
void InitRegisters(bool bPostPif, CMipsMemoryVM & MMU);
|
||||
void DisplayRSPListCount();
|
||||
void DisplayRSPListCount();
|
||||
|
||||
//CPU Methods
|
||||
void ExecuteRecompiler();
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
uint32_t CRegInfo::m_fpuControl = 0;
|
||||
|
||||
char *Format_Name[] = { "Unknown", "dword", "qword", "float", "double" };
|
||||
const char *Format_Name[] = { "Unknown", "dword", "qword", "float", "double" };
|
||||
|
||||
CRegInfo::CRegInfo() :
|
||||
m_CycleCount(0),
|
||||
|
@ -531,7 +531,7 @@ CX86Ops::x86Reg CRegInfo::UnMap_8BitTempReg()
|
|||
for (count = 0; count < 10; count++)
|
||||
{
|
||||
if (!Is8BitReg((x86Reg)count)) { continue; }
|
||||
if (GetMipsRegState((x86Reg)count) == Temp_Mapped)
|
||||
if (GetX86Mapped((x86Reg)count) == Temp_Mapped)
|
||||
{
|
||||
if (GetX86Protected((x86Reg)count) == false)
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "stdafx.h"
|
||||
#include <Project64-core/N64System/SystemGlobals.h>
|
||||
#include <Project64-core/N64System/Mips/MemoryVirtualMem.h>
|
||||
#include "X86ops.h"
|
||||
#include <Project64-core/N64System/Recompiler/X86ops.h>
|
||||
#include "x86CodeLog.h"
|
||||
|
||||
#define PUTDST8(dest,value) (*((uint8_t *)(dest))=(uint8_t)(value)); dest += 1;
|
||||
|
@ -211,7 +211,7 @@ void CX86Ops::X86BreakPoint(const char * FileName, int LineNumber)
|
|||
Pushad();
|
||||
PushImm32(stdstr_f("%d", LineNumber).c_str(), LineNumber);
|
||||
PushImm32(FileName, (uint32_t)FileName);
|
||||
Call_Direct(BreakPointNotification, "BreakPointNotification");
|
||||
Call_Direct((void *)BreakPointNotification, "BreakPointNotification");
|
||||
AddConstToX86Reg(x86_ESP, 8);
|
||||
Popad();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue