(linux) Fixed signedness issue that caused previous change to behave strangely.

Unsupported modes are no longer listed.
(linux) Fixed a "harmless" signedness warning in LBM loader
Will sort modes tomorrow, with a qsort.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@200 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-10-05 02:47:28 +00:00
parent 40fe3ccf09
commit 75c772a724
3 changed files with 96 additions and 86 deletions

View File

@@ -1289,8 +1289,8 @@ typedef struct
{
word Width;
word Height;
short Xorg; // Inutile
short Yorg; // Inutile
word Xorg; // Inutile
word Yorg; // Inutile
byte BitPlanes;
byte Mask;
byte Compression;
@@ -1298,8 +1298,8 @@ typedef struct
word Transp_col;
byte Xaspect; // Inutile
byte Yaspect; // Inutile
short Xscreen;
short Yscreen;
word Xscreen;
word Yscreen;
} __attribute__((__packed__)) T_Header_LBM;
// -- Tester si un fichier est au format LBM --------------------------------