diff options
author | Nebuleon Fumika | 2013-01-07 02:16:34 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-07 02:16:34 -0500 |
commit | c01c25febed921976e256d974bf97f948fe16753 (patch) | |
tree | 6cd8703c03ff4d2882ec12c1a79935b43340be46 /source/cheats.h | |
parent | 6c5bd7571644baa5693acef24d52c4fb08ed9ce3 (diff) | |
download | snes9x2005-c01c25febed921976e256d974bf97f948fe16753.tar.gz snes9x2005-c01c25febed921976e256d974bf97f948fe16753.tar.bz2 snes9x2005-c01c25febed921976e256d974bf97f948fe16753.zip |
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.
Diffstat (limited to 'source/cheats.h')
-rw-r--r-- | source/cheats.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]; }; |