Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
pvr: ExitCriticalSection(g_graphicsContext) -> g_graphicsContext.exit()
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Jul 17, 2011
1 parent 31c00b8 commit 005c80e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/addons/AddonCallbacksGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1502,11 +1502,11 @@ bool CGUIAddonWindowDialog::OnMessage(CGUIMessage &message)

void CGUIAddonWindowDialog::Show(bool show /* = true */)
{
int count = ExitCriticalSection(g_graphicsContext);
unsigned int iCount = g_graphicsContext.exit();
ThreadMessage tMsg = {TMSG_GUI_ADDON_DIALOG, 1, show ? 1 : 0};
tMsg.lpVoid = this;
g_application.getApplicationMessenger().SendMessage(tMsg, true);
RestoreCriticalSection(g_graphicsContext, count);
g_graphicsContext.restore(iCount);
}

void CGUIAddonWindowDialog::Show_Internal(bool show /* = true */)
Expand Down

0 comments on commit 005c80e

Please sign in to comment.