*Wait -> bool
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Oct 2014 01:13:55 -0700
2 files changed,
4 insertions(+),
4 deletions(-)
M
src/gba/gba-thread.h
→
src/gba/gba-thread.h
@@ -27,14 +27,14 @@ };
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; };
M
src/platform/sdl/gl-main.c
→
src/platform/sdl/gl-main.c
@@ -88,8 +88,8 @@ .renderer = &renderer.d.d,
.audioBuffers = 512, .startCallback = _GBASDLStart, .cleanCallback = _GBASDLClean, - .sync.videoFrameWait = 0, - .sync.audioWait = 1, + .sync.videoFrameWait = false, + .sync.audioWait = true, .userData = &renderer };