From a4f2efe94154299322692c1c3b7a2cd5d8f2bdab Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 24 May 2015 00:06:36 -0500 Subject: [PATCH] Fixed path joining in NtCreateFile. --- src/xenia/kernel/xboxkrnl_io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xboxkrnl_io.cc b/src/xenia/kernel/xboxkrnl_io.cc index 00ae2f033..148bb3916 100644 --- a/src/xenia/kernel/xboxkrnl_io.cc +++ b/src/xenia/kernel/xboxkrnl_io.cc @@ -96,7 +96,7 @@ X_STATUS NtCreateFile(PPCContext* ppc_state, KernelState* state, assert_true(root_file->type() == XObject::Type::kTypeFile); auto root_path = root_file->absolute_path(); - auto target_path = root_path + object_name; + auto target_path = xe::join_paths(root_path, object_name); entry = fs->ResolvePath(target_path); } else { // Resolve the file using the virtual file system.