mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-06 11:01:38 +12:00
Proper stack management
This commit is contained in:
parent
4a12e59c2f
commit
2ec3884189
4 changed files with 48 additions and 8 deletions
|
@ -29,7 +29,6 @@ namespace VirtualAddrs {
|
|||
// Stack for main ARM11 thread.
|
||||
// Typically 0x4000 bytes, determined by exheader
|
||||
StackTop = 0x10000000,
|
||||
StackBottom = 0x0FFFC000,
|
||||
DefaultStackSize = 0x4000,
|
||||
|
||||
NormalHeapStart = 0x08000000,
|
||||
|
@ -248,4 +247,5 @@ public:
|
|||
u32 getUsedUserMem() { return usedUserMemory; }
|
||||
|
||||
void setVRAM(u8* pointer) { vram = pointer; }
|
||||
bool allocateMainThreadStack(u32 size);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue