Fix raw image & video capture for 160x200 16-colour Tandy/PCjr modes #3185
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.
Description
Before this change, raw image and video captures of the 160x200 16-colour Tandy/PCjr video modes were written width-doubled as 320x200. This is because this special mode is rendered with "baked-in" pixel doubling (we're not doing this for any other mode).
With this fix, raw image & video captures work 100% consistently with our definition of raw captures for all video modes on all emulated adapters 🎉
See the end of this post for a list of games that use the 160x200 Tandy/PCjr mode:
http://nerdlypleasures.blogspot.com/2015/10/advantages-of-160x200-16-color.html
Related issues
#3177
Manual testing
Regression tested raw image & video capture with a couple of VGA and EGA games—all good.
Tested 160x200 16-colour Tandy/PCjr mode with Maniac Mansion v1.
Raw image capture
Raw video capture
Checklist
Please tick the items as you have addressed them. Don't remove items; leave the ones that are not applicable unchecked.
I have: