-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add support for Sega Master System and Game Gear #54
Conversation
case Mode::gg: | ||
v.push_back(entry.tile_index & 0xff); | ||
v.push_back(((entry.tile_index >> 8) & 0x01) | (entry.flip_h << 1) | (entry.flip_v << 2) | ((entry.palette_index << 3) & 0x8)); | ||
// SMS and GG support depth information per tile in tilemap, instead of per sprite. But superfamiconv doesn't provide that rope? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You got me there!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will have to look into the specifics and see if that's something that can be supported.
src/Mode.h
Outdated
case Mode::sms: | ||
v.push_back(((color >> 12) & 0x30) | ((color >> 6) & 0x0C) | (color & 3)); | ||
break; | ||
case Mode::pv1k: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this mode? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's how you know I didn't re-build after cherry-picking the SMS support away from the PV-1000 support :sigh:
Thanks for the PR! Looking good, but there's one stray reference to |
Here's tested support for Sega's Master System and Game Gear VDP layouts