ISO: Remove resolve_path hack

- Modify Emulator::GetFakeCat to return "DG" for mounted ISO games like
expected.
- Undo changes to main_application resolve_path callback
This commit is contained in:
Functionable 2025-12-14 13:08:34 +00:00 committed by Elad
parent 48f39acac7
commit fa11af1cba
2 changed files with 2 additions and 3 deletions

View file

@ -4387,7 +4387,7 @@ const std::string& Emulator::GetFakeCat() const
{
const std::string mount_point = vfs::get("/dev_bdvd");
if (mount_point.empty() || !IsPathInsideDir(m_path, mount_point))
if (mount_point.empty() || (!IsPathInsideDir(m_path, mount_point) && !m_path.starts_with(iso_device::virtual_device_name)))
{
static const std::string s_hg = "HG";
return s_hg;