To hell with the warning, this is better.

This commit is contained in:
grinvader
2005-06-08 13:33:19 +00:00
parent 6f1b0f8c73
commit 9606a6ad37

View File

@@ -1017,7 +1017,7 @@ static void zmv_record(bool pause, unsigned char combos_used, unsigned char slow
size_t skip_bits = 0; size_t skip_bits = 0;
static float average = 0.0f; static float average = 0.0f;
if (average <= 0.0f) { average = (float)zmv_vars.header.average_fps/((romispal) ? 250.0f : 240.0f); } if (!average) { average = (float)zmv_vars.header.average_fps/((romispal) ? 250.0f : 240.0f); }
if (pause) { zmv_vars.header.incr_frames++; } if (pause) { zmv_vars.header.incr_frames++; }