You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can provide a simpler code example if necessary. I created a 1024x1024 off-screen render target, and any drawing commands within the first 8 rows causes a full system hang, requiring a hard reboot. It's currently happening in https://github.com/randomouscrap98/3ds_basicdraw/, particularly the "draw_centeredrect" function in https://github.com/randomouscrap98/3ds_basicdraw/blob/master/source/main.c, however I can create a simpler example if necessary, as it has been happening since the app did nothing at all. If you comment out the y < PAGE_EDGEBUF section, then start the app and try drawing near the top, you can (perhaps) discover the full system hang.
I'm not sure if the 1024x1024 size matters. Again, I can provide a super minimal code example if required.
The text was updated successfully, but these errors were encountered:
It draws a small rectangle wherever you're touching, so you can test it out a bit better. As the code is now, I believe it doesn't crash. If you change PADGE_EDGE to say, 7 or less, then try drawing near the top of the screen, the system hangs and doesn't accept input.
After testing, it seems to only happen on this larger texture size. I tried 512 and it didn't crash when drawing in the first 8 rows. Furthermore, it seems to be the position of the final fill and not the position you provide which causes it to crash. For instance, DrawLine is a rotated rectangle (from what I've heard) and that one WILL crash if you don't increase PAGE_EDGE past 8 to account for the rotation.
I can provide a simpler code example if necessary. I created a 1024x1024 off-screen render target, and any drawing commands within the first 8 rows causes a full system hang, requiring a hard reboot. It's currently happening in https://github.com/randomouscrap98/3ds_basicdraw/, particularly the "draw_centeredrect" function in https://github.com/randomouscrap98/3ds_basicdraw/blob/master/source/main.c, however I can create a simpler example if necessary, as it has been happening since the app did nothing at all. If you comment out the
y < PAGE_EDGEBUF
section, then start the app and try drawing near the top, you can (perhaps) discover the full system hang.I'm not sure if the 1024x1024 size matters. Again, I can provide a super minimal code example if required.
The text was updated successfully, but these errors were encountered: