sega/megadriv.cpp, sega/mdconsole.cpp, video/315_5313.cpp: Allow LCM scaling for handle mismatch 32x vs megadriv vdp horizontal screen width case#14884
Open
cam900 wants to merge 4 commits intomamedev:masterfrom
Conversation
…ismatch 32x vs megadriv vdp horizontal screen width case H32 mode in 32x used at nflqb (still not support yet in MAME)
32x screen width is fixed to 320 pixels.
angelosa
reviewed
Jan 29, 2026
Member
angelosa
left a comment
There was a problem hiding this comment.
I don't like this, it looks a timing drift nightmare on something that already has timing issues for a game that doesn't even work because the base driver needs the cart rewrite.
angelosa
reviewed
Feb 1, 2026
| screen_device &screen(SCREEN(config, "megadriv", SCREEN_TYPE_RASTER)); | ||
| screen.set_refresh_hz(double(OSC1_CLOCK) / 10.0 / 262.0 / 342.0); // same as SMS? | ||
| // screen.set_refresh_hz(double(OSC1_CLOCK) / 8.0 / 262.0 / 427.0); // or 427 Htotal? | ||
| screen.set_refresh_hz(double(OSC1_CLOCK) / 3420.0 / 262.0); // 3420 clock per scanline |
Member
There was a problem hiding this comment.
3420 x 262 screenshot memes for a game that don't even boot ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
H32 mode in 32x used at nflqb (still not support yet in MAME)