Settings: Add EmuFolders::IsRunningInPortableMode()
This commit is contained in:
parent
ff3214b8f7
commit
5401dc8d52
|
@ -2335,3 +2335,8 @@ std::string EmuFolders::GetOverridableResourcePath(std::string_view name)
|
|||
|
||||
return upath;
|
||||
}
|
||||
|
||||
bool EmuFolders::IsRunningInPortableMode()
|
||||
{
|
||||
return (AppRoot == DataRoot);
|
||||
}
|
||||
|
|
|
@ -593,4 +593,7 @@ void Update();
|
|||
|
||||
/// Returns the path to a resource file, allowing the user to override it.
|
||||
std::string GetOverridableResourcePath(std::string_view name);
|
||||
|
||||
/// Returns true if the application is running in portable mode.
|
||||
bool IsRunningInPortableMode();
|
||||
} // namespace EmuFolders
|
||||
|
|
Loading…
Reference in New Issue