mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Good job Windows. Stop choosing the same names as I do.
This commit is contained in:
parent
39a7096711
commit
48927c17d2
@ -41,14 +41,14 @@ struct MESSAGE
|
|||||||
u32 dwTimeStamp;
|
u32 dwTimeStamp;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CALLBACK
|
class OSDCALLBACK
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
CallbackPtr m_functionptr;
|
CallbackPtr m_functionptr;
|
||||||
CallbackType m_type;
|
CallbackType m_type;
|
||||||
u32 m_data;
|
u32 m_data;
|
||||||
public:
|
public:
|
||||||
CALLBACK(CallbackType OnType, CallbackPtr FuncPtr, u32 UserData)
|
OSDCALLBACK(CallbackType OnType, CallbackPtr FuncPtr, u32 UserData)
|
||||||
{
|
{
|
||||||
m_type = OnType;
|
m_type = OnType;
|
||||||
m_functionptr = FuncPtr;
|
m_functionptr = FuncPtr;
|
||||||
@ -60,7 +60,7 @@ public:
|
|||||||
}
|
}
|
||||||
CallbackType Type() { return m_type; }
|
CallbackType Type() { return m_type; }
|
||||||
};
|
};
|
||||||
std::vector<CALLBACK> m_callbacks;
|
std::vector<OSDCALLBACK> m_callbacks;
|
||||||
static std::list<MESSAGE> s_listMsgs;
|
static std::list<MESSAGE> s_listMsgs;
|
||||||
|
|
||||||
void AddMessage(const char* pstr, u32 ms)
|
void AddMessage(const char* pstr, u32 ms)
|
||||||
@ -111,7 +111,7 @@ void ClearMessages()
|
|||||||
// On-Screen Display Callbacks
|
// On-Screen Display Callbacks
|
||||||
void AddCallback(CallbackType OnType, CallbackPtr FuncPtr, u32 UserData)
|
void AddCallback(CallbackType OnType, CallbackPtr FuncPtr, u32 UserData)
|
||||||
{
|
{
|
||||||
m_callbacks.push_back(CALLBACK(OnType, FuncPtr, UserData));
|
m_callbacks.push_back(OSDCALLBACK(OnType, FuncPtr, UserData));
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoCallbacks(CallbackType OnType)
|
void DoCallbacks(CallbackType OnType)
|
||||||
|
Loading…
Reference in New Issue
Block a user