Hello!
I've been working on a project for the 3DS and have encountered an issue. I have made sure to use the latest version of devkitARM, and the docker file should make sure that is up to date.
Issue repo: https://github.com/FelixWolf/furc-3ds
Issue line: https://github.com/FelixWolf/furc-3ds/b ... a.cpp#L134
For some reason, I am encountering a issue where if that line is removed, then it will hard crash the hardware. The same happens if I attempt to use FOX5File test("romfs:/platform/3ds.fox");
(Specifically in here https://github.com/FelixWolf/furc-3ds/b ... a.cpp#L214, where I intended to load global images).
The FOX5 library works fine when compiled on linux, but when compiled to the 3DS it crashes.
I believe both issues are related, and it may be related to the use of std::vector
, but I am not 100% sure.
I'm unfortunately unable to use GDB, as this crashes the hardware, and the GDB stub dies with it.
I've included a docker setup so that it can be reproduced the same way, docker-setup.sh
and then docker-build.sh
should output a 3dsx at build/build-3ds/packaged/main.3dsx
.
Any ideas what I might be doing wrong here?
Apologies for the messy code, once I have a functioning boilerplate, the codebase will be cleaned up.