-BMP Loading
-Fixed PCX loading -Some work on ILBM loading -Little adaptation for long filenames (does not crash anymore, but there are display bugs) -Some other small fixes i can't remember git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@123 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
divers.c
4
divers.c
@@ -625,10 +625,10 @@ byte Couleur_ILBM_line(word Pos_X, word Vraie_taille_ligne)
|
||||
int ax,bh,dx;
|
||||
byte bl=0;
|
||||
|
||||
for(dx = HBPm1;dx>=0;dx--);
|
||||
for(dx = HBPm1;dx>0;dx--);
|
||||
{
|
||||
//CIL_Loop
|
||||
ax = (Vraie_taille_ligne * HBPm1 + Pos_X) >> 3;
|
||||
ax = (Vraie_taille_ligne * dx + Pos_X) >> 3;
|
||||
bh = (LBM_Buffer[ax] >> cl) & 1;
|
||||
|
||||
bl = (bl << 1) + bh;
|
||||
|
||||
Reference in New Issue
Block a user