Fixed a bug about APM that was introduced with rev 968. Found by Vladimir.

This commit is contained in:
Thomas Schmitt 2012-05-29 21:20:42 +02:00
parent d2c19ed2b4
commit 4fd7faa636
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ static int iso_write_apm_entry(Ecma119Image *t, int apm_block_size,
uint8_t *wpt;
int block_fac;
block_fac = apm_block_size / 512;
block_fac = 2048 / apm_block_size;
memset(buf, apm_block_size, 0);
wpt = buf;