From c88e9423622646656345b050ef6bca4722e6095b Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 3 Jul 2018 18:38:40 -0300 Subject: [PATCH] Unsigned comparison --- Ryujinx.HLE/OsHle/Process.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.HLE/OsHle/Process.cs b/Ryujinx.HLE/OsHle/Process.cs index 439dd5f3d3..f106a700db 100644 --- a/Ryujinx.HLE/OsHle/Process.cs +++ b/Ryujinx.HLE/OsHle/Process.cs @@ -327,7 +327,7 @@ namespace Ryujinx.HLE.OsHle for (int Index = Executables.Count - 1; Index >= 0; Index--) { - if (Position >= Executables[Index].ImageBase) + if ((ulong)Position >= (ulong)Executables[Index].ImageBase) { return Executables[Index]; }