diff options
| author | 2014-04-08 20:15:08 -0400 | |
|---|---|---|
| committer | 2014-04-08 20:15:08 -0400 | |
| commit | de0a034a849f5a1cbe2fed9ef2cc4095c56e672a (patch) | |
| tree | c19b7a97fded29a04d7aca5702ab901820a663dc /src/core/file_sys | |
| parent | got rid of 'src' folders in each sub-project (diff) | |
| download | yuzu-de0a034a849f5a1cbe2fed9ef2cc4095c56e672a.tar.gz yuzu-de0a034a849f5a1cbe2fed9ef2cc4095c56e672a.tar.xz yuzu-de0a034a849f5a1cbe2fed9ef2cc4095c56e672a.zip | |
fixed project includes to use new directory structure
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/directory_file_system.cpp | 12 | ||||
| -rw-r--r-- | src/core/file_sys/directory_file_system.h | 7 | ||||
| -rw-r--r-- | src/core/file_sys/file_sys.h | 4 | ||||
| -rw-r--r-- | src/core/file_sys/meta_file_system.cpp | 7 | ||||
| -rw-r--r-- | src/core/file_sys/meta_file_system.h | 5 |
5 files changed, 15 insertions, 20 deletions
diff --git a/src/core/file_sys/directory_file_system.cpp b/src/core/file_sys/directory_file_system.cpp index 29369eec4..6c6f33c2b 100644 --- a/src/core/file_sys/directory_file_system.cpp +++ b/src/core/file_sys/directory_file_system.cpp | |||
| @@ -15,13 +15,11 @@ | |||
| 15 | // Official git repository and contact information can be found at | 15 | // Official git repository and contact information can be found at |
| 16 | // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. | 16 | // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. |
| 17 | 17 | ||
| 18 | #include "chunk_file.h" | 18 | #include "common/chunk_file.h" |
| 19 | #include "file_util.h" | 19 | #include "common/file_util.h" |
| 20 | #include "directory_file_system.h" | 20 | #include "common/utf8.h" |
| 21 | //#include "ISOFileSystem.h" | 21 | |
| 22 | //#include "Core/HLE/sceKernel.h" | 22 | #include "core/file_sys/directory_file_system.h" |
| 23 | //#include "file/zip_read.h" | ||
| 24 | #include "utf8.h" | ||
| 25 | 23 | ||
| 26 | #if EMU_PLATFORM == PLATFORM_WINDOWS | 24 | #if EMU_PLATFORM == PLATFORM_WINDOWS |
| 27 | #include <windows.h> | 25 | #include <windows.h> |
diff --git a/src/core/file_sys/directory_file_system.h b/src/core/file_sys/directory_file_system.h index a11331a27..9af2854a2 100644 --- a/src/core/file_sys/directory_file_system.h +++ b/src/core/file_sys/directory_file_system.h | |||
| @@ -15,14 +15,13 @@ | |||
| 15 | // Official git repository and contact information can be found at | 15 | // Official git repository and contact information can be found at |
| 16 | // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. | 16 | // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. |
| 17 | 17 | ||
| 18 | #ifndef CORE_FILE_SYS_DIRECTORY_H_ | 18 | #pragma once |
| 19 | #define CORE_FILE_SYS_DIRECTORY_H_ | ||
| 20 | 19 | ||
| 21 | // TODO: Remove the Windows-specific code, FILE is fine there too. | 20 | // TODO: Remove the Windows-specific code, FILE is fine there too. |
| 22 | 21 | ||
| 23 | #include <map> | 22 | #include <map> |
| 24 | 23 | ||
| 25 | #include "file_sys.h" | 24 | #include "core/file_sys/file_sys.h" |
| 26 | 25 | ||
| 27 | #ifdef _WIN32 | 26 | #ifdef _WIN32 |
| 28 | typedef void * HANDLE; | 27 | typedef void * HANDLE; |
| @@ -154,5 +153,3 @@ private: | |||
| 154 | 153 | ||
| 155 | std::string GetLocalPath(std::string localpath); | 154 | std::string GetLocalPath(std::string localpath); |
| 156 | }; | 155 | }; |
| 157 | |||
| 158 | #endif // CORE_FILE_SYS_DIRECTORY_H_ | ||
diff --git a/src/core/file_sys/file_sys.h b/src/core/file_sys/file_sys.h index b27e36c80..bb8503e62 100644 --- a/src/core/file_sys/file_sys.h +++ b/src/core/file_sys/file_sys.h | |||
| @@ -17,8 +17,8 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "common.h" | 20 | #include "common/common.h" |
| 21 | #include "chunk_file.h" | 21 | #include "common/chunk_file.h" |
| 22 | 22 | ||
| 23 | enum FileAccess { | 23 | enum FileAccess { |
| 24 | FILEACCESS_NONE=0, | 24 | FILEACCESS_NONE=0, |
diff --git a/src/core/file_sys/meta_file_system.cpp b/src/core/file_sys/meta_file_system.cpp index f86c3cb18..01048e498 100644 --- a/src/core/file_sys/meta_file_system.cpp +++ b/src/core/file_sys/meta_file_system.cpp | |||
| @@ -17,10 +17,9 @@ | |||
| 17 | 17 | ||
| 18 | #include <set> | 18 | #include <set> |
| 19 | #include <algorithm> | 19 | #include <algorithm> |
| 20 | #include "string_util.h" | 20 | |
| 21 | #include "file_sys/meta_file_system.h" | 21 | #include "common/string_util.h" |
| 22 | //#include "Core/HLE/sceKernelThread.h" | 22 | #include "core/file_sys/meta_file_system.h" |
| 23 | //#include "Core/Reporting.h" | ||
| 24 | 23 | ||
| 25 | static bool ApplyPathStringToComponentsVector(std::vector<std::string> &vector, const std::string &pathString) | 24 | static bool ApplyPathStringToComponentsVector(std::vector<std::string> &vector, const std::string &pathString) |
| 26 | { | 25 | { |
diff --git a/src/core/file_sys/meta_file_system.h b/src/core/file_sys/meta_file_system.h index 0de23d49c..961f75cda 100644 --- a/src/core/file_sys/meta_file_system.h +++ b/src/core/file_sys/meta_file_system.h | |||
| @@ -17,8 +17,9 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "std_mutex.h" | 20 | #include "common/std_mutex.h" |
| 21 | #include "file_sys.h" | 21 | |
| 22 | #include "core/file_sys/file_sys.h" | ||
| 22 | 23 | ||
| 23 | class MetaFileSystem : public IHandleAllocator, public IFileSystem | 24 | class MetaFileSystem : public IHandleAllocator, public IFileSystem |
| 24 | { | 25 | { |