From 1fd4e2c05f5032957e499c7ed3200173b0508aee Mon Sep 17 00:00:00 2001 From: Kingcom Date: Sat, 10 Mar 2018 22:21:38 +0100 Subject: [PATCH] Get rid of unsequenced modification. Fixes #126 --- Archs/MIPS/PsxRelocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Archs/MIPS/PsxRelocator.cpp b/Archs/MIPS/PsxRelocator.cpp index e17b33bb..1f401394 100644 --- a/Archs/MIPS/PsxRelocator.cpp +++ b/Archs/MIPS/PsxRelocator.cpp @@ -50,7 +50,7 @@ std::vector loadPsxLibrary(const std::wstring& inputName) while (input[pos+skip] != 0) { - skip += input[pos+skip++]; + skip += 1+input[pos+skip]; } skip++;