PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

CreateSurface and storage card

Don’t now if it’s a bug or me using the API wrong. But when I am using a relative path to load graphics in CreateSurface it fails if the program is located at a storage card.

Could be nice to know if you have trouble running your app from a storage card.

example of failing method call:

Code:


surf.CreateSurface( 0, TEXT("..\\data\\gfx.png") );



I solved by building my own absolute path instead of letting GapiDraw do it.

/Okku