compile fix for cocoa port
This commit is contained in:
parent
3ed0604e12
commit
ae6f134406
|
@ -61,7 +61,6 @@ NULL
|
||||||
|
|
||||||
SoundInterface_struct *SNDCoreList[] = {
|
SoundInterface_struct *SNDCoreList[] = {
|
||||||
&SNDDummy,
|
&SNDDummy,
|
||||||
&SNDFile,
|
|
||||||
#ifdef DESMUME_COCOA
|
#ifdef DESMUME_COCOA
|
||||||
&SNDOSX,
|
&SNDOSX,
|
||||||
#endif
|
#endif
|
||||||
|
@ -1325,8 +1324,6 @@ bool opengl_init()
|
||||||
CGLLockContext((CGLContextObj)[gl_context CGLContextObj]);
|
CGLLockContext((CGLContextObj)[gl_context CGLContextObj]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
u32 cycles = 0;
|
|
||||||
|
|
||||||
NSDate *frame_start_date, *frame_end_date, *ideal_frame_end_date;
|
NSDate *frame_start_date, *frame_end_date, *ideal_frame_end_date;
|
||||||
|
|
||||||
int frames_to_skip = 0;
|
int frames_to_skip = 0;
|
||||||
|
@ -1349,7 +1346,7 @@ bool opengl_init()
|
||||||
|
|
||||||
[execution_lock lock];
|
[execution_lock lock];
|
||||||
|
|
||||||
cycles = NDS_exec<FALSE>((560190<<1)-cycles);
|
NDS_exec<false>();
|
||||||
|
|
||||||
[sound_lock lock];
|
[sound_lock lock];
|
||||||
int x;
|
int x;
|
||||||
|
|
Loading…
Reference in New Issue