Fixed a bug about APM that was introduced with rev 968. Found by Vladimir.
This commit is contained in:
parent
d2c19ed2b4
commit
4fd7faa636
@ -747,7 +747,7 @@ static int iso_write_apm_entry(Ecma119Image *t, int apm_block_size,
|
|||||||
uint8_t *wpt;
|
uint8_t *wpt;
|
||||||
int block_fac;
|
int block_fac;
|
||||||
|
|
||||||
block_fac = apm_block_size / 512;
|
block_fac = 2048 / apm_block_size;
|
||||||
|
|
||||||
memset(buf, apm_block_size, 0);
|
memset(buf, apm_block_size, 0);
|
||||||
wpt = buf;
|
wpt = buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user