mirror of
https://github.com/pelgraine/Meck.git
synced 2026-10-31 04:02:01 +01:00
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}