Some more nowx compile fixes thanks to tinctorius

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1810 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-01-06 17:14:04 +00:00
parent e4f8419be4
commit 34d47aab78
8 changed files with 21 additions and 23 deletions

View File

@ -45,6 +45,7 @@ CDebugger_Log* LogManager::m_Log[LogTypes::NUMBER_OF_LOGS + (LogManager::VERBOS
int LogManager::m_activeLog = LogTypes::MASTER_LOG; int LogManager::m_activeLog = LogTypes::MASTER_LOG;
bool LogManager::m_bDirty = true; bool LogManager::m_bDirty = true;
bool LogManager::m_bInitialized = false; bool LogManager::m_bInitialized = false;
CDebugger_LogSettings* LogManager::m_LogSettings = NULL;
///////////////////////// /////////////////////////

View File

@ -28,9 +28,6 @@
#include "Console.h" #include "Console.h"
#include "IniFile.h" #include "IniFile.h"
// declare this now to be able to use it in Load()
CDebugger_LogSettings* LogManager::m_LogSettings;
BEGIN_EVENT_TABLE(CLogWindow, wxDialog) BEGIN_EVENT_TABLE(CLogWindow, wxDialog)
EVT_BUTTON(IDM_SUBMITCMD, CLogWindow::OnSubmit) EVT_BUTTON(IDM_SUBMITCMD, CLogWindow::OnSubmit)
EVT_BUTTON(IDM_UPDATELOG, CLogWindow::OnUpdateLog) EVT_BUTTON(IDM_UPDATELOG, CLogWindow::OnUpdateLog)

View File

@ -37,15 +37,6 @@
#include "../Logging/Console.h" // open and close console #include "../Logging/Console.h" // open and close console
// externals that are needed even in Release builds
bool gSSBM = true;
bool gSSBMremedy1 = true;
bool gSSBMremedy2 = true;
bool gSequenced = true;
bool gVolume = true;
bool gReset = false;
// ======================================================================================= // =======================================================================================
// Declare events // Declare events
BEGIN_EVENT_TABLE(CDebugger,wxDialog) BEGIN_EVENT_TABLE(CDebugger,wxDialog)

View File

@ -57,6 +57,15 @@ void DebugLog(const char* _fmt, ...)
extern u8* g_pMemory; extern u8* g_pMemory;
// debugger externals that are needed even in Release builds
bool gSSBM = true;
bool gSSBMremedy1 = true;
bool gSSBMremedy2 = true;
bool gSequenced = true;
bool gVolume = true;
bool gReset = false;
float ratioFactor; // a global to get the ratio factor from MixAdd
// TODO: Wii support? Most likely audio data still must be in the old 24MB TRAM. // TODO: Wii support? Most likely audio data still must be in the old 24MB TRAM.
#define RAM_MASK 0x1FFFFFF #define RAM_MASK 0x1FFFFFF

View File

@ -31,6 +31,14 @@ void __Log_(int v, const char *fmt, ...);
#define LOG_(_v_, ...) #define LOG_(_v_, ...)
#endif #endif
extern bool gSSBM;
extern bool gSSBMremedy1;
extern bool gSSBMremedy2;
extern bool gSequenced;
extern bool gVolume;
extern bool gReset;
extern float ratioFactor; // a global to get the ratio factor from MixAdd
u8 Memory_Read_U8(u32 _uAddress); u8 Memory_Read_U8(u32 _uAddress);
u16 Memory_Read_U16(u32 _uAddress); u16 Memory_Read_U16(u32 _uAddress);
u32 Memory_Read_U32(u32 _uAddress); u32 Memory_Read_U32(u32 _uAddress);

View File

@ -45,15 +45,7 @@
#include "../UCodes/UCode_AX_Voice.h" #include "../UCodes/UCode_AX_Voice.h"
// Externals // Externals
extern bool gSSBM;
extern bool gSSBMremedy1;
extern bool gSSBMremedy2;
extern bool gSequenced;
extern bool gVolume;
extern bool gReset;
extern int nFiles; extern int nFiles;
float ratioFactor; // a global to get the ratio factor from MixAdd
extern CDebugger* m_frame; extern CDebugger* m_frame;
//int PBSize = 128; //int PBSize = 128;

View File

@ -5,8 +5,8 @@ import sys
name = "Plugin_PadSimple" name = "Plugin_PadSimple"
if not env['HAVE_X11']: if not (env['HAVE_X11'] or env['HAVE_WX']):
print name + " must have X11 to be build" print name + " must have X11 or WX to be build"
Return() Return()
if env['GLTEST']: if env['GLTEST']:

View File

@ -83,7 +83,7 @@ void DoDllDebugger()
//m_frame->Show(); //m_frame->Show();
} }
#else #else
void DllDebugger(HWND _hParent) { } void DllDebugger(HWND _hParent, bool Show) { }
void DoDllDebugger() { } void DoDllDebugger() { }
#endif #endif