*Wait -> bool

This commit is contained in:
Jeffrey Pfau 2014-10-19 01:13:55 -07:00
parent 0a946a0b43
commit 894cc3783b
2 changed files with 4 additions and 4 deletions
src
gba
platform/sdl

View File

@ -27,14 +27,14 @@ enum ThreadState {
struct GBASync {
int videoFramePending;
int videoFrameWait;
bool videoFrameWait;
int videoFrameSkip;
bool videoFrameOn;
Mutex videoFrameMutex;
Condition videoFrameAvailableCond;
Condition videoFrameRequiredCond;
int audioWait;
bool audioWait;
Condition audioRequiredCond;
Mutex audioBufferMutex;
};

View File

@ -88,8 +88,8 @@ int main(int argc, char** argv) {
.audioBuffers = 512,
.startCallback = _GBASDLStart,
.cleanCallback = _GBASDLClean,
.sync.videoFrameWait = 0,
.sync.audioWait = 1,
.sync.videoFrameWait = false,
.sync.audioWait = true,
.userData = &renderer
};