Skip to content

misc fixes & device resolutions - #728

Merged
maxjivi05 merged 5 commits into
WinNative-Emu:mainfrom
maxjivi05:fix/defaults
Sep 8, 2026
Merged

misc fixes & device resolutions#728
maxjivi05 merged 5 commits into
WinNative-Emu:mainfrom
maxjivi05:fix/defaults

Conversation

@maxjivi05

Copy link
Copy Markdown
Contributor

No description provided.

Change Container.DEFAULT_AUDIO_DRIVER to pulseaudio and append
WINE_FAST_YIELD=1 to Container.DEFAULT_ENV_VARS, so the setup wizard and
the manual create dialog both inherit them.

Duplication copies the source config wholesale, so apply the same two
defaults to the copied JSON before it is loaded.

Exclude WINE_FAST_YIELD from the appVersion < 16 env var backfill so
existing containers keep their current environment.
Duplication should carry over the source container's own audio driver and
environment variables, so drop the forced defaults from that path. The new
defaults still apply to the setup wizard and the manual create dialog via
Container.DEFAULT_AUDIO_DRIVER and Container.DEFAULT_ENV_VARS.
Show Device Resolutions replaces the fixed 16:9 / 4:3 list with each
standard tier (360p through 4K, capped at the panel) recomputed for this
screen's own aspect ratio, plus the panel's native resolution.

Entries are always landscape: the panel size is normalised to long side by
short side regardless of rotation, and any entry that would come out
narrower than it is tall is dropped. Every dimension is rounded to an even
number, matching the custom width and height fields.

The toggle is a global preference shared by the container editor and the
shortcut editor, both of which render the same General section. Flipping it
keeps the current resolution when the list has it, otherwise snaps to the
entry of the same tier height, otherwise falls back to Custom with the
width and height preserved.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Turkish and Brazilian Portuguese label capitalisation now follows the
neighbouring Screen Size and Audio Driver labels, Hindi ends the help
sentence with a danda like the rest of that file, and the German help text
says schwarzen Balken rather than just Balken.
@maxjivi05 maxjivi05 changed the title Fix/defaults misc fixes & device resolutions Sep 8, 2026
A global preference meant turning it on in one container turned it on in
every other one. It is now the container extra showDeviceResolutions,
written on save alongside swapRB and the frame-gen extras, and read back
from the container being edited.

Shortcuts follow the same inheritance as every other shortcut field: the
owning container's value unless the shortcut saves its own override.
@maxjivi05
maxjivi05 merged commit 8d90f9e into WinNative-Emu:main Sep 8, 2026
5 checks passed
@maxjivi05
maxjivi05 deleted the fix/defaults branch September 8, 2026 16:35
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.

1 participant