summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IOFile.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-11-10 17:29:43 -0600
committerGitHub <noreply@github.com>2025-11-10 17:29:43 -0600
commitf51eaf3282416157af1f58f4803c683dcae7e70f (patch)
tree1218824f42541a80591317b3b629923b007d111a /Source/Core/Common/IOFile.cpp
parentcd4902f0ed68ffac9f1e4ab853f37eefa34e6ae2 (diff)
parent9e2fc7f4ddba14b1e7123d1654b385b21c71c744 (diff)
Merge pull request #14052 from jordan-woyak/DirectIOFile
Common and DiscIO: Introduce a thread safe DirectIOFile and make BlobReader implementations use it.
Diffstat (limited to 'Source/Core/Common/IOFile.cpp')
-rw-r--r--Source/Core/Common/IOFile.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/Core/Common/IOFile.cpp b/Source/Core/Common/IOFile.cpp
index cc22979bbe..cf7762ea68 100644
--- a/Source/Core/Common/IOFile.cpp
+++ b/Source/Core/Common/IOFile.cpp
@@ -101,15 +101,6 @@ bool IOFile::Close()
return m_good;
}
-IOFile IOFile::Duplicate(const char openmode[]) const
-{
-#ifdef _WIN32
- return IOFile(_fdopen(_dup(_fileno(m_file)), openmode));
-#else // _WIN32
- return IOFile(fdopen(dup(fileno(m_file)), openmode));
-#endif // _WIN32
-}
-
void IOFile::SetHandle(std::FILE* file)
{
Close();