mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-30 10:52:04 +00:00
Set AArch32 mode in KThread (#818)
* Set AArch32 mode in KThread * Update ProgramLoader.cs
This commit is contained in:
parent
dead89576e
commit
b9ae0b09d9
2 changed files with 4 additions and 2 deletions
|
@ -162,6 +162,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
||||||
|
|
||||||
bool isAarch32 = (Owner.MmuFlags & 1) == 0;
|
bool isAarch32 = (Owner.MmuFlags & 1) == 0;
|
||||||
|
|
||||||
|
Context.IsAarch32 = isAarch32;
|
||||||
|
|
||||||
Context.SetX(0, argsPtr);
|
Context.SetX(0, argsPtr);
|
||||||
|
|
||||||
if (isAarch32)
|
if (isAarch32)
|
||||||
|
|
|
@ -127,7 +127,7 @@ namespace Ryujinx.HLE.HOS
|
||||||
{
|
{
|
||||||
if (!metaData.Is64Bits)
|
if (!metaData.Is64Bits)
|
||||||
{
|
{
|
||||||
Logger.PrintWarning(LogClass.Loader, "32-bits application detected!");
|
Logger.PrintWarning(LogClass.Loader, "32-bits application detected.");
|
||||||
}
|
}
|
||||||
|
|
||||||
ulong argsStart = 0;
|
ulong argsStart = 0;
|
||||||
|
|
Loading…
Reference in a new issue