Page 1 of 1

Red frame counter in Gens_r57shell_mod_r665

Posted: Sun Sep 13, 2015 8:43 pm
by tryphon
Hello,

a simple question I haven't found the answer in the txt with the archive.

I use Gens_r57shell_mod_r665, downloaded on RHDN, and in the top-left edge of the screen there is a counter, that (I suppose) shows the number of frames since the loading of the ROM, in white.

Sometimes, this number is in red. What does it mean ?

I ask that because it occurs in some specific situations of the game I code, and if it means something like missed VBLANK, it can give me hints for the routines I must optimize.

Thank you :)

Re: Red frame counter in Gens_r57shell_mod_r665

Posted: Mon Sep 14, 2015 10:20 am
by r57shell
same like in original gens-rerecording
it's so called lag-frames.
actually, it's only some kind of detection of lags. It has false positive cases.
It does check whether was joypad read or not.
Red counter means that in previous (I'm not sure) frame joypad wasn't checked (read).

Re: Red frame counter in Gens_r57shell_mod_r665

Posted: Fri Sep 18, 2015 2:29 pm
by tryphon
Thanks for answering !

So I guess there will be optimizations to be made :twisted: