286
GLBasic - en / Problems writing to Wiz
« on: 2009-Jul-04 »
I?m trying to write a highscores file using PUTFILE but it seems that doesn?t work under WIZ.
Reading a post with a related problem under GP2X it recommends to use WRITELINE and sync.
Trying this solution, altought I sync everytime a file has been modified, when I try to read it later it?s not synced untill I restart the game.
So highscores are not been updated till next game restart altought have been synced.
My call for syncing is this: SHELLCMD("sync", TRUE, FALSE, rv)
I?m reading with GETFILE that seems to work fine.
Any workaround?
Reading a post with a related problem under GP2X it recommends to use WRITELINE and sync.
Trying this solution, altought I sync everytime a file has been modified, when I try to read it later it?s not synced untill I restart the game.
So highscores are not been updated till next game restart altought have been synced.
My call for syncing is this: SHELLCMD("sync", TRUE, FALSE, rv)
I?m reading with GETFILE that seems to work fine.
Any workaround?