various fixes
This commit is contained in:
parent
b44af549cf
commit
2bf929f51e
|
@ -78,7 +78,7 @@ std::wstring ContentManager::ResolvePackageRoot(uint32_t content_type) {
|
|||
// Package root path:
|
||||
// content_root/title_id/type_name/
|
||||
auto package_root =
|
||||
xe::join_paths(root_path_, xe::join_paths(title_id, type_name));
|
||||
xe::join_paths(root_path_, xe::join_paths(title_id_str, type_name));
|
||||
return package_root + xe::kPathSeparator<wchar_t>;
|
||||
}
|
||||
|
||||
|
|
|
@ -500,7 +500,7 @@ dword_result_t XamSwapDisc(dword_t disc_number,
|
|||
std::wstring local_path = app::EmulatorWindow::SwapNext();
|
||||
XELOGI("SwapNext returned path %S.", local_path.c_str());
|
||||
|
||||
auto last_slash = local_path.find_last_of(xe::kPathSeparator);
|
||||
auto last_slash = local_path.find_last_of(xe::kPathSeparator<wchar_t>);
|
||||
auto last_dot = local_path.find_last_of('.');
|
||||
|
||||
if (last_dot < last_slash) {
|
||||
|
|
Loading…
Reference in New Issue