From 0b628cb50ec5b5e27e659424e6544f59b5ef62cb Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 5 May 2023 15:58:39 +0200 Subject: [PATCH] cellPamf: Add missing error code --- rpcs3/Emu/Cell/Modules/cellPamf.cpp | 1 + rpcs3/Emu/Cell/Modules/cellPamf.h | 1 + 2 files changed, 2 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellPamf.cpp b/rpcs3/Emu/Cell/Modules/cellPamf.cpp index af4ad6a114..833fe43e32 100644 --- a/rpcs3/Emu/Cell/Modules/cellPamf.cpp +++ b/rpcs3/Emu/Cell/Modules/cellPamf.cpp @@ -28,6 +28,7 @@ void fmt_class_string::format(std::string& out, u64 arg) STR_CASE(CELL_PAMF_ERROR_UNSUPPORTED_VERSION); STR_CASE(CELL_PAMF_ERROR_UNKNOWN_STREAM); STR_CASE(CELL_PAMF_ERROR_EP_NOT_FOUND); + STR_CASE(CELL_PAMF_ERROR_NOT_AVAILABLE); } return unknown; diff --git a/rpcs3/Emu/Cell/Modules/cellPamf.h b/rpcs3/Emu/Cell/Modules/cellPamf.h index abf457e331..d1bdcaf0f7 100644 --- a/rpcs3/Emu/Cell/Modules/cellPamf.h +++ b/rpcs3/Emu/Cell/Modules/cellPamf.h @@ -12,6 +12,7 @@ enum CellPamfError : u32 CELL_PAMF_ERROR_UNSUPPORTED_VERSION = 0x80610505, CELL_PAMF_ERROR_UNKNOWN_STREAM = 0x80610506, CELL_PAMF_ERROR_EP_NOT_FOUND = 0x80610507, + CELL_PAMF_ERROR_NOT_AVAILABLE = 0x80610508, }; // PamfReaderInitialize Attribute Flags