diff --git a/Source/Core/AudioCommon/WaveFile.cpp b/Source/Core/AudioCommon/WaveFile.cpp index e870c8a487..efc21594e3 100644 --- a/Source/Core/AudioCommon/WaveFile.cpp +++ b/Source/Core/AudioCommon/WaveFile.cpp @@ -7,8 +7,8 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/AudioCommon/WaveFile.h b/Source/Core/AudioCommon/WaveFile.h index bd34046878..be8709cce1 100644 --- a/Source/Core/AudioCommon/WaveFile.h +++ b/Source/Core/AudioCommon/WaveFile.h @@ -18,7 +18,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" class WaveFileWriter { diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index 7656fd1f58..14a1863fcf 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -43,8 +43,6 @@ add_library(common ENetUtil.cpp ENetUtil.h Event.h - File.cpp - File.h FileSearch.cpp FileSearch.h FileUtil.cpp @@ -66,6 +64,8 @@ add_library(common IniFile.cpp IniFile.h Inline.h + IOFile.cpp + IOFile.h JitRegister.cpp JitRegister.h Lazy.h @@ -106,10 +106,10 @@ add_library(common SDCardUtil.cpp SDCardUtil.h Semaphore.h - SFMLHelper.cpp - SFMLHelper.h SettingsHandler.cpp SettingsHandler.h + SFMLHelper.cpp + SFMLHelper.h SPSCQueue.h StringUtil.cpp StringUtil.h diff --git a/Source/Core/Common/Common.vcxproj b/Source/Core/Common/Common.vcxproj index 07e040b626..e25075a60c 100644 --- a/Source/Core/Common/Common.vcxproj +++ b/Source/Core/Common/Common.vcxproj @@ -53,7 +53,6 @@ - @@ -124,6 +123,7 @@ + @@ -194,7 +194,6 @@ - @@ -216,6 +215,7 @@ + diff --git a/Source/Core/Common/Common.vcxproj.filters b/Source/Core/Common/Common.vcxproj.filters index ec4dc86c9d..6656e6fd0c 100644 --- a/Source/Core/Common/Common.vcxproj.filters +++ b/Source/Core/Common/Common.vcxproj.filters @@ -261,7 +261,7 @@ GL\GLExtensions - + diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index a8efba97c3..04d41cd118 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -20,8 +20,8 @@ #include "Common/CommonFuncs.h" #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #ifdef _WIN32 diff --git a/Source/Core/Common/File.cpp b/Source/Core/Common/IOFile.cpp similarity index 98% rename from Source/Core/Common/File.cpp rename to Source/Core/Common/IOFile.cpp index c601eb33f2..9d59341cd6 100644 --- a/Source/Core/Common/File.cpp +++ b/Source/Core/Common/IOFile.cpp @@ -22,8 +22,8 @@ #endif #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" namespace File { diff --git a/Source/Core/Common/File.h b/Source/Core/Common/IOFile.h similarity index 100% rename from Source/Core/Common/File.h rename to Source/Core/Common/IOFile.h diff --git a/Source/Core/Common/Image.cpp b/Source/Core/Common/Image.cpp index 0621eb64d4..95baf5039f 100644 --- a/Source/Core/Common/Image.cpp +++ b/Source/Core/Common/Image.cpp @@ -10,7 +10,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" namespace Common { diff --git a/Source/Core/Common/JitRegister.cpp b/Source/Core/Common/JitRegister.cpp index 1dcf999f3a..2163bf6417 100644 --- a/Source/Core/Common/JitRegister.cpp +++ b/Source/Core/Common/JitRegister.cpp @@ -13,7 +13,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/StringUtil.h" #ifdef _WIN32 diff --git a/Source/Core/Common/LinearDiskCache.h b/Source/Core/Common/LinearDiskCache.h index 43af78eb3d..d8bef3f293 100644 --- a/Source/Core/Common/LinearDiskCache.h +++ b/Source/Core/Common/LinearDiskCache.h @@ -11,7 +11,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Version.h" // On disk format: diff --git a/Source/Core/Common/PcapFile.cpp b/Source/Core/Common/PcapFile.cpp index 0d9ce9a5a3..540f641d54 100644 --- a/Source/Core/Common/PcapFile.cpp +++ b/Source/Core/Common/PcapFile.cpp @@ -5,7 +5,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/PcapFile.h" namespace Common diff --git a/Source/Core/Common/PcapFile.h b/Source/Core/Common/PcapFile.h index e01c06bb11..dae0c1b2bb 100644 --- a/Source/Core/Common/PcapFile.h +++ b/Source/Core/Common/PcapFile.h @@ -17,7 +17,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" namespace Common { diff --git a/Source/Core/Common/SDCardUtil.cpp b/Source/Core/Common/SDCardUtil.cpp index 5c0747436f..218db1bab0 100644 --- a/Source/Core/Common/SDCardUtil.cpp +++ b/Source/Core/Common/SDCardUtil.cpp @@ -43,7 +43,7 @@ #include "Common/CommonFuncs.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #ifndef _WIN32 diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index cb1e795a1c..b56d7981cf 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -28,8 +28,8 @@ namespace fs = std::filesystem; #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" #include "Common/Config/Config.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/Boot/DolReader.cpp b/Source/Core/Core/Boot/DolReader.cpp index 61b8c64213..249fa65d8e 100644 --- a/Source/Core/Core/Boot/DolReader.cpp +++ b/Source/Core/Core/Boot/DolReader.cpp @@ -9,7 +9,7 @@ #include #include -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Swap.h" #include "Core/HW/Memmap.h" diff --git a/Source/Core/Core/Boot/ElfReader.cpp b/Source/Core/Core/Boot/ElfReader.cpp index 35abe4f6a5..d5e85fcbdf 100644 --- a/Source/Core/Core/Boot/ElfReader.cpp +++ b/Source/Core/Core/Boot/ElfReader.cpp @@ -8,7 +8,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/Swap.h" diff --git a/Source/Core/Core/DSP/DSPCaptureLogger.cpp b/Source/Core/Core/DSP/DSPCaptureLogger.cpp index 2703d6b3cc..d7885759da 100644 --- a/Source/Core/Core/DSP/DSPCaptureLogger.cpp +++ b/Source/Core/Core/DSP/DSPCaptureLogger.cpp @@ -9,7 +9,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/PcapFile.h" namespace DSP diff --git a/Source/Core/Core/DSP/DSPCodeUtil.cpp b/Source/Core/Core/DSP/DSPCodeUtil.cpp index 2bca7af4b2..9b6e365246 100644 --- a/Source/Core/Core/DSP/DSPCodeUtil.cpp +++ b/Source/Core/Core/DSP/DSPCodeUtil.cpp @@ -12,8 +12,8 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/Debugger/Dump.cpp b/Source/Core/Core/Debugger/Dump.cpp index 7df86e05ce..1032119a1f 100644 --- a/Source/Core/Core/Debugger/Dump.cpp +++ b/Source/Core/Core/Debugger/Dump.cpp @@ -8,7 +8,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" CDump::CDump(const std::string& filename) : m_pData(nullptr) { diff --git a/Source/Core/Core/FifoPlayer/FifoDataFile.cpp b/Source/Core/Core/FifoPlayer/FifoDataFile.cpp index e2896ce88e..69fb5aad54 100644 --- a/Source/Core/Core/FifoPlayer/FifoDataFile.cpp +++ b/Source/Core/Core/FifoPlayer/FifoDataFile.cpp @@ -10,7 +10,7 @@ #include #include -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "Core/Config/MainSettings.h" #include "Core/HW/Memmap.h" diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp index 3272fbd425..b0c272ab60 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp @@ -10,8 +10,8 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "Core/HW/DSP.h" diff --git a/Source/Core/Core/HW/DSPLLE/DSPLLEGlobals.cpp b/Source/Core/Core/HW/DSPLLE/DSPLLEGlobals.cpp index 7a7ffb0996..d9fe607f66 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPLLEGlobals.cpp +++ b/Source/Core/Core/HW/DSPLLE/DSPLLEGlobals.cpp @@ -7,7 +7,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Core/DSP/DSPCore.h" diff --git a/Source/Core/Core/HW/EXI/EXI_DeviceAGP.cpp b/Source/Core/Core/HW/EXI/EXI_DeviceAGP.cpp index 4dd3960400..2030f5a953 100644 --- a/Source/Core/Core/HW/EXI/EXI_DeviceAGP.cpp +++ b/Source/Core/Core/HW/EXI/EXI_DeviceAGP.cpp @@ -11,7 +11,7 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/StringUtil.h" #include "Core/ConfigManager.h" diff --git a/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp b/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp index 13515bb4cb..0769ea41af 100644 --- a/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp +++ b/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp @@ -13,8 +13,8 @@ #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" #include "Common/Config/Config.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MemoryUtil.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/HW/GCMemcard/GCIFile.cpp b/Source/Core/Core/HW/GCMemcard/GCIFile.cpp index fe9d3972a3..c2dab152ff 100644 --- a/Source/Core/Core/HW/GCMemcard/GCIFile.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCIFile.cpp @@ -8,7 +8,7 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" namespace Memcard diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp index 6bf6e1468c..27382a8a48 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp @@ -16,7 +16,7 @@ #include "Common/CommonFuncs.h" #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" #include "Common/Swap.h" diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp index a9ecf13fb2..fb93096dbd 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp @@ -19,9 +19,9 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/Config/Config.h" -#include "Common/File.h" #include "Common/FileSearch.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcardRaw.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcardRaw.cpp index 77ad32f400..338c61f908 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcardRaw.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcardRaw.cpp @@ -16,8 +16,8 @@ #include "Common/ChunkFile.h" #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/HW/Sram.cpp b/Source/Core/Core/HW/Sram.cpp index 91eb668a74..a44a1cb2f4 100644 --- a/Source/Core/Core/HW/Sram.cpp +++ b/Source/Core/Core/HW/Sram.cpp @@ -5,7 +5,7 @@ #include "Core/HW/Sram.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "Core/ConfigManager.h" diff --git a/Source/Core/Core/HW/WiiSave.cpp b/Source/Core/Core/HW/WiiSave.cpp index 2bc87b8dad..bb715770b1 100644 --- a/Source/Core/Core/HW/WiiSave.cpp +++ b/Source/Core/Core/HW/WiiSave.cpp @@ -26,8 +26,8 @@ #include "Common/Align.h" #include "Common/CommonTypes.h" #include "Common/Crypto/ec.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Lazy.h" #include "Common/Logging/Log.h" #include "Common/NandPaths.h" diff --git a/Source/Core/Core/IOS/DolphinDevice.cpp b/Source/Core/Core/IOS/DolphinDevice.cpp index 6a21dd8db8..be5ae219e7 100644 --- a/Source/Core/Core/IOS/DolphinDevice.cpp +++ b/Source/Core/Core/IOS/DolphinDevice.cpp @@ -6,8 +6,8 @@ #include #include "Common/CommonPaths.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/NandPaths.h" #include "Common/SettingsHandler.h" diff --git a/Source/Core/Core/IOS/FS/HostBackend/FS.h b/Source/Core/Core/IOS/FS/HostBackend/FS.h index beb4d56148..69f070e2c8 100644 --- a/Source/Core/Core/IOS/FS/HostBackend/FS.h +++ b/Source/Core/Core/IOS/FS/HostBackend/FS.h @@ -11,7 +11,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Core/IOS/FS/FileSystem.h" namespace IOS::HLE::FS diff --git a/Source/Core/Core/IOS/FS/HostBackend/File.cpp b/Source/Core/Core/IOS/FS/HostBackend/File.cpp index 5a36f37b9f..1e28eac3e3 100644 --- a/Source/Core/Core/IOS/FS/HostBackend/File.cpp +++ b/Source/Core/Core/IOS/FS/HostBackend/File.cpp @@ -5,8 +5,8 @@ #include #include -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" diff --git a/Source/Core/Core/IOS/IOSC.cpp b/Source/Core/Core/IOS/IOSC.cpp index d80bcb6f1a..e93a6d3d56 100644 --- a/Source/Core/Core/IOS/IOSC.cpp +++ b/Source/Core/Core/IOS/IOSC.cpp @@ -22,8 +22,8 @@ #include "Common/ChunkFile.h" #include "Common/Crypto/AES.h" #include "Common/Crypto/ec.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/ScopeGuard.h" #include "Common/Swap.h" #include "Core/IOS/Device.h" diff --git a/Source/Core/Core/IOS/Network/SSL.cpp b/Source/Core/Core/IOS/Network/SSL.cpp index dc2a110098..30d8286c0f 100644 --- a/Source/Core/Core/IOS/Network/SSL.cpp +++ b/Source/Core/Core/IOS/Network/SSL.cpp @@ -12,8 +12,8 @@ #include #include -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Core/Config/MainSettings.h" diff --git a/Source/Core/Core/IOS/Network/Socket.cpp b/Source/Core/Core/IOS/Network/Socket.cpp index a6e4393391..b2f4429d55 100644 --- a/Source/Core/Core/IOS/Network/Socket.cpp +++ b/Source/Core/Core/IOS/Network/Socket.cpp @@ -17,8 +17,8 @@ #include #endif -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Core/Config/MainSettings.h" #include "Core/ConfigManager.h" #include "Core/Core.h" diff --git a/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp b/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp index 4fa12a070a..b50cc864c3 100644 --- a/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp +++ b/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp @@ -11,8 +11,8 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/SDCardUtil.h" #include "Core/Config/MainSettings.h" diff --git a/Source/Core/Core/IOS/SDIO/SDIOSlot0.h b/Source/Core/Core/IOS/SDIO/SDIOSlot0.h index 61fcba273d..3ff0f6a783 100644 --- a/Source/Core/Core/IOS/SDIO/SDIOSlot0.h +++ b/Source/Core/Core/IOS/SDIO/SDIOSlot0.h @@ -10,7 +10,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Core/IOS/Device.h" #include "Core/IOS/IOS.h" diff --git a/Source/Core/Core/IOS/USB/Bluetooth/BTBase.cpp b/Source/Core/Core/IOS/USB/Bluetooth/BTBase.cpp index f76bab63b6..e153dc6a57 100644 --- a/Source/Core/Core/IOS/USB/Bluetooth/BTBase.cpp +++ b/Source/Core/Core/IOS/USB/Bluetooth/BTBase.cpp @@ -10,8 +10,8 @@ #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Core/SysConf.h" diff --git a/Source/Core/Core/IOS/WFS/WFSI.cpp b/Source/Core/Core/IOS/WFS/WFSI.cpp index 0cf865e657..12d6b7b1ad 100644 --- a/Source/Core/Core/IOS/WFS/WFSI.cpp +++ b/Source/Core/Core/IOS/WFS/WFSI.cpp @@ -13,8 +13,8 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Core/HW/Memmap.h" #include "Core/IOS/ES/ES.h" diff --git a/Source/Core/Core/IOS/WFS/WFSSRV.cpp b/Source/Core/Core/IOS/WFS/WFSSRV.cpp index ff392fbed7..6cb595752f 100644 --- a/Source/Core/Core/IOS/WFS/WFSSRV.cpp +++ b/Source/Core/Core/IOS/WFS/WFSSRV.cpp @@ -10,8 +10,8 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/NandPaths.h" #include "Core/HW/Memmap.h" diff --git a/Source/Core/Core/IOS/WFS/WFSSRV.h b/Source/Core/Core/IOS/WFS/WFSSRV.h index ed27a6b726..af6e90bed1 100644 --- a/Source/Core/Core/IOS/WFS/WFSSRV.h +++ b/Source/Core/Core/IOS/WFS/WFSSRV.h @@ -8,7 +8,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Core/IOS/Device.h" #include "Core/IOS/IOS.h" #include "DiscIO/Volume.h" diff --git a/Source/Core/Core/Movie.cpp b/Source/Core/Core/Movie.cpp index a4113f9b4e..c760025b4b 100644 --- a/Source/Core/Core/Movie.cpp +++ b/Source/Core/Core/Movie.cpp @@ -25,9 +25,9 @@ #include "Common/ChunkFile.h" #include "Common/CommonPaths.h" #include "Common/Config/Config.h" -#include "Common/File.h" #include "Common/FileUtil.h" #include "Common/Hash.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "Common/NandPaths.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/NetPlayClient.cpp b/Source/Core/Core/NetPlayClient.cpp index f144f77c52..3a16332b89 100644 --- a/Source/Core/Core/NetPlayClient.cpp +++ b/Source/Core/Core/NetPlayClient.cpp @@ -24,8 +24,8 @@ #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" #include "Common/ENetUtil.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MD5.h" #include "Common/MsgHandler.h" diff --git a/Source/Core/Core/NetPlayServer.cpp b/Source/Core/Core/NetPlayServer.cpp index eafddd36e6..0fa0088c9a 100644 --- a/Source/Core/Core/NetPlayServer.cpp +++ b/Source/Core/Core/NetPlayServer.cpp @@ -23,9 +23,9 @@ #include "Common/CommonPaths.h" #include "Common/ENetUtil.h" -#include "Common/File.h" #include "Common/FileUtil.h" #include "Common/HttpRequest.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/SFMLHelper.h" diff --git a/Source/Core/Core/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/PowerPC/Jit64/Jit.cpp index 79e2a7c407..6d776f9e89 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit.cpp @@ -17,8 +17,8 @@ #endif #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/GekkoDisassembler.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MemoryUtil.h" #include "Common/PerformanceCounter.h" diff --git a/Source/Core/Core/PowerPC/JitInterface.cpp b/Source/Core/Core/PowerPC/JitInterface.cpp index f226539f56..33c481fdf5 100644 --- a/Source/Core/Core/PowerPC/JitInterface.cpp +++ b/Source/Core/Core/PowerPC/JitInterface.cpp @@ -20,7 +20,7 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "Core/Core.h" diff --git a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp index ea55abf0f6..8ebcad2c66 100644 --- a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp +++ b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp @@ -15,7 +15,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/StringUtil.h" #include "Core/PowerPC/MMU.h" diff --git a/Source/Core/Core/PowerPC/PPCTables.cpp b/Source/Core/Core/PowerPC/PPCTables.cpp index ef03d5c6d5..e1b11f8370 100644 --- a/Source/Core/Core/PowerPC/PPCTables.cpp +++ b/Source/Core/Core/PowerPC/PPCTables.cpp @@ -15,8 +15,8 @@ #include "Common/Assert.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/StringUtil.h" diff --git a/Source/Core/Core/PowerPC/SignatureDB/CSVSignatureDB.cpp b/Source/Core/Core/PowerPC/SignatureDB/CSVSignatureDB.cpp index 34404b061c..58b7aea802 100644 --- a/Source/Core/Core/PowerPC/SignatureDB/CSVSignatureDB.cpp +++ b/Source/Core/Core/PowerPC/SignatureDB/CSVSignatureDB.cpp @@ -10,8 +10,8 @@ #include -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" // CSV separated with tabs diff --git a/Source/Core/Core/PowerPC/SignatureDB/DSYSignatureDB.cpp b/Source/Core/Core/PowerPC/SignatureDB/DSYSignatureDB.cpp index ce69de1f95..a0faccbf61 100644 --- a/Source/Core/Core/PowerPC/SignatureDB/DSYSignatureDB.cpp +++ b/Source/Core/Core/PowerPC/SignatureDB/DSYSignatureDB.cpp @@ -9,7 +9,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" namespace diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp index d86da80cfe..99eaff80f2 100644 --- a/Source/Core/Core/State.cpp +++ b/Source/Core/Core/State.cpp @@ -17,8 +17,8 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/Event.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "Common/ScopeGuard.h" #include "Common/Thread.h" diff --git a/Source/Core/Core/SysConf.cpp b/Source/Core/Core/SysConf.cpp index 1efd4a2244..f5a42a8b88 100644 --- a/Source/Core/Core/SysConf.cpp +++ b/Source/Core/Core/SysConf.cpp @@ -10,8 +10,8 @@ #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "Core/IOS/FS/FileSystem.h" diff --git a/Source/Core/Core/WiiRoot.cpp b/Source/Core/Core/WiiRoot.cpp index bace0233b9..b042edc039 100644 --- a/Source/Core/Core/WiiRoot.cpp +++ b/Source/Core/Core/WiiRoot.cpp @@ -12,8 +12,8 @@ #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/NandPaths.h" #include "Common/StringUtil.h" diff --git a/Source/Core/DiscIO/Blob.cpp b/Source/Core/DiscIO/Blob.cpp index e24c52f181..d744c8fd5e 100644 --- a/Source/Core/DiscIO/Blob.cpp +++ b/Source/Core/DiscIO/Blob.cpp @@ -11,7 +11,7 @@ #include "Common/CDUtils.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "DiscIO/Blob.h" diff --git a/Source/Core/DiscIO/CISOBlob.cpp b/Source/Core/DiscIO/CISOBlob.cpp index 7fb5c2f4f6..650244da79 100644 --- a/Source/Core/DiscIO/CISOBlob.cpp +++ b/Source/Core/DiscIO/CISOBlob.cpp @@ -8,7 +8,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/CISOBlob.h" namespace DiscIO diff --git a/Source/Core/DiscIO/CISOBlob.h b/Source/Core/DiscIO/CISOBlob.h index 97ef23ab5e..53c982ed0e 100644 --- a/Source/Core/DiscIO/CISOBlob.h +++ b/Source/Core/DiscIO/CISOBlob.h @@ -9,7 +9,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/Blob.h" namespace DiscIO diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp index 35bbced94c..db5eae5a31 100644 --- a/Source/Core/DiscIO/CompressedBlob.cpp +++ b/Source/Core/DiscIO/CompressedBlob.cpp @@ -19,9 +19,9 @@ #include "Common/Assert.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" #include "Common/Hash.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "DiscIO/Blob.h" diff --git a/Source/Core/DiscIO/CompressedBlob.h b/Source/Core/DiscIO/CompressedBlob.h index d1b2459145..0a46b111a4 100644 --- a/Source/Core/DiscIO/CompressedBlob.h +++ b/Source/Core/DiscIO/CompressedBlob.h @@ -18,7 +18,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/Blob.h" namespace DiscIO diff --git a/Source/Core/DiscIO/DirectoryBlob.cpp b/Source/Core/DiscIO/DirectoryBlob.cpp index 609f98ef4b..8840283777 100644 --- a/Source/Core/DiscIO/DirectoryBlob.cpp +++ b/Source/Core/DiscIO/DirectoryBlob.cpp @@ -20,8 +20,8 @@ #include "Common/Assert.h" #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/StringUtil.h" #include "Common/Swap.h" diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp index acf692a4f4..8aff525cec 100644 --- a/Source/Core/DiscIO/DiscExtractor.cpp +++ b/Source/Core/DiscIO/DiscExtractor.cpp @@ -11,8 +11,8 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "DiscIO/Enums.h" #include "DiscIO/Filesystem.h" #include "DiscIO/Volume.h" diff --git a/Source/Core/DiscIO/DriveBlob.cpp b/Source/Core/DiscIO/DriveBlob.cpp index 3a1ba4d275..2daaddbfa6 100644 --- a/Source/Core/DiscIO/DriveBlob.cpp +++ b/Source/Core/DiscIO/DriveBlob.cpp @@ -10,7 +10,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "DiscIO/Blob.h" diff --git a/Source/Core/DiscIO/DriveBlob.h b/Source/Core/DiscIO/DriveBlob.h index ec100185e8..f5cd7e49d1 100644 --- a/Source/Core/DiscIO/DriveBlob.h +++ b/Source/Core/DiscIO/DriveBlob.h @@ -8,7 +8,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/Blob.h" #ifdef _WIN32 diff --git a/Source/Core/DiscIO/FileBlob.h b/Source/Core/DiscIO/FileBlob.h index d418976fa3..48519d03f3 100644 --- a/Source/Core/DiscIO/FileBlob.h +++ b/Source/Core/DiscIO/FileBlob.h @@ -9,7 +9,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/Blob.h" namespace DiscIO diff --git a/Source/Core/DiscIO/FileSystemGCWii.cpp b/Source/Core/DiscIO/FileSystemGCWii.cpp index 40b15d3715..c706e809a8 100644 --- a/Source/Core/DiscIO/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/FileSystemGCWii.cpp @@ -15,7 +15,7 @@ #include "Common/CommonFuncs.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/DiscIO/NANDImporter.cpp b/Source/Core/DiscIO/NANDImporter.cpp index aea5398426..bc97ef0460 100644 --- a/Source/Core/DiscIO/NANDImporter.cpp +++ b/Source/Core/DiscIO/NANDImporter.cpp @@ -11,8 +11,8 @@ #include #include "Common/Crypto/AES.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/Swap.h" diff --git a/Source/Core/DiscIO/TGCBlob.cpp b/Source/Core/DiscIO/TGCBlob.cpp index b14e0017b1..0c78fed411 100644 --- a/Source/Core/DiscIO/TGCBlob.cpp +++ b/Source/Core/DiscIO/TGCBlob.cpp @@ -11,7 +11,7 @@ #include #include -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Swap.h" namespace diff --git a/Source/Core/DiscIO/TGCBlob.h b/Source/Core/DiscIO/TGCBlob.h index 302a0926f4..786aa46f9d 100644 --- a/Source/Core/DiscIO/TGCBlob.h +++ b/Source/Core/DiscIO/TGCBlob.h @@ -9,7 +9,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/Blob.h" namespace DiscIO diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index c1c9a8ae3b..2a217f72f1 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -25,9 +25,9 @@ #include "Common/Assert.h" #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" #include "Common/HttpRequest.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MinizipUtil.h" #include "Common/MsgHandler.h" diff --git a/Source/Core/DiscIO/WIABlob.cpp b/Source/Core/DiscIO/WIABlob.cpp index 6ffc8a286b..8a76b9bd77 100644 --- a/Source/Core/DiscIO/WIABlob.cpp +++ b/Source/Core/DiscIO/WIABlob.cpp @@ -22,8 +22,8 @@ #include "Common/Align.h" #include "Common/Assert.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/ScopeGuard.h" diff --git a/Source/Core/DiscIO/WIABlob.h b/Source/Core/DiscIO/WIABlob.h index 5b08dd227c..d6e54df7ac 100644 --- a/Source/Core/DiscIO/WIABlob.h +++ b/Source/Core/DiscIO/WIABlob.h @@ -13,7 +13,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Swap.h" #include "DiscIO/Blob.h" #include "DiscIO/MultithreadedCompressor.h" diff --git a/Source/Core/DiscIO/WbfsBlob.cpp b/Source/Core/DiscIO/WbfsBlob.cpp index 7d24b3b618..6dae7bd7ce 100644 --- a/Source/Core/DiscIO/WbfsBlob.cpp +++ b/Source/Core/DiscIO/WbfsBlob.cpp @@ -15,7 +15,7 @@ #include "Common/Align.h" #include "Common/Assert.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/MsgHandler.h" #include "Common/Swap.h" diff --git a/Source/Core/DiscIO/WbfsBlob.h b/Source/Core/DiscIO/WbfsBlob.h index d3bca22ecc..5c1ca2e3e5 100644 --- a/Source/Core/DiscIO/WbfsBlob.h +++ b/Source/Core/DiscIO/WbfsBlob.h @@ -9,7 +9,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "DiscIO/Blob.h" namespace DiscIO diff --git a/Source/Core/DiscIO/WiiSaveBanner.cpp b/Source/Core/DiscIO/WiiSaveBanner.cpp index e6b8e39f5f..59b9bca3c5 100644 --- a/Source/Core/DiscIO/WiiSaveBanner.cpp +++ b/Source/Core/DiscIO/WiiSaveBanner.cpp @@ -10,7 +10,7 @@ #include "Common/ColorUtil.h" #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/NandPaths.h" #include "Common/StringUtil.h" diff --git a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp index 3fe2f8061a..5e8e94779f 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp @@ -20,8 +20,8 @@ #include #include -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Core/ConfigManager.h" #include "Core/HW/AddressSpace.h" #include "DolphinQt/Debugger/MemoryViewWidget.h" diff --git a/Source/Core/DolphinQt/Translation.cpp b/Source/Core/DolphinQt/Translation.cpp index 335f0cd098..f35ee43fcc 100644 --- a/Source/Core/DolphinQt/Translation.cpp +++ b/Source/Core/DolphinQt/Translation.cpp @@ -12,8 +12,8 @@ #include #include -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" #include "Common/StringUtil.h" diff --git a/Source/Core/InputCommon/DynamicInputTextureConfiguration.cpp b/Source/Core/InputCommon/DynamicInputTextureConfiguration.cpp index a2f1ca879c..171b74f3d2 100644 --- a/Source/Core/InputCommon/DynamicInputTextureConfiguration.cpp +++ b/Source/Core/InputCommon/DynamicInputTextureConfiguration.cpp @@ -12,8 +12,8 @@ #include #include "Common/CommonPaths.h" -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/StringUtil.h" #include "Core/ConfigManager.h" diff --git a/Source/Core/InputCommon/ImageOperations.cpp b/Source/Core/InputCommon/ImageOperations.cpp index b659a9358b..7ce3b2d389 100644 --- a/Source/Core/InputCommon/ImageOperations.cpp +++ b/Source/Core/InputCommon/ImageOperations.cpp @@ -11,8 +11,8 @@ #include #include -#include "Common/File.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "Common/Image.h" namespace InputCommon diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index a169ef0f66..3b2e8a0bd3 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -26,9 +26,9 @@ #include "Common/ChunkFile.h" #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileUtil.h" #include "Common/HttpRequest.h" +#include "Common/IOFile.h" #include "Common/Image.h" #include "Common/IniFile.h" #include "Common/MsgHandler.h" diff --git a/Source/Core/UICommon/GameFileCache.cpp b/Source/Core/UICommon/GameFileCache.cpp index 38dd09f8a8..8fe2ef8a24 100644 --- a/Source/Core/UICommon/GameFileCache.cpp +++ b/Source/Core/UICommon/GameFileCache.cpp @@ -17,9 +17,9 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" -#include "Common/File.h" #include "Common/FileSearch.h" #include "Common/FileUtil.h" +#include "Common/IOFile.h" #include "DiscIO/DirectoryBlob.h" diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 9c822cc276..cbb2566470 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -18,10 +18,10 @@ #include #include "Common/CommonPaths.h" -#include "Common/File.h" #include "Common/FileSearch.h" #include "Common/FileUtil.h" #include "Common/Flag.h" +#include "Common/IOFile.h" #include "Common/Image.h" #include "Common/Logging/Log.h" #include "Common/MemoryUtil.h" diff --git a/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp b/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp index 43a5c61630..ca3613748e 100644 --- a/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp +++ b/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp @@ -11,7 +11,7 @@ #include #include "Common/Align.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "VideoCommon/VideoConfig.h" diff --git a/Source/Core/VideoCommon/ShaderCache.h b/Source/Core/VideoCommon/ShaderCache.h index d97d1c5014..c55df27cd0 100644 --- a/Source/Core/VideoCommon/ShaderCache.h +++ b/Source/Core/VideoCommon/ShaderCache.h @@ -15,7 +15,7 @@ #include #include "Common/CommonTypes.h" -#include "Common/File.h" +#include "Common/IOFile.h" #include "Common/LinearDiskCache.h" #include "VideoCommon/AbstractPipeline.h"