Clock Semaphore is now created with a value of '0' -PhracturedBlue
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@471 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
0.2:
|
0.2:
|
||||||
|
- Clock semaphore is now created with a value of 0 -PhracturedBlue
|
||||||
- Rewrote Semaphore debugging code to be more useful - PhracturedBlue
|
- Rewrote Semaphore debugging code to be more useful - PhracturedBlue
|
||||||
- Better fix for clearing load/save screen - fOSSiL
|
- Better fix for clearing load/save screen - fOSSiL
|
||||||
- Implemented bilinear scaling in pure SDL mode - Mika
|
- Implemented bilinear scaling in pure SDL mode - Mika
|
||||||
|
|||||||
@@ -264,6 +264,9 @@ InitGlobData (void)
|
|||||||
GLOBAL (glob_flags) = (BYTE)i;
|
GLOBAL (glob_flags) = (BYTE)i;
|
||||||
|
|
||||||
GLOBAL (DisplayArray) = DisplayArray;
|
GLOBAL (DisplayArray) = DisplayArray;
|
||||||
(GLOBAL (GameClock)).clock_sem = CreateSemaphore(1, "Clock");
|
// The clock semaphore was initially initialized as '1'
|
||||||
|
// but it is always cleared before set, so it toggled between
|
||||||
|
// 2 and 1, which doesn't actually do anything
|
||||||
|
(GLOBAL (GameClock)).clock_sem = CreateSemaphore(0, "Clock");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user