From 001cb1c0801cb812fa5ef2cf258301e95e78fc41 Mon Sep 17 00:00:00 2001 From: Godzil Date: Wed, 15 Jan 2020 18:11:39 +0000 Subject: [PATCH] Remove non standard flag. --- oswan/source/ws.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oswan/source/ws.cpp b/oswan/source/ws.cpp index 23362f6..d843920 100644 --- a/oswan/source/ws.cpp +++ b/oswan/source/ws.cpp @@ -354,7 +354,7 @@ int ws_loadState(char *statepath) unsigned value; uint8_t ws_newVideoMode; - int fp = open(statepath,O_BINARY|O_RDONLY); + int fp = open(statepath, O_RDONLY); if (fp == -1) { @@ -458,7 +458,7 @@ int ws_saveState(char *statepath) } } - int fp=open(newPath,O_BINARY|O_RDWR|O_CREAT); + int fp=open(newPath, O_RDWR|O_CREAT); delete newPath; if (fp==-1)