Просмотр исходного кода

hle/filesystem: Amend trace log in OpenSaveData() to compile in debug mode

Previously this wouldn't compile, since no such function named
SaveStructDebugInfo() exists.
Lioncash 8 лет назад
Родитель
Сommit
079be8032d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/filesystem/filesystem.cpp

+ 1 - 1
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(
 ResultVal<std::unique_ptr<FileSys::FileSystemBackend>> OpenSaveData(
     FileSys::SaveDataSpaceId space, FileSys::SaveDataDescriptor save_struct) {
     FileSys::SaveDataSpaceId space, FileSys::SaveDataDescriptor save_struct) {
     LOG_TRACE(Service_FS, "Opening Save Data for space_id={:01X}, 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) {
     if (save_data_factory == nullptr) {
         return ResultCode(ErrorModule::FS, FileSys::ErrCodes::SaveDataNotFound);
         return ResultCode(ErrorModule::FS, FileSys::ErrCodes::SaveDataNotFound);