Fix inverted nocdrom check that was causing CDs not to mount.

This commit is contained in:
Alexei Svitkine 2012-06-30 21:27:09 -04:00
parent 58f4fa8425
commit 889c88d6c8

View File

@ -66,7 +66,7 @@ extern void SysMediaRemoved(const char *path, int type);
void DarwinSysInit(void)
{
if (PrefsFindBool("nocdrom")) {
if (!PrefsFindBool("nocdrom")) {
media_thread_active = (pthread_create(&media_thread, NULL, media_poll_func, NULL) == 0);
D(bug("Media poll thread installed (%ld)\n", media_thread));
}