Nothing important, just cleaning my dev folder. (mostly formatting changes, removed a superfluous strlen from logging in ogl plugin)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2126 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-02-06 18:04:24 +00:00
parent 825919aaf8
commit 81631d8452
8 changed files with 22 additions and 29 deletions

View File

@ -56,11 +56,6 @@ struct CPUInfo
std::string Summarize();
};
extern CPUInfo cpu_info;
inline void DetectCPU() {cpu_info.Detect();}
#endif

View File

@ -31,5 +31,4 @@ void SaveSSEState();
void LoadSSEState();
void LoadDefaultSSEState();
#endif

View File

@ -238,14 +238,6 @@ namespace CPUCompare
}
Interpreter::_interpreterInstruction instr = GetInterpreterOp(inst);
ABI_CallFunctionC((void*)instr, inst.hex);
// This was added in revision 1954, I don't know what it does. MegaMan would hang if this was enabled.
/*
if (js.isLastInstruction)
{
MOV(32, R(EAX), M(&NPC));
WriteRfiExitDestInEAX();
}
*/
}
void Jit64::unknown_instruction(UGeckoInstruction inst)

View File

@ -14,13 +14,13 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "Common.h"
#include "AboutDolphin.h"
#include "svnrev.h"
#include "CPUDetect.h"
#include "../resources/dolphin_logo.cpp"
BEGIN_EVENT_TABLE(AboutDolphin, wxDialog)
EVT_CLOSE(AboutDolphin::OnClose)
EVT_BUTTON(ID_CLOSE, AboutDolphin::CloseClick)

View File

@ -102,8 +102,8 @@ bool DolphinApp::OnInit()
bool LoadElf = false; wxString ElfFile;
// Detect CPU info and write it to the cpu_info struct
DetectCPU();
//
cpu_info.Detect();
#if defined _DEBUG && defined _WIN32
int tmpflag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
tmpflag |= _CRTDBG_DELAY_FREE_MEM_DF;

View File

@ -196,7 +196,7 @@ int main(int argc, char* argv[])
std::string bootFile(args_info.inputs[0]);
updateMainFrameEvent.Init();
DetectCPU();
cpu_info.Detect();
BootManager::BootCore(bootFile);
while (PowerPC::state != PowerPC::CPU_POWERDOWN)
{