mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-06 16:26:38 +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();
|
||||
|
||||
_fd = open(self.device, O_WRONLY, O_NONBLOCK);
|
||||
_fd = open(self.device, O_WRONLY | O_NONBLOCK);
|
||||
if(_fd < 0) return false;
|
||||
|
||||
int cooked = 1;
|
||||
|
Reference in New Issue
Block a user