summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/winfile.cpp
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-03-12 12:31:13 +0100
committer ImJezze <jezze@gmx.net>2016-03-12 12:31:13 +0100
commita026a582f1a0ea8c1ede3acaddacef506ef3f3b0 (patch)
treee31573822f2359677de519f9f3b600d98e8764cd /src/osd/windows/winfile.cpp
parent477d2abd43984f076b7e45f5527591fa8fd0d241 (diff)
parentdcab55bf53b94713a6f72e9633f5101c8dd6c08c (diff)
Merge pull request #15 from mamedev/master
Sync to base master
Diffstat (limited to 'src/osd/windows/winfile.cpp')
-rw-r--r--src/osd/windows/winfile.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/osd/windows/winfile.cpp b/src/osd/windows/winfile.cpp
index e8fcc30ab2c..742f97363d6 100644
--- a/src/osd/windows/winfile.cpp
+++ b/src/osd/windows/winfile.cpp
@@ -290,19 +290,6 @@ file_error osd_fflush(osd_file *file)
if (!file || !file->handle)
return FILERR_FAILURE;
- switch (file->type)
- {
- case WINFILE_FILE:
- // attempt to flush file buffers
- if (!FlushFileBuffers(file->handle))
- return win_error_to_mame_file_error(GetLastError());
- break;
- case WINFILE_SOCKET:
- return FILERR_FAILURE;
- case WINFILE_PTTY:
- return FILERR_FAILURE;
-
- }
return FILERR_NONE;
}