Skip to content

Show full VRAM extents, and display window overlay on preview#128

Merged
indigodarkwolf merged 4 commits into
indigodarkwolf:masterfrom
cosmicr:master
Jul 28, 2025
Merged

Show full VRAM extents, and display window overlay on preview#128
indigodarkwolf merged 4 commits into
indigodarkwolf:masterfrom
cosmicr:master

Conversation

@cosmicr
Copy link
Copy Markdown
Contributor

@cosmicr cosmicr commented Jul 28, 2025

The VRAM preview appears to be limited to only showing up to 480 rows at a time, despite in lower bpp modes more lines being available in bitmap mode.

This changes that value to be dynamic instead of fixed so that the full VRAM can be displayed at a time.

I also added the abiliity to either Follow the tile base address from the top (current functionality) or show the full VRAM, and the option to show an overlay for the current display.

image

Let me know if anything needs clarification!

@cosmicr
Copy link
Copy Markdown
Contributor Author

cosmicr commented Jul 28, 2025

gah I didn't test on 32-bit - looks like I should have done a cast on the std::min call. it will still compile and work if warnings are ignored. let me know if you want me to do another PR.

@indigodarkwolf
Copy link
Copy Markdown
Owner

indigodarkwolf commented Jul 28, 2025

Yes, please fix the 32-bit build warnings and update the PR.

Also, for consistent style, please change enum class ViewMode and its values from pascal case ("ViewMode") to snake case ("view_mode").

Otherwise, looks good, and thanks a bunch!

@cosmicr
Copy link
Copy Markdown
Contributor Author

cosmicr commented Jul 28, 2025

done! I hope someone finds this useful :) thanks!

@indigodarkwolf indigodarkwolf merged commit 5eae008 into indigodarkwolf:master Jul 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants