diff --git a/global.h b/global.h index bdcf7acb..dada5e90 100644 --- a/global.h +++ b/global.h @@ -726,13 +726,6 @@ GFX2_GLOBAL byte Mask_table[256]; // -- Magnifier data -/// Pointer to ::Magnify_table[n] : table of multipliers used by the Magnifier. -// FIXME: This only caches a multiplication. Maybe we should scrap it -GFX2_GLOBAL word * Zoom_factor_table; -/// Precomputed tables of multipliers used by the Magnifier. -// FIXME: This only caches a multiplication. Maybe we should scrap it -GFX2_GLOBAL word Magnify_table[NB_ZOOM_FACTORS][512]; - #ifdef GLOBAL_VARIABLES word ZOOM_FACTOR[NB_ZOOM_FACTORS]={2,3,4,5,6,8,10,12,14,16,18,20}; #else diff --git a/init.c b/init.c index 2e18be39..d4038f2c 100644 --- a/init.c +++ b/init.c @@ -2168,24 +2168,6 @@ Erreur_sauvegarde_config: return ERROR_SAVING_CFG; } - -void Init_multiplication_tables(void) -{ - word factor_index; - word zoom_factor; - word mult_index; - - for (factor_index=0;factor_index>1); Main_magnifier_factor=ZOOM_FACTOR[factor_index]; - Zoom_factor_table=Magnify_table[factor_index]; Compute_magnifier_data(); if (Main_magnifier_mode)