mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 11:43:56 +00:00
Fix failing test
This commit is contained in:
@@ -110,12 +110,12 @@ std::optional<registry_key> registry_manager::get_key(const utils::path_key& key
|
||||
|
||||
if (!entry)
|
||||
{
|
||||
constexpr std::wstring_view wowPrefix = L"wow6432node\\";
|
||||
constexpr std::wstring_view wowPrefix = L"wow6432node";
|
||||
|
||||
const auto pathStr = path.wstring();
|
||||
if (pathStr.starts_with(wowPrefix))
|
||||
{
|
||||
path = pathStr.substr(wowPrefix.size());
|
||||
path = pathStr.substr(wowPrefix.size() + 1);
|
||||
reg_key.path = path;
|
||||
entry = iterator->second->get_sub_key(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user