File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ class Cart {
155155 virtual bool run () {
156156 running_ = true ;
157157 // handle touchpad so we can know if the user presses the menu
158- auto touch = espp::EspBox ::get ().touchpad_data ();
158+ auto touch = BoxEmu::Bsp ::get ().touchpad_data ();
159159 bool btn_state = touch.btn_state ;
160160 // also get the gamepad input state so we can know if the user presses the
161161 // start/select buttons together to bring up the menu
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ extern "C" void app_main(void) {
2424 logger.info (" Bootup" );
2525
2626 // initialize the hardware abstraction layer
27- espp::EspBox &box = espp::EspBox::get ();
28- logger.info (" Running on {}" , box.box_type ());
2927 BoxEmu &emu = BoxEmu::get ();
3028 logger.info (" Box Emu version: {}" , emu.version ());
3129
@@ -67,7 +65,7 @@ extern "C" void app_main(void) {
6765
6866 logger.info (" initializing gui..." );
6967
70- auto display = box .display ();
68+ auto display = BoxEmu::Bsp::get () .display ();
7169
7270 // initialize the gui
7371 Gui gui ({
You can’t perform that action at this time.
0 commit comments