mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
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:
@ -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++)
|
||||
|
Reference in New Issue
Block a user