aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.HLE/HOS/Kernel/Threading/KThread.cs2
-rw-r--r--Ryujinx.HLE/HOS/ProgramLoader.cs4
2 files changed, 4 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/Threading/KThread.cs b/Ryujinx.HLE/HOS/Kernel/Threading/KThread.cs
index d4965b41..0232bc16 100644
--- a/Ryujinx.HLE/HOS/Kernel/Threading/KThread.cs
+++ b/Ryujinx.HLE/HOS/Kernel/Threading/KThread.cs
@@ -162,6 +162,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
bool isAarch32 = (Owner.MmuFlags & 1) == 0;
+ Context.IsAarch32 = isAarch32;
+
Context.SetX(0, argsPtr);
if (isAarch32)
diff --git a/Ryujinx.HLE/HOS/ProgramLoader.cs b/Ryujinx.HLE/HOS/ProgramLoader.cs
index 0bc6447e..19c77380 100644
--- a/Ryujinx.HLE/HOS/ProgramLoader.cs
+++ b/Ryujinx.HLE/HOS/ProgramLoader.cs
@@ -127,7 +127,7 @@ namespace Ryujinx.HLE.HOS
{
if (!metaData.Is64Bits)
{
- Logger.PrintWarning(LogClass.Loader, "32-bits application detected!");
+ Logger.PrintWarning(LogClass.Loader, "32-bits application detected.");
}
ulong argsStart = 0;
@@ -309,4 +309,4 @@ namespace Ryujinx.HLE.HOS
return SetProcessMemoryPermission(dataStart, end - dataStart, MemoryPermission.ReadAndWrite);
}
}
-} \ No newline at end of file
+}