From 70134c135037b7d973042ea9d8a57569d9e53e36 Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Thu, 19 Sep 2019 20:22:43 +1000 Subject: [PATCH] score saver: fix type of insurance variable (seems fine either way, but this should be more correct) --- source-code/source/plugins/TLAC/Components/ScoreSaver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-code/source/plugins/TLAC/Components/ScoreSaver.cpp b/source-code/source/plugins/TLAC/Components/ScoreSaver.cpp index ad2df68..727239e 100644 --- a/source-code/source/plugins/TLAC/Components/ScoreSaver.cpp +++ b/source-code/source/plugins/TLAC/Components/ScoreSaver.cpp @@ -151,7 +151,7 @@ namespace TLAC::Components bool result = divaInitResults(cls); int clearRank = *(int*)(RESULTS_BASE_ADDRESS + 0xe8); - int insurance = *(int*)(GAME_INFO_ADDRESS + 0x14); + byte insurance = *(byte*)(GAME_INFO_ADDRESS + 0x14); if (clearRank < 2 || insurance !=0) return result;