diff options
| author | 2015-01-10 13:21:01 -0800 | |
|---|---|---|
| committer | 2015-01-10 14:32:11 -0800 | |
| commit | 95be6ad7aead770666d97309e2e1aef9cfd808ec (patch) | |
| tree | 142f34cf4b6f2eab7ae2f445804fc223561c5f36 /src | |
| parent | Logging: Log all called service functions (under trace). Compile out all trac... (diff) | |
| download | yuzu-95be6ad7aead770666d97309e2e1aef9cfd808ec.tar.gz yuzu-95be6ad7aead770666d97309e2e1aef9cfd808ec.tar.xz yuzu-95be6ad7aead770666d97309e2e1aef9cfd808ec.zip | |
Added Archive ID to fs:USER debug logs involving opening the archive.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/fs/fs_user.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp index 40dd0df2c..56f3117f4 100644 --- a/src/core/hle/service/fs/fs_user.cpp +++ b/src/core/hle/service/fs/fs_user.cpp | |||
| @@ -102,8 +102,8 @@ static void OpenFileDirectly(Service::Interface* self) { | |||
| 102 | FileSys::Path archive_path(archivename_type, archivename_size, archivename_ptr); | 102 | FileSys::Path archive_path(archivename_type, archivename_size, archivename_ptr); |
| 103 | FileSys::Path file_path(filename_type, filename_size, filename_ptr); | 103 | FileSys::Path file_path(filename_type, filename_size, filename_ptr); |
| 104 | 104 | ||
| 105 | LOG_DEBUG(Service_FS, "archive_path=%s file_path=%s, mode=%u attributes=%d", | 105 | LOG_DEBUG(Service_FS, "archive_id=0x%08X archive_path=%s file_path=%s, mode=%u attributes=%d", |
| 106 | archive_path.DebugStr().c_str(), file_path.DebugStr().c_str(), mode.hex, attributes); | 106 | archive_id, archive_path.DebugStr().c_str(), file_path.DebugStr().c_str(), mode.hex, attributes); |
| 107 | 107 | ||
| 108 | ResultVal<ArchiveHandle> archive_handle = OpenArchive(archive_id, archive_path); | 108 | ResultVal<ArchiveHandle> archive_handle = OpenArchive(archive_id, archive_path); |
| 109 | if (archive_handle.Failed()) { | 109 | if (archive_handle.Failed()) { |
| @@ -365,7 +365,7 @@ static void OpenArchive(Service::Interface* self) { | |||
| 365 | u32 archivename_ptr = cmd_buff[5]; | 365 | u32 archivename_ptr = cmd_buff[5]; |
| 366 | FileSys::Path archive_path(archivename_type, archivename_size, archivename_ptr); | 366 | FileSys::Path archive_path(archivename_type, archivename_size, archivename_ptr); |
| 367 | 367 | ||
| 368 | LOG_DEBUG(Service_FS, "archive_path=%s", archive_path.DebugStr().c_str()); | 368 | LOG_DEBUG(Service_FS, "archive_id=0x%08X archive_path=%s", archive_id, archive_path.DebugStr().c_str()); |
| 369 | 369 | ||
| 370 | ResultVal<ArchiveHandle> handle = OpenArchive(archive_id, archive_path); | 370 | ResultVal<ArchiveHandle> handle = OpenArchive(archive_id, archive_path); |
| 371 | cmd_buff[1] = handle.Code().raw; | 371 | cmd_buff[1] = handle.Code().raw; |