GP2X_Coder
Member
I am trying to convert all of my direct x code over to my new gp2x so I can start releasing games but i ran into a little problem. On windows when I wanted to check and see if a file existed and get the size of the file I could call getfilesize and pass a windos handle to the function and it would return the value of the file in bytes if it was there 0 if there were no such file. Is there anything like this that will work on Linux?
Thanks alot.
(I basically need this to check and see if a person creates a save game file or not so my program will know to load it in or just load the defaults.)
Any help would be appreciated.
Thanks alot.
(I basically need this to check and see if a person creates a save game file or not so my program will know to load it in or just load the defaults.)
Any help would be appreciated.