From bf1311b9029e699adf9370bbebcef50ac366a7fe Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 7 Jan 2023 23:44:47 +0300 Subject: [PATCH] Fix GCC compilation --- rpcs3/Emu/RSX/gcm_enums.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/gcm_enums.h b/rpcs3/Emu/RSX/gcm_enums.h index fbd23207f3..d584123b6e 100644 --- a/rpcs3/Emu/RSX/gcm_enums.h +++ b/rpcs3/Emu/RSX/gcm_enums.h @@ -1083,8 +1083,8 @@ namespace rsx enum class surface_depth_format2 : u8 { - z16_uint = surface_depth_format::z16, // unsigned 16 bits depth - z24s8_uint = surface_depth_format::z24s8, // unsigned 24 bits depth + 8 bits stencil + z16_uint = CELL_GCM_SURFACE_Z16, // unsigned 16 bits depth + z24s8_uint = CELL_GCM_SURFACE_Z24S8, // unsigned 24 bits depth + 8 bits stencil z16_float, // floating point 16 bits depth z24s8_float, // floating point 24 bits depth + 8 bits stencil };