mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed two small typos.
This commit is contained in:
parent
280a6d101b
commit
0a72780b59
|
@ -1334,7 +1334,7 @@ const std::string FileData::findEmulatorPath(std::string& command)
|
||||||
for (std::string path : emulatorSystemPaths) {
|
for (std::string path : emulatorSystemPaths) {
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
std::wstring pathWide = Utils::String::stringToWideString(path);
|
std::wstring pathWide = Utils::String::stringToWideString(path);
|
||||||
// Search for the emulator using the PATH environmental variable.
|
// Search for the emulator using the PATH environment variable.
|
||||||
DWORD size = SearchPathW(nullptr, pathWide.c_str(), L".exe", 0, nullptr, nullptr);
|
DWORD size = SearchPathW(nullptr, pathWide.c_str(), L".exe", 0, nullptr, nullptr);
|
||||||
|
|
||||||
if (size) {
|
if (size) {
|
||||||
|
@ -1395,7 +1395,7 @@ const std::string FileData::findEmulatorPath(std::string& command)
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
std::wstring emuExecutableWide = Utils::String::stringToWideString(emuExecutable);
|
std::wstring emuExecutableWide = Utils::String::stringToWideString(emuExecutable);
|
||||||
// Search for the emulator using the PATH environmental variable.
|
// Search for the emulator using the PATH environment variable.
|
||||||
DWORD size = SearchPathW(nullptr, emuExecutableWide.c_str(), L".exe", 0, nullptr, nullptr);
|
DWORD size = SearchPathW(nullptr, emuExecutableWide.c_str(), L".exe", 0, nullptr, nullptr);
|
||||||
|
|
||||||
if (size) {
|
if (size) {
|
||||||
|
|
Loading…
Reference in a new issue