Changeset 63c1dd5 in mainline for uspace/app/tetris/scores.c


Ignore:
Timestamp:
2018-10-09T08:40:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63a045c
Parents:
ee9c703
git-author:
Jiri Svoboda <jiri@…> (2018-10-08 18:38:16)
git-committer:
Jiri Svoboda <jiri@…> (2018-10-09 08:40:53)
Message:

Persistence of Tetris highscore table. Detect live mode and create directory structure in init task. Reading volume configuration, vol -c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/scores.c

    ree9c703 r63c1dd5  
    212212        int rc;
    213213
    214         f = fopen("/data/tetris.sco", "rb");
     214        f = fopen("/w/data/tetris.sco", "rb");
    215215        if (f == NULL)
    216216                return ENOENT;
     
    231231        int rc;
    232232
    233         f = fopen("/data/tetris.sco", "wb");
     233        f = fopen("/w/data/tetris.sco", "wb");
    234234        if (f == NULL) {
    235235                printf("Error creating table\n");
Note: See TracChangeset for help on using the changeset viewer.