mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-04-26 01:00:48 +00:00
67 lines
1.4 KiB
C++
67 lines
1.4 KiB
C++
![]() |
/*
|
||
|
* ------------------------------------------------------------
|
||
|
* | Made by RocketGod |
|
||
|
* | Find me at https://betaskynet.com |
|
||
|
* | Argh matey! |
|
||
|
* ------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
#include "ui.hpp"
|
||
|
#include "ui_snake.hpp"
|
||
|
#include "ui_navigation.hpp"
|
||
|
#include "external_app.hpp"
|
||
|
|
||
|
namespace ui::external_app::snake {
|
||
|
void initialize_app(ui::NavigationView& nav) {
|
||
|
nav.push<SnakeView>();
|
||
|
}
|
||
|
} // namespace ui::external_app::snake
|
||
|
|
||
|
extern "C" {
|
||
|
|
||
|
__attribute__((section(".external_app.app_snake.application_information"), used)) application_information_t _application_information_snake = {
|
||
|
(uint8_t*)0x00000000,
|
||
|
ui::external_app::snake::initialize_app,
|
||
|
CURRENT_HEADER_VERSION,
|
||
|
VERSION_MD5,
|
||
|
"Snake",
|
||
|
{
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0x7E,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x7E,
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0x7E,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x7E,
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0x7E,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x7E,
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0x7E,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x42,
|
||
|
0x7E,
|
||
|
0x00,
|
||
|
0x00,
|
||
|
},
|
||
|
ui::Color::green().v,
|
||
|
app_location_t::GAMES,
|
||
|
-1,
|
||
|
{0, 0, 0, 0},
|
||
|
0x00000000,
|
||
|
};
|
||
|
}
|