RSX: Fix RSX Captures

This commit is contained in:
Elad Ashkenazi 2024-08-26 23:32:38 +03:00 committed by Elad
parent e5b03d9cbd
commit d1bfa9cd9c
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}