Skip to content

refactor: remove obsolete CPU and menu bar overrides - #627

Merged
benletchford merged 1 commit into
masterfrom
dev/remove-obsolete-cli-options
Aug 14, 2026
Merged

refactor: remove obsolete CPU and menu bar overrides#627
benletchford merged 1 commit into
masterfrom
dev/remove-obsolete-cli-options

Conversation

@benletchford

Copy link
Copy Markdown
Owner

Summary

  • remove the obsolete --cpu-mhz CLI option and its GUI-only instruction-cap machinery
  • remove --show-menu-bar and SYSTEMLESS_SHOW_MENU_BAR
  • make guest-controlled menu visibility the library default
  • add explicit initial-kiosk and force-hidden frontend policies while preserving native macOS menu mirroring

Why

The CPU override duplicated the canonical machine profile while only affecting one frontend pacing path. Menu presentation was similarly expressed as a global boolean, which made kiosk behavior the library default and conflated frontend chrome policy with guest MBarHeight and DrawMenuBar state.

The new policy keeps the emulation core guest-controlled by default. Frontends can request an initial kiosk presentation that releases when the guest explicitly draws or reveals its menu bar, or force the framebuffer menu bar hidden when menus are presented natively.

Validation

  • cargo fmt --all --check
  • cargo test --lib (2,955 passed; 3 ignored)
  • cargo test --bin systemless (51 passed)
  • cargo check --no-default-features --lib

Closes #625

@benletchford
benletchford marked this pull request as ready for review August 14, 2026 11:59
@benletchford
benletchford merged commit 5b6ce45 into master Aug 14, 2026
5 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.

Reevaluate cli args

1 participant