rsn8887 / uae4all2

A fast and optimized Amiga Emulator for Vita and Switch
GNU General Public License v2.0
83 stars 10 forks source link

[switch] Full screen support? #22

Closed fennectech closed 5 years ago

fennectech commented 5 years ago

I would like to see better display support for the switch version. Mostly the aiblity to have a full 720p image.

rsn8887 commented 5 years ago

This is already supported: You can use the display settings PRESET MODE (for width), DISPLAYED LINES (for height) and VERTICAL POSITION to adjust the screen size and centering in the menu. Even easier, you can also use R+PLUS+DPAD LEFT/RIGHT/UP/DOWN while the emulation is running to change screen size and vertical position in real-time.

This only works when you have selected the default shader "SHARP-BILINEAR-SIMPLE", which is highly recommended, or some other shader. If you select "NONE" as shader, then the screen size is limited to integer scaling, which results in black bars.

rsn8887 commented 5 years ago

Or are you not talking about games, but application software that uses Picasso/RTG screenmodes in Workbench? In that case, no, Picasso/RTG is not supported in this emulator.

fennectech commented 5 years ago

I’m mostly talking about a intiger scaling that uses the screens resolution fully. What’s the optimal line for full screen with intiger scaling.

On Wed, Nov 21, 2018 at 22:52 rsn8887 notifications@github.com wrote:

Or are you talking about Workbench Picasso/RTG native 720p screenmodes? No.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rsn8887/uae4all2/issues/22#issuecomment-440912281, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZmAQdw2UVFfqOJJ8CwFAofUaw_rLuEks5uxi19gaJpZM4YsUrG .

-- FennecTECH

rsn8887 commented 5 years ago

Don’t use NONE (integer scaling) if you want fullscreen games. Use sharp-bilinear-simple and the R+Start+dpad shortcut if you want full screen games. Alternatively, you can use bilinear or point shaders but I hate those personally.

Integer scaling only fills the screen if there’s an integer divisor. You can do the math yourself:

x = 720 / n

Where x is displayedlines and n is an integer.

So for n = 2, 3, 4 we get 360, 240, 180 lines. 360: no game uses that many. 240: might work with some games but most games use 256 or 200. If the game uses 256 lines you will be missing some. If the game uses 200, you get black borders on top and bottom. 180: well it will be fullscreen for sure but no game uses so few lines. So you will be missing a lot of content.

There’s no way around this and other emulators like Retroarch behave exactly the same.

fennectech commented 5 years ago

Thaanks. :). Ill get it sorted when i get home.