From c01c25febed921976e256d974bf97f948fe16753 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Mon, 7 Jan 2013 02:16:34 -0500 Subject: Add support for user-selected and automatic frame skipping. Add support for PAL timings (20 ms per frame). User-selected frameskip causes slowdowns if the game runs slower than the resulting frame rate, but synchronises correctly if the game runs faster. Automatic frame skipping is still the default. It now only skips up to 8 frames, but in some games still skips that entire 8 frames. What's needed is an algorithm that averages frame latencies over a few seconds and skips while the latency is LOWER than the average. --- source/cheats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cheats.h') diff --git a/source/cheats.h b/source/cheats.h index bb2646f..2f3252e 100644 --- a/source/cheats.h +++ b/source/cheats.h @@ -102,7 +102,7 @@ struct SCheat uint8 byte; uint8 saved_byte; // bool8 enabled; - uint32 enabled; // THIS IS A TOTAL HACK FOR THE NDSSFC GUI, YOU HAVE BEEN WARNED [Neb] + u32 enabled; // THIS IS A TOTAL HACK FOR THE NDSSFC GUI, YOU HAVE BEEN WARNED [Neb] bool8 saved; char name[MAX_SFCCHEAT_NAME]; }; -- cgit v1.2.3