More work on endianness. Grid settings are now saved and reloaded.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@187 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-09-30 19:24:49 +00:00
parent 3c1fc67ca8
commit 7bf71cd7b0
9 changed files with 268 additions and 234 deletions

3
io.h
View File

@@ -2,6 +2,9 @@
word endian_magic16(word x);
dword endian_magic32(dword x);
int read_byte(FILE *Fichier, byte *Dest);
int write_byte(FILE *Fichier, byte Byte);
int read_bytes(FILE *Fichier, void *Dest, size_t Taille);
int write_bytes(FILE *Fichier, void *Dest, size_t Taille);