Files
Meck/examples
pelgraine 37b3d343e7 GBC emulator: gate out of the 40 MHz battery-saver builds
The emulator needs 240 MHz to run at speed, so it has no place on the
40 MHz builds (meck_max_standalone_40mhz and the Pro's 40 MHz env).

- GamesMenuScreen.h: the Game Boy entry is omitted from the games menu
  on MECK_40MHZ_TEST builds (NUM_GAMES drops to 2, in lockstep with the
  entry list). Snake and Minesweeper are unaffected -- they run fine at
  40 MHz. The menu simply shows two games instead of three.
- UITask::gotoGBCScreen(): refuses on MECK_40MHZ_TEST with a brief
  "Game Boy needs 240MHz" alert and stays put. This is the single point
  every launch route (tile, J-key, games menu) funnels through, so it
  backstops the menu omission -- nothing can reach the emulator on
  those builds.

Files: examples/companion_radio/ui-new/{GamesMenuScreen.h, UITask.cpp}
2026-09-15 18:51:01 +10:00
..