OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
cores.cpp File Reference

Register cores and handle the main menu. More...

#include "cores.h"
#include "ui.h"
#include "common/OSCR.h"
#include "apps/Settings.h"

Namespaces

namespace  OSCR
 Main program.
namespace  OSCR::Menus
 Menu options for internal features.

Functions

void OSCR::Menus::main ()

Detailed Description

Register cores and handle the main menu.

Cores (and features) should be registered in this file. Currently, the main menu is also handled in this file. This is to avoid having to edit several files just to define a newly implemented core or feature.

While it is possible to combine all of this into a single file, the amount of macro abuse required to do it in a way that works within the Arduino IDE bordered on a war crime. This is something that will just have to wait until the move away from the Arduino IDE.

See also
core-types.h