Hydr8gon / sm64

A port of Super Mario 64 for the DSi
Creative Commons Zero v1.0 Universal
130 stars 9 forks source link

Moved functions and data to ITCM/DTCM #38

Closed AngelTomkins closed 7 months ago

AngelTomkins commented 7 months ago

This improves the performance of the program significantly. Most of the time you are now above 30fps, and with audio off it is almost always. The functions I put into the ITCM are things that run often, though I know this is not the "perfect" layout. And most of the DTCM stuff I added are for the nds_renderer.c since that is what was taking the majority of the frametime. There are also a few minor changes in nds_renderer.c that improves performance by a negligible amount.