Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Good job Windows. Stop choosing the same names as I do.
  • Loading branch information
Sonicadvance1 committed Apr 13, 2013
1 parent 39a7096 commit 48927c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Core/VideoCommon/Src/OnScreenDisplay.cpp
Expand Up @@ -41,14 +41,14 @@ struct MESSAGE
u32 dwTimeStamp;
};

class CALLBACK
class OSDCALLBACK
{
private:
CallbackPtr m_functionptr;
CallbackType m_type;
u32 m_data;
public:
CALLBACK(CallbackType OnType, CallbackPtr FuncPtr, u32 UserData)
OSDCALLBACK(CallbackType OnType, CallbackPtr FuncPtr, u32 UserData)
{
m_type = OnType;
m_functionptr = FuncPtr;
Expand All @@ -60,7 +60,7 @@ class CALLBACK
}
CallbackType Type() { return m_type; }
};
std::vector<CALLBACK> m_callbacks;
std::vector<OSDCALLBACK> m_callbacks;
static std::list<MESSAGE> s_listMsgs;

void AddMessage(const char* pstr, u32 ms)
Expand Down Expand Up @@ -111,7 +111,7 @@ void ClearMessages()
// On-Screen Display Callbacks
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)
Expand Down

0 comments on commit 48927c1

Please sign in to comment.