From d1bfa9cd9c105b82bc4d49f49ce8869be0793e9e Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Mon, 26 Aug 2024 23:32:38 +0300 Subject: [PATCH] RSX: Fix RSX Captures --- rpcs3/Emu/System.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 1f2d8c8846..d04d47222e 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -785,9 +785,9 @@ bool Emulator::BootRsxCapture(const std::string& path) const std::string lower = fmt::to_lower(path); - if (lower.ends_with(".SAVESTAT.gz") || lower.ends_with(".SAVESTAT.zst")) + if (lower.ends_with(".gz") || lower.ends_with(".zst")) { - if (lower.ends_with(".SAVESTAT.gz")) + if (lower.ends_with(".gz")) { load.m_file_handler = make_compressed_serialization_file_handler(std::move(in_file)); }