ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/sys_darwin.cpp
(Generate patch)

Comparing BasiliskII/src/MacOSX/sys_darwin.cpp (file contents):
Revision 1.15 by asvitkine, 2008-07-20T07:38:27Z vs.
Revision 1.16 by asvitkine, 2012-04-21T16:02:05Z

# Line 66 | Line 66 | extern void SysMediaRemoved(const char *
66  
67   void DarwinSysInit(void)
68   {
69 <        media_thread_active = (pthread_create(&media_thread, NULL, media_poll_func, NULL) == 0);
70 <        D(bug("Media poll thread installed (%ld)\n", media_thread));
69 >        if (!PrefsFindBool("nocdrom")) {
70 >                media_thread_active = (pthread_create(&media_thread, NULL, media_poll_func, NULL) == 0);
71 >                D(bug("Media poll thread installed (%ld)\n", media_thread));
72 >        }
73   }
74  
75  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines