Hi everyone
I've got a weird problem with my homebrew launcher. As I add code and features, the launcher will stop exiting when I try to launch something (i.e. it freezes). The problem goes away if I remove other, unused, code.
For example, I got to a point where the launcher was working, and the only change I made was to add a definition for a boolean variable. This variable at the time had no effect on anything as it had only been defined. After adding this definition, the launcher stopped exiting when selecting something. When I removed an unused graphics function it started working again with the boolean variable definition still there.
I have been having this problem throughout, where I can add features up to a certain point before having to find something unused to remove. The actual filesize of the 3dsx does not seem to be the issue as I can add rather large data files which get incorporated into the 3dsx and do not cause this problem. It is literally only if I add code to the source.
I created a function which logs to a text file on the SD card. I then put calls to this all through main.c, and the last log entry was just before the call to sdmcExit(). The log immediately after this line was not present in the log file, indicating that sdmcExit() is hanging. I can't, however, work out why adding code to the project (which might not even have anything to do with the filesystem) would cause this hang.
Thanks in advance for any help!
I've got a weird problem with my homebrew launcher. As I add code and features, the launcher will stop exiting when I try to launch something (i.e. it freezes). The problem goes away if I remove other, unused, code.
For example, I got to a point where the launcher was working, and the only change I made was to add a definition for a boolean variable. This variable at the time had no effect on anything as it had only been defined. After adding this definition, the launcher stopped exiting when selecting something. When I removed an unused graphics function it started working again with the boolean variable definition still there.
I have been having this problem throughout, where I can add features up to a certain point before having to find something unused to remove. The actual filesize of the 3dsx does not seem to be the issue as I can add rather large data files which get incorporated into the 3dsx and do not cause this problem. It is literally only if I add code to the source.
I created a function which logs to a text file on the SD card. I then put calls to this all through main.c, and the last log entry was just before the call to sdmcExit(). The log immediately after this line was not present in the log file, indicating that sdmcExit() is hanging. I can't, however, work out why adding code to the project (which might not even have anything to do with the filesystem) would cause this hang.
Thanks in advance for any help!