mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
forgot to remove debug statement and use C++ style cast.
This commit is contained in:
parent
8dd61c3409
commit
74eb5d0d8c
1 changed files with 3 additions and 4 deletions
|
@ -235,9 +235,10 @@ class fscDeviceHostFSC : public fscDeviceC {
|
||||||
auto static lowercase_path = [](std::filesystem::path const & path)
|
auto static lowercase_path = [](std::filesystem::path const & path)
|
||||||
{
|
{
|
||||||
std::wstring string = path.wstring();
|
std::wstring string = path.wstring();
|
||||||
std::transform(string.begin(), string.end(), string.begin(), [](const auto& item) {
|
std::transform(string.begin(), string.end(), string.begin(), [](const auto& item)
|
||||||
|
{
|
||||||
if (std::isalpha(item))
|
if (std::isalpha(item))
|
||||||
return (wchar_t)std::tolower(item);
|
return static_cast<wchar_t>(std::tolower(item));
|
||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
return string;
|
return string;
|
||||||
|
@ -269,8 +270,6 @@ class fscDeviceHostFSC : public fscDeviceC {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::wcout << correctedPath << std::endl;
|
|
||||||
|
|
||||||
FSCVirtualFile* vf = FSCVirtualFile_Host::OpenFile(correctedPath, accessFlags, *fscStatus);
|
FSCVirtualFile* vf = FSCVirtualFile_Host::OpenFile(correctedPath, accessFlags, *fscStatus);
|
||||||
return vf;
|
return vf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue