1 |
|
/* |
2 |
|
* xpram_unix.cpp - XPRAM handling, Unix specific stuff |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
61 |
|
void SaveXPRAM(void) |
62 |
|
{ |
63 |
|
int fd; |
64 |
< |
if ((fd = open(xpram_path, O_WRONLY | O_CREAT, 0644)) >= 0) { |
64 |
> |
if ((fd = open(xpram_path, O_WRONLY | O_CREAT, 0666)) >= 0) { |
65 |
|
write(fd, XPRAM, 256); |
66 |
|
close(fd); |
67 |
|
} |