Tidy up calculation, thanks smf. No whatsnew.

This commit is contained in:
Paul Priest 2010-01-23 00:03:41 +00:00
parent 117954c29d
commit ff7da70b20

View File

@ -1277,7 +1277,7 @@ VIDEO_START( psikyosh )
/* precompute the background zoom table. verified against hardware.
unsure of the precision, we use .10 fixed point like the sprites */
for(i = 0; i < 0x100; i++) {
state->bg_zoom[i] = (64. / (i + 64.)) * 0x400;
state->bg_zoom[i] = (64 * 0x400) / (i + 64);
}
state_save_register_global_bitmap(machine, state->z_bitmap);