From 01b39eb8aff398399402bc91c49ddef91e30dae1 Mon Sep 17 00:00:00 2001 From: korenkonder Date: Tue, 30 Jan 2024 15:17:32 +0300 Subject: [PATCH] Don't bake EFFPV as ITMPV --- src/ReDIVA/x_pv_game.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/ReDIVA/x_pv_game.cpp b/src/ReDIVA/x_pv_game.cpp index 4eb27b9f..f9a1b28b 100644 --- a/src/ReDIVA/x_pv_game.cpp +++ b/src/ReDIVA/x_pv_game.cpp @@ -9126,27 +9126,6 @@ static void replace_names(char* str) { stgpv += 6; } - char* effpv; - effpv = str; - while (true) { - effpv = strstr(effpv, "EFFPV"); - if (!effpv || strstr(effpv, "EFFPV815") || strstr(effpv, "PTC")) - break; - - memcpy(effpv, "ITMPV", 5); - effpv += 6; - } - - effpv = str; - while (true) { - effpv = strstr(effpv, "effpv"); - if (!effpv || strstr(effpv, "effpv815") || strstr(effpv, "ptc")) - break; - - memcpy(effpv, "itmpv", 5); - effpv += 6; - } - replace_pv832(str); }