-
Notifications
You must be signed in to change notification settings - Fork 2.2k
CD-i: Add Interlace Graphics #13997
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
CD-i: Add Interlace Graphics #13997
Conversation
Minimal code to double the vertical resolution for mamedev#13231 . The result is a slightly crisper looking image on most monitors due to better upscaling on images are have less oblique pixels. This was tested minimally and seems stable. Something closer to a proper interlaced image can be accomplished using the _PA bit, however current screen blanks between frames preventing the parity bit from being able to produce a correct interlace image yet.
If you're just looking for sharpness and the actual system's resolution is not really higher, that's what the |
You can read more information in the linked bug. This does not yet fix the bug, but is a necessary precondition. |
![]() Photo CDs now show double resolution as before. Seems like it helps reduce the risk of but does not fully fix #2561 . |
When the interlace bit is off, line-duplication is re-enabled. This ensures the interlace effect is only visible when the game declares the output to be interlaced.
In some cases, such as during startup, the line length of the interlaced line is impacted. This corrects the offset.
This is now ready for review. I fixed all the known gaps in the original change. Notice: This breaks save states. Games this reportedly helps: |
Minimal code to double the vertical resolution for #13231 .
I would appreciate feedback, especially as I don't feel confident of the proper expected way to do this within MAME's screen object.
Old version


New Version (crisper, due to pixels being less stretched out).
Difference map showing the only difference is the "blurriness" due to resolution upscaling.
This was tested minimally and seems stable.
Something closer to a proper interlaced image can be accomplished using the _PA bit, however current screen blanks between frames preventing the parity bit from being able to produce a correct interlace image yet.