mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Build fix. Remove some obsolete code. Fix some compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6428 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -84,10 +84,7 @@ void Callback_VideoCopiedToXFB(bool video_update);
|
||||
void Callback_DSPLog(const TCHAR* _szMessage, int _v);
|
||||
const char *Callback_ISOName(void);
|
||||
void Callback_DSPInterrupt();
|
||||
void Callback_PADLog(const TCHAR* _szMessage);
|
||||
void Callback_WiimoteLog(const TCHAR* _szMessage, int _v);
|
||||
void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _pData, u32 _Size);
|
||||
bool Callback_RendererHasFocus(void);
|
||||
|
||||
// For keyboard shortcuts.
|
||||
void Callback_CoreMessage(int Id);
|
||||
@ -711,7 +708,7 @@ void Callback_VideoRequestWindowSize(int& x, int& y, int& width, int& height)
|
||||
|
||||
// Callback_DSPLog
|
||||
// WARNING - THIS MAY BE EXECUTED FROM DSP THREAD
|
||||
void Callback_DSPLog(const TCHAR* _szMessage, int _v)
|
||||
void Callback_DSPLog(const TCHAR* _szMessage, int _v)
|
||||
{
|
||||
GENERIC_LOG(LogTypes::AUDIO, (LogTypes::LOG_LEVELS)_v, _szMessage);
|
||||
}
|
||||
@ -725,15 +722,6 @@ void Callback_DSPInterrupt()
|
||||
}
|
||||
|
||||
|
||||
// Callback_PADLog
|
||||
//
|
||||
void Callback_PADLog(const TCHAR* _szMessage)
|
||||
{
|
||||
// FIXME add levels
|
||||
INFO_LOG(SERIALINTERFACE, _szMessage);
|
||||
}
|
||||
|
||||
|
||||
// Callback_ISOName: Let the DSP plugin get the game name
|
||||
//
|
||||
const char *Callback_ISOName()
|
||||
@ -752,17 +740,4 @@ void Callback_CoreMessage(int Id)
|
||||
Host_Message(Id);
|
||||
}
|
||||
|
||||
// Callback_WiimoteLog
|
||||
//
|
||||
void Callback_WiimoteLog(const TCHAR* _szMessage, int _v)
|
||||
{
|
||||
GENERIC_LOG(LogTypes::WIIMOTE, (LogTypes::LOG_LEVELS)_v, _szMessage);
|
||||
}
|
||||
|
||||
// Check to see if the renderer window has focus
|
||||
bool Callback_RendererHasFocus(void)
|
||||
{
|
||||
return Host_RendererHasFocus();
|
||||
}
|
||||
|
||||
} // Core
|
||||
|
@ -141,9 +141,9 @@ void DoState(PointerWrap &p)
|
||||
p.Do(g_CPUCyclesPerSample);
|
||||
}
|
||||
|
||||
void GenerateAudioInterrupt();
|
||||
void UpdateInterrupts();
|
||||
void IncreaseSampleCount(const u32 _uAmount);
|
||||
static void GenerateAudioInterrupt();
|
||||
static void UpdateInterrupts();
|
||||
static void IncreaseSampleCount(const u32 _uAmount);
|
||||
void ReadStreamBlock(s16* _pPCM);
|
||||
|
||||
void Init()
|
||||
|
@ -56,7 +56,7 @@ static ThunkManager thunks;
|
||||
using namespace IREmitter;
|
||||
using namespace Gen;
|
||||
|
||||
static const int MAX_NUMBER_OF_REGS = 16;
|
||||
static const unsigned int MAX_NUMBER_OF_REGS = 16;
|
||||
|
||||
struct RegInfo {
|
||||
JitIL *Jit;
|
||||
|
Reference in New Issue
Block a user