-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the proper way to use Serum_ColorizeOrApplyRotations? #32
Comments
Yesterday I noticed the flicker in SS, only happens when not having 1/2 credit: flicker_short_3.mp4In Tron I noticed I didn't get the flicker (but I don't get the stripe) if I built standalone with GCC as opposed to Clang. Whenever I've seen weird GCC / Clang differences, it was usually because a variable wasn't initialized?? trn_gcc.mp4Just a thought.. @mkalkbrenner |
This makes sense if you want to render directly on the screen using libserum. |
BTW with PPUC, color rotations work perfectly well on ZeDMD. But my local copy still uses an older libpinmame checkout. |
Here are the several different versions I have tried:
Result: Flicker. Rotations seem to have correct timing S1.mp4
Result: No flicker. No Rotation. s2.mp4
Result: No flicker. No Rotation. s3.mp4
Result: No flicker. Rotation at incorrect speed s4.mp4 |
I assume, we solved that issue |
yup, fixed with 40fb09c#diff-78c29ad0d127b90fa71e2834b6ddac5f31f30df50d80c64cac80b9eab1708a19R899 Thank you @mkalkbrenner and @zesinger for the countless questions and research on this. Below is the correct way to use this function:
|
My pleasure, I'm happy I eventually fixed that issue! |
To support serum rotations, libpinmame was recently updated to call
OnDisplayUpdated
on every cycle regardless of if the frame actually changed or not. To know if the frame changed,p_displayData
will not be null.So the new loop for
OnDisplayUpdated
in VPX Standalone is like this:Upon calling
Serum_ColorizeOrApplyRotations
, if it is a new frame, I'm assumingm_pDmdData
andm_dmdPalette
get changed. If it is just a rotation, I'm guessing onlym_dmdPalette
should be changing?I'm seeing this strange behavior where in Scared Stiff, the
Press Start
is getting a weird background. In Tron, I get a flickering box to the left of the Participate In Local Tournaments.IMG_1261.mp4
trn.mp4
Should
m_pDmdData
, always be the non-changed frame fromlibpinmame
or isSerum_ColorizeOrApplyRotations
smart enough to just update the palette in these situations?The text was updated successfully, but these errors were encountered: