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:
This could improve performance in several cases as we save navigating deeper to functions and turning back.
The size of the binaries now could increase/decrease (it depends on implementation)
pspgu.h now contains at the bottom of the file all the implementations.
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.
Description
This PR follows kind of similar approach to the one done #172
This function makes
static inline
the majority of thelibgu
functions. The way it has been done was basically to put all the implementations within thepspgu.h
.What are the consequences:
pspgu.h
now contains at the bottom of the file all the implementations.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
anddaedalus
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.