diff --git a/src/xenia/emulator.cc b/src/xenia/emulator.cc index 8dbca85a4..ef76bc394 100644 --- a/src/xenia/emulator.cc +++ b/src/xenia/emulator.cc @@ -299,11 +299,11 @@ X_STATUS Emulator::MountPath(const std::filesystem::path& path, const std::string_view mount_path) { auto device = CreateVfsDeviceBasedOnPath(path, mount_path); if (!device->Initialize()) { - xe::FatalError("Unable to mount {}; file not found or corrupt."); + xe::FatalError(fmt::format("Unable to mount {}; file corrupt or not found.", xe::path_to_utf8(path))); return X_STATUS_NO_SUCH_FILE; } if (!file_system_->RegisterDevice(std::move(device))) { - xe::FatalError("Unable to register {}."); + xe::FatalError(fmt::format("Unable to register {} to {}.", xe::path_to_utf8(path), xe::path_to_utf8(mount_path))); return X_STATUS_NO_SUCH_FILE; } diff --git a/src/xenia/vfs/devices/disc_image_device.cc b/src/xenia/vfs/devices/disc_image_device.cc index 561d0cef7..ce343b43b 100644 --- a/src/xenia/vfs/devices/disc_image_device.cc +++ b/src/xenia/vfs/devices/disc_image_device.cc @@ -30,8 +30,10 @@ DiscImageDevice::~DiscImageDevice() = default; bool DiscImageDevice::Initialize() { mmap_ = MappedMemory::Open(host_path_, MappedMemory::Mode::kRead); if (!mmap_) { - XELOGE("Disc image could not be mapped"); + XELOGE("Disc image {} could not be mapped", xe::path_to_utf8(host_path_)); return false; + } else { + XELOGFS("DiscImageDevice::Initialize({})", xe::path_to_utf8(host_path_)); } ParseState state = {0};