Add manual cartridge saving and a right-side menu
This commit is contained in:
17 files changed
+449
-63
No files matched your search
@@ -3,6 +3,17 @@
|
||||
u16 test_pixels[WIDTH * HEIGHT + 2];
|
||||
unsigned char test_save[32];
|
||||
|
||||
void save_from_menu(void)
|
||||
{
|
||||
assert(!save_menu_input(0, 1));
|
||||
assert(save_menu_input(START, 1) && save_menu.phase == SAVE_MENU_OPTIONS);
|
||||
assert(!save_menu_input(0, 1));
|
||||
assert(save_menu_input(A, 1) && save_menu.phase == SAVE_MENU_SAVED);
|
||||
assert(!save_menu_input(0, 1));
|
||||
assert(save_menu_input(B, 1) && save_menu.phase == SAVE_MENU_CLOSED);
|
||||
assert(!save_menu_input(0, 1));
|
||||
}
|
||||
|
||||
void render_scene(int x, int y)
|
||||
{
|
||||
draw_scene(x, y);
|
||||
|
||||
Reference in new issue
Block a user