Closed Ryuzaki-MrL closed 5 years ago
Instead of calling cfg:u at each frame and keeping the session around, could you cache it in a variable? Also, I think the arrow positioning should change too, so that it is aligned to the bottom left corner.
I was looking into that yesterday, but at first glance there was no way to one-time initialize it within menu.c without creating a function just for this. EDIT: nvm.
I don't mind if it's initialized in uiInit.
I don't think making IPC calls inside the rendering code is a good idea. I still think that retrieving the system model on startup is a better idea, instead of embedding that code in the rendering loop.
I ended up going with my original idea then. uiInit now does something, I guess.
Wen eta merge
It seems like the 3DS system font doesn't have the following characters: ◀◁ I'm using U+E01A (Left Arrow) as shown here, and it looks like this on a N2DSXL. This fixes #22