pspdev / pspsdk

An open-source SDK for PSP homebrew development.
Other
856 stars 143 forks source link

WIP: Make inline all the GU methods #227

Open fjtrujy opened 1 month ago

fjtrujy commented 1 month ago

Description

This PR follows kind of similar approach to the one done #172

This function makes static inline the majority of the libgu functions. The way it has been done was basically to put all the implementations within the pspgu.h.

What are the consequences:

Additionally, some other minor changes and clean-ups have been done.

Please, if possible test it with your apps, I have tested it with several of the samples/gu, picodrive and daedalus so far it has increased performance in a couple of FPS.

PD: Looks like the official PSP SDK did it in the same way.

Cheers.