CodeWindow: Made boot to pause optional, readded the tooltips in the Release build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1784 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-01-05 02:52:55 +00:00
parent 6359f53343
commit 6c57f63280
9 changed files with 343 additions and 592 deletions

View File

@ -35,7 +35,7 @@ struct SCoreStartupParameter
void* hMainWindow;
// flags
bool bEnableDebugging; bool bAutomaticStart;
bool bEnableDebugging; bool bAutomaticStart; bool bBootToPause;
bool bUseJIT;
bool bJITUnlimitedCache, bJITOff; // JIT

View File

@ -27,9 +27,21 @@
// * A flush simply does a conditional write to the appropriate CRx.
// * If flag available, branch code can become absolutely trivial.
//////////////////////////////////////////////////////////////////////////////////////////
// Settings
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define JIT_OFF_OPTIONS // Compile with JIT off options
////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
// Include
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#ifdef JITTEST
#include "../Jit64IL/Jit.h"
#include "../Jit64IL/Jit.h"
#else
#ifndef _JIT_H
#define _JIT_H
@ -40,29 +52,40 @@
#include "x64Analyzer.h"
#ifdef _WIN32
#include <windows.h>
#endif
///////////////////////////////////
#include <windows.h>
#else
//////////////////////////////////////////////////////////////////////////////////////////
// Declarations and definitions
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// A bit of a hack to get things building under linux. We manually fill in this structure as needed
// from the real context.
struct CONTEXT
{
#ifdef _M_X64
u64 Rip;
u64 Rax;
#else
u32 Eip;
u32 Eax;
#endif
};
void Jit(u32 em_address);
#ifndef _WIN32
// A bit of a hack to get things building under linux. We manually fill in this structure as needed
// from the real context.
struct CONTEXT
{
#ifdef _M_X64
u64 Rip;
u64 Rax;
#else
u32 Eip;
u32 Eax;
#endif
};
#endif
// Use these to control the instruction selection
// #define INSTRUCTION_START Default(inst); return;
// #define INSTRUCTION_START PPCTables::CountInstruction(inst);
#define INSTRUCTION_START
///////////////////////////////////
class TrampolineCache : public Gen::XCodeBlock
{
@ -292,7 +315,5 @@ public:
extern Jit64 jit;
void Jit(u32 em_address);
#endif
#endif
#endif // _JIT_H
#endif // JITTEST