summaryrefslogtreecommitdiff
path: root/apps/plugins/brickmania.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r--apps/plugins/brickmania.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 60e8f3820b..98de3d439f 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -1265,7 +1265,7 @@ static void brickmania_savegame(void)
1265 int fd; 1265 int fd;
1266 1266
1267 /* write out the game state to the save file */ 1267 /* write out the game state to the save file */
1268 fd = rb->open(SAVE_FILE, O_WRONLY|O_CREAT); 1268 fd = rb->open(SAVE_FILE, O_WRONLY|O_CREAT, 0666);
1269 if(fd < 0) return; 1269 if(fd < 0) return;
1270 1270
1271 if ((rb->write(fd, &pad_pos_x, sizeof(pad_pos_x)) <= 0) || 1271 if ((rb->write(fd, &pad_pos_x, sizeof(pad_pos_x)) <= 0) ||