Linux: Compiling with nowx=true now builds the entire project without WX, this isn't tested in Windows so it's always on via Common.h, You can test/fix it yourself that way. Also fixed Compiling again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-10-04 07:57:28 +00:00
parent 3d475abf2b
commit 9a3ebd0c3b
22 changed files with 135 additions and 101 deletions

View File

@ -27,14 +27,17 @@
#include "UCode_AXStructs.h"
#include "UCode_AX.h"
#ifdef USE_WX
#include "../Debugger/Debugger.h"
// ---------------------------------------------------------------------------------------
#endif
float ratioFactor;
// Externals
// -----------
extern float ratioFactor;
extern u32 gLastBlock;
#ifdef USE_WX
extern CDebugger* m_frame;
// -----------
#endif
CUCode_AX::CUCode_AX(CMailHandler& _rMailHandler, bool wii)
: IUCode(_rMailHandler)
@ -140,10 +143,12 @@ void CUCode_AX::MixAdd(short* _pBuffer, int _iSize)
#endif
// write logging data to debugger
#ifdef USE_WX
if(m_frame)
{
CUCode_AX::Logging(_pBuffer, _iSize, 0);
}
#endif
for (int i = 0; i < numberOfPBs; i++)