Changeset 00fe6bb in mainline for uspace/app/tetris/scores.c
- Timestamp:
- 2009-06-27T09:41:55Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6408be3
- Parents:
- 1fbe064b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/scores.c
r1fbe064b r00fe6bb 203 203 int rc; 204 204 205 f = fopen("/ tetris.sco", "rb");205 f = fopen("/data/tetris.sco", "rb"); 206 206 if (f == NULL) 207 207 return ENOENT; … … 222 222 int rc; 223 223 224 f = fopen("/ tetris.sco", "wb");224 f = fopen("/data/tetris.sco", "wb"); 225 225 cnt = fwrite(scores, sizeof(struct highscore), NUMSPOTS, f); 226 226 rc = fclose(f);
Note:
See TracChangeset
for help on using the changeset viewer.