Skip to content

Add the option to toggle screen sizes in Resized screen mode#64

Open
Schluss-S wants to merge 4 commits intoGrarak:mainfrom
Schluss-S:touch-swap
Open

Add the option to toggle screen sizes in Resized screen mode#64
Schluss-S wants to merge 4 commits intoGrarak:mainfrom
Schluss-S:touch-swap

Conversation

@Schluss-S
Copy link
Contributor

This adds a touchable "button" to the top-right corner of the screen during emulation, that allows the user to change the screen sizes while using the "Resized" screen mode.

Thanks to @cnux9 for the base code.

@Schluss-S
Copy link
Contributor Author

Schluss-S commented Sep 20, 2025

Good catch, that's a problem with the VPKs produced by my local setup. I can confirm the VPKs generated by the Github action do not have this issue.

So please ignore the issue, I already uploaded a working VPK to my fork's releases page.

@BlackSheepBoy69
Copy link

Sorry, I deleted my picture of the glitch when I saw you did a fix and before I saw that you replied. Testing the new version now

@Schluss-S Schluss-S force-pushed the touch-swap branch 2 times, most recently from 885ca70 to 2c2d2d4 Compare September 20, 2025 18:16
@BlackSheepBoy69
Copy link

2025-09-20-155411

2025-09-20-155411

Great

@Schluss-S
Copy link
Contributor Author

@Grarak if you prefer that I rebase onto your wip branch and target it instead, let me know.

@Grarak
Copy link
Owner

Grarak commented Sep 21, 2025

I am currently reimplementing the screen layouts. Please don't put more effort into the current codebase

@Grarak
Copy link
Owner

Grarak commented Sep 21, 2025

I've pushed the reimplementation to the wip branch
Feel free to add more layouts here https://github.com/Grarak/DSVita/blob/wip/screenlayouts/build.rs

@Schluss-S
Copy link
Contributor Author

@Grarak The reimplementation looks very interesting, since it handles the rotation very elegantly. However, I noticed that all the screen modes are just "nameless" values in a vector. Have you considered using a HashMap instead? In order to have a "identifier" for each mode.

@Grarak
Copy link
Owner

Grarak commented Sep 26, 2025

@Grarak The reimplementation looks very interesting, since it handles the rotation very elegantly. However, I noticed that all the screen modes are just "nameless" values in a vector. Have you considered using a HashMap instead? In order to have a "identifier" for each mode.

Added b734972

@BlackSheepBoy69
Copy link

Grarak's solution (PS+X) is probably better since the OLED Vita's might get burn-in from the rectangle, though the rectangle is a really cool idea.

@pochopsp
Copy link

pochopsp commented Feb 8, 2026

Hello @Grarak @Schluss-S thanks for your work.

Playing New Super Mario Bros I noticed that in some parts the bottom screen becomes the main one (e.g. when you enter a pipe). Would it be possible to add the option to make the bottom screen fullsize too (as per today only the upper screen can be made fullsize)

@Grarak
Copy link
Owner

Grarak commented Feb 8, 2026

Hello @Grarak @Schluss-S thanks for your work.

Playing New Super Mario Bros I noticed that in some parts the bottom screen becomes the main one (e.g. when you enter a pipe). Would it be possible to add the option to make the bottom screen fullsize too (as per today only the upper screen can be made fullsize)

This is already supported, use the swap screen feature

@pochopsp
Copy link

pochopsp commented Feb 8, 2026

Oh thanks a lot @Grarak , was not aware of this

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.

5 participants