mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-07 14:26:40 +02:00
correctly set O_NONBLOCK in OSS
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
|||||||
|
|
||||||
if(!hasDevices().find(self.device)) self.device = hasDevices().first();
|
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;
|
if(_fd < 0) return false;
|
||||||
|
|
||||||
int cooked = 1;
|
int cooked = 1;
|
||||||
|
Reference in New Issue
Block a user