Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.

Progress on #294.
This commit is contained in:
Ben Vanik
2015-06-27 13:31:21 -07:00
parent bc75b0ab87
commit 0716cf84c0
45 changed files with 374 additions and 428 deletions

View File

@@ -9,7 +9,7 @@
#include "xenia/gpu/gl4/gl4_shader.h"
#include "xenia/base/fs.h"
#include "xenia/base/filesystem.h"
#include "xenia/base/logging.h"
#include "xenia/base/math.h"
#include "xenia/gpu/gl4/gl4_gpu_flags.h"
@@ -363,7 +363,7 @@ bool GL4Shader::CompileProgram(std::string source) {
auto dump_shaders_path = xe::to_wstring(FLAGS_dump_shaders);
if (!dump_shaders_path.empty()) {
dump_shaders_path = xe::to_absolute_path(dump_shaders_path);
xe::fs::CreateFolder(dump_shaders_path);
xe::filesystem::CreateFolder(dump_shaders_path);
}
// Note that we put the translated source first so we get good line numbers.

View File

@@ -9,7 +9,7 @@
#include "xenia/gpu/tracing.h"
#include "xenia/base/fs.h"
#include "xenia/base/filesystem.h"
#include "xenia/base/string.h"
namespace xe {
@@ -25,7 +25,7 @@ bool TraceWriter::Open(const std::wstring& path) {
auto canonical_path = xe::to_absolute_path(path);
auto base_path = xe::find_base_path(canonical_path);
xe::fs::CreateFolder(base_path);
xe::filesystem::CreateFolder(base_path);
file_ = _wfopen(canonical_path.c_str(), L"wb");
return file_ != nullptr;