mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
png2hgr: full row lookup table for HGR
This commit is contained in:
parent
897576bcea
commit
d36311e434
@ -247,10 +247,15 @@ static int hgr_offset_table[48]={
|
||||
|
||||
static int hgr_offset(int y) {
|
||||
|
||||
int temp;
|
||||
int temp,temp2,address;
|
||||
temp=y/8;
|
||||
temp2=y%8;
|
||||
|
||||
return hgr_offset_table[temp];
|
||||
temp2=temp2*0x400;
|
||||
|
||||
address=hgr_offset_table[temp]+temp2;
|
||||
|
||||
return address;
|
||||
}
|
||||
|
||||
static unsigned char apple2_image[8192];
|
||||
|
Loading…
Reference in New Issue
Block a user