mirror of https://github.com/bsnes-emu/bsnes.git
correctly set O_NONBLOCK in OSS
This commit is contained in:
parent
d4e1c34d0b
commit
09100f5d88
|
@ -84,7 +84,7 @@ private:
|
|||
|
||||
if(!hasDevices().find(self.device)) self.device = hasDevices().first();
|
||||
|
||||
_fd = open(self.device, O_WRONLY, O_NONBLOCK);
|
||||
_fd = open(self.device, O_WRONLY | O_NONBLOCK);
|
||||
if(_fd < 0) return false;
|
||||
|
||||
int cooked = 1;
|
||||
|
|
Loading…
Reference in New Issue