From 079be8032d2f00f833b16f915ba226eb5fe56382 Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Wed, 18 Jul 2018 17:41:32 -0400
Subject: [PATCH] hle/filesystem: Amend trace log in OpenSaveData() to compile
 in debug mode

Previously this wouldn't compile, since no such function named
SaveStructDebugInfo() exists.
---
 src/core/hle/service/filesystem/filesystem.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 902256757b..f118cff41f 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -56,7 +56,7 @@ ResultVal<std::unique_ptr<FileSys::FileSystemBackend>> OpenRomFS(u64 title_id) {
 ResultVal<std::unique_ptr<FileSys::FileSystemBackend>> OpenSaveData(
     FileSys::SaveDataSpaceId space, FileSys::SaveDataDescriptor save_struct) {
     LOG_TRACE(Service_FS, "Opening Save Data for space_id={:01X}, save_struct={}",
-              static_cast<u8>(space), SaveStructDebugInfo(save_struct));
+              static_cast<u8>(space), save_struct.DebugInfo());
 
     if (save_data_factory == nullptr) {
         return ResultCode(ErrorModule::FS, FileSys::ErrCodes::SaveDataNotFound);
-- 
GitLab