Fix broken errors, log ISO path

This commit is contained in:
Margen67
2023-06-28 00:20:53 -07:00
parent 921923472b
commit 71b8c2357e
2 changed files with 5 additions and 3 deletions

View File

@@ -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};