mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Remove unused declarations.
This commit is contained in:
@ -115,9 +115,6 @@ std::string StopMessage(bool bMainThread, std::string Message)
|
|||||||
|
|
||||||
void DisplayMessage(const std::string& message, int time_in_ms)
|
void DisplayMessage(const std::string& message, int time_in_ms)
|
||||||
{
|
{
|
||||||
SCoreStartupParameter& _CoreParameter =
|
|
||||||
SConfig::GetInstance().m_LocalCoreStartupParameter;
|
|
||||||
|
|
||||||
// Actually displaying non-ASCII could cause things to go pear-shaped
|
// Actually displaying non-ASCII could cause things to go pear-shaped
|
||||||
for (const char& c : message)
|
for (const char& c : message)
|
||||||
{
|
{
|
||||||
|
@ -154,6 +154,7 @@ static wxString cache_efb_copies_desc = wxTRANSLATE("Slightly speeds up EFB to R
|
|||||||
static wxString shader_errors_desc = wxTRANSLATE("Usually if shader compilation fails, an error message is displayed.\nHowever, one may skip the popups to allow interruption free gameplay by checking this option.\n\nIf unsure, leave this unchecked.");
|
static wxString shader_errors_desc = wxTRANSLATE("Usually if shader compilation fails, an error message is displayed.\nHowever, one may skip the popups to allow interruption free gameplay by checking this option.\n\nIf unsure, leave this unchecked.");
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__APPLE__)
|
||||||
// Search for available resolutions - TODO: Move to Common?
|
// Search for available resolutions - TODO: Move to Common?
|
||||||
static wxArrayString GetListOfResolutions()
|
static wxArrayString GetListOfResolutions()
|
||||||
{
|
{
|
||||||
@ -214,6 +215,7 @@ static wxArrayString GetListOfResolutions()
|
|||||||
#endif
|
#endif
|
||||||
return retlist;
|
return retlist;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, const std::string& _ininame)
|
VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, const std::string& _ininame)
|
||||||
: wxDialog(parent, -1,
|
: wxDialog(parent, -1,
|
||||||
|
@ -60,25 +60,6 @@ void DoState(PointerWrap &p)
|
|||||||
p.DoArray(g_pVideoData,writePos);
|
p.DoArray(g_pVideoData,writePos);
|
||||||
}
|
}
|
||||||
|
|
||||||
// does it matter that there is no synchronization between threads during writes?
|
|
||||||
static inline void WriteLow (u32& _reg, u16 lowbits)
|
|
||||||
{
|
|
||||||
_reg = (_reg & 0xFFFF0000) | lowbits;
|
|
||||||
}
|
|
||||||
static inline void WriteHigh(u32& _reg, u16 highbits)
|
|
||||||
{
|
|
||||||
_reg = (_reg & 0x0000FFFF) | ((u32)highbits << 16);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline u16 ReadLow(u32 _reg)
|
|
||||||
{
|
|
||||||
return (u16)(_reg & 0xFFFF);
|
|
||||||
}
|
|
||||||
static inline u16 ReadHigh(u32 _reg)
|
|
||||||
{
|
|
||||||
return (u16)(_reg >> 16);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void UpdateInterrupts_Wrapper(u64 userdata, int cyclesLate)
|
static void UpdateInterrupts_Wrapper(u64 userdata, int cyclesLate)
|
||||||
{
|
{
|
||||||
UpdateInterrupts(userdata);
|
UpdateInterrupts(userdata);
|
||||||
|
Reference in New Issue
Block a user