summaryrefslogtreecommitdiff
blob: ba035ef57b78d2b1906fb883da4a74be5eae2f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- emu.c	2009-03-11 23:10:09.000000000 +0000
+++ emu.c	2009-03-11 23:17:13.000000000 +0000
@@ -1271,7 +1271,7 @@
   gamegenie = 0;
 
   /* check for the default output device */
-  if ((audiofd = open (DSP, O_CREAT | O_WRONLY | O_APPEND)) < 0)
+  if ((audiofd = open (DSP, O_CREAT | O_WRONLY | O_APPEND, 0666)) < 0)
     sound_config.audiofile = NULL;
   else {
     sound_config.audiofile = DSP;