mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Don't load WS patches zip multiple times
This commit is contained in:
parent
fffdf8d671
commit
b45360b49e
|
@ -376,6 +376,8 @@ static void LoadPatches(const std::string& crc_string, bool show_messages, bool
|
|||
// No ws cheat files found at the cheats_ws folder, try the ws cheats zip file.
|
||||
if (!s_widescreen_cheats_loaded)
|
||||
{
|
||||
s_widescreen_cheats_loaded = true;
|
||||
|
||||
std::optional<std::vector<u8>> data = Host::ReadResourceFile("cheats_ws.zip");
|
||||
if (data.has_value())
|
||||
s_widescreen_cheats_data = std::move(data.value());
|
||||
|
|
Loading…
Reference in New Issue