Recent content by ske2004

  1. ske2004

    Homebrew Can I increase stack size beyond 65535? (libctru)

    Lol, I'm dumb. `word` in arm is 32 bit, not 16 bit. But it's weird that setting stack size to 0x10000 doesn't work 1762066831 Oh my god, I'm dumb. When I exported it as `uint16_t __stacksize__ = 0xFFFF` it worked, but when I did `uint32_t __stacksize__ = 0x10000` it didn't. Of course, when I...
  2. ske2004

    Homebrew Can I increase stack size beyond 65535? (libctru)

    I saw that in `ExHeader_CodeSetInfo` stack_size is a u32. (10 minutes later) It maybe possible! `initSystem` is weak too, that's where the stack is set up.
  3. ske2004

    Homebrew Can I increase stack size beyond 65535? (libctru)

    Hello! I'm new to homebrew, sorry if this isn't the right place. I'm using libctru to run a custom scripting language. At one point it allocates around 64kb of memory onto stack and causes stack smashing. There's a weak symbol called __stacksize__, so I can set a custom stack size, but it's a...