trying to fix crashes (cheats, closing games)
This commit is contained in:
parent
c58cb2d916
commit
1fce207bcf
@ -29,6 +29,9 @@
|
||||
|
||||
Result UnmapProcessMemoryEx(Handle processHandle, void *dst, u32 size)
|
||||
{
|
||||
if (GET_VERSION_MINOR(kernelVersion) < 37) // < 6.x
|
||||
return UnmapProcessMemory(processHandle, dst, size); // equivalent when size <= 64MB
|
||||
|
||||
Result res = 0;
|
||||
u32 sizeInPage = size >> 12;
|
||||
KLinkedList list;
|
||||
|
@ -71,8 +71,11 @@ extern Handle preTerminationEvent;
|
||||
|
||||
extern u32 menuCombo;
|
||||
|
||||
u32 waitInputWithTimeout(u32 msec);
|
||||
u32 waitInput(void);
|
||||
u32 waitInputWithTimeout(s32 msec);
|
||||
u32 waitInput(void);
|
||||
|
||||
u32 waitComboWithTimeout(s32 msec);
|
||||
u32 waitCombo(void);
|
||||
|
||||
bool menuCheckN3ds(void);
|
||||
u32 menuCountItems(const Menu *menu);
|
||||
|
Reference in New Issue
Block a user