I am new to homebrewing on PSP. I have written the code that takes a snapshot of current display and saves it as PNG.
I have compiled libpng 1.2.8 and zlib 1.2.3 without any modification to the source code.
When I take a snapshot it takes approx 10 seconds to finish the job. I thought PSP is faster than this.
I believe access to memory stick is slowing things down. I did some debugging - tracing to file when each scan line gets processed by libpng. The log function is simple:
void Log(const char *s)
FILE *fp = fopen("trace.txt", "a");
The encoding process takes 2 and a half minutes when the logging is turned on!!
Is memory stick really that slow? Any suggestions how to speed up the encoding process?