Skip to content

Commit 96e9619

Browse files
author
Niko
committed
remove critical sections
1 parent e1d8b19 commit 96e9619

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

decompile/General/230/230_82_MM_Video_AllocMem.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,5 @@ void DECOMP_MM_Video_AllocMem(u_int width, u_short height, u_int flags, int size
5050
DecDCTReset(0);
5151

5252
DecDCTvlcSize2(V230.field25_0x48);
53-
54-
EnterCriticalSection();
55-
5653
DecDCToutCallback(&MM_Video_DecDCToutCallbackFunc);
57-
58-
ExitCriticalSection();
5954
}

decompile/General/MAIN/MainKillGame_00_StopCTR.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
void DECOMP_MainKillGame_StopCTR(void)
44
{
5-
// set callback and save callback
6-
EnterCriticalSection();
75
DrawSyncCallback(0);
8-
ExitCriticalSection();
9-
106
StopCallback();
117

128
#ifndef REBUILD_PC

decompile/General/MAIN/MainMain.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -767,11 +767,7 @@ void StateZero()
767767
gGT->trafficLightsTimer = 0xfffffc40;
768768

769769
DECOMP_Timer_Init();
770-
771-
// set callback and save callback
772-
EnterCriticalSection();
773770
DrawSyncCallback(&DECOMP_MainDrawCb_DrawSync);
774-
ExitCriticalSection();
775771

776772
DECOMP_MEMCARD_InitCard();
777773
VSync(0);

0 commit comments

Comments
 (0)