[Proxy] Run callbacks

This commit is contained in:
momo5502 2017-01-30 22:13:57 +01:00
parent 33c799b66e
commit 0820e55f45
3 changed files with 5 additions and 2 deletions

View File

@ -384,6 +384,9 @@ namespace Components
Friends::~Friends()
{
Steam::Proxy::UnregisterCallback(336);
Steam::Proxy::UnregisterCallback(304);
{
std::lock_guard<std::recursive_mutex> _(Friends::Mutex);
Friends::FriendsList.clear();

View File

@ -110,7 +110,7 @@ namespace Steam
printf("Callback dispatched: %d\n", message.m_iCallback);
#endif
//Steam::Callbacks::RunCallback(message.m_iCallback, message.m_pubParam);
Steam::Callbacks::RunCallback(message.m_iCallback, message.m_pubParam);
Proxy::RunCallback(message.m_iCallback, message.m_pubParam, message.m_cubParam);
Proxy::SteamFreeLastCallback(Proxy::SteamPipe);
}

View File

@ -129,7 +129,7 @@ namespace Steam
void SteamAPI_RunCallbacks()
{
Callbacks::RunCallbacks();
//Proxy::RunFrame();
Proxy::RunFrame();
}
void SteamAPI_Shutdown()