so bascially rosalina's image...
was in BASE (hardcoded by kernel) while its heaps were in SYSTEM. Fix this; also put the kext where BASE was.
This commit is contained in:
@@ -3,11 +3,24 @@
|
||||
#include "luma.h"
|
||||
#include "util.h"
|
||||
|
||||
bool hasKExt(void)
|
||||
{
|
||||
s64 val;
|
||||
return svcGetSystemInfo(&val, 0x20000, 0) == 1;
|
||||
}
|
||||
|
||||
u32 getKExtSize(void)
|
||||
{
|
||||
s64 val;
|
||||
Result res = svcGetSystemInfo(&val, 0x10000, 0x300);
|
||||
return R_FAILED(res) ? 0 : (u32)val;
|
||||
svcGetSystemInfo(&val, 0x10000, 0x300);
|
||||
return (u32)val;
|
||||
}
|
||||
|
||||
u32 getStolenSystemMemRegionSize(void)
|
||||
{
|
||||
s64 val;
|
||||
svcGetSystemInfo(&val, 0x10000, 0x301);
|
||||
return (u32)val;
|
||||
}
|
||||
|
||||
bool isTitleLaunchPrevented(u64 titleId)
|
||||
|
||||
Reference in New Issue
Block a user