mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 03:08:35 -07:00
Temporarily backport app updates from apps repo
This commit is contained in:
8
applications/external/simonsays/simon_says.c
vendored
8
applications/external/simonsays/simon_says.c
vendored
@@ -12,7 +12,8 @@
|
||||
#include <string.h>
|
||||
|
||||
/* generated by fbt from .png files in images folder */
|
||||
#include "simon_says_icons.h"
|
||||
#include <simon_says_icons.h>
|
||||
|
||||
#include <assets_icons.h>
|
||||
|
||||
#define TAG "Simon" // Used for logging
|
||||
@@ -22,7 +23,8 @@
|
||||
#define BOARD_X 72 // Used for board placement
|
||||
#define BOARD_Y 8
|
||||
#define GAME_START_LIVES 3
|
||||
#define SAVING_FILENAME APP_DATA_PATH("game_simon_says.save")
|
||||
#define SAVING_DIRECTORY STORAGE_APP_DATA_PATH_PREFIX
|
||||
#define SAVING_FILENAME SAVING_DIRECTORY "/game_simon_says.save"
|
||||
|
||||
// Define Notes
|
||||
// Shamelessly stolen from Ocarina application
|
||||
@@ -643,8 +645,8 @@ int32_t simon_says_app_entry(void* p) {
|
||||
// simon_state->set_board_neutral = !simon_state->set_board_neutral;
|
||||
// }
|
||||
|
||||
view_port_update(view_port);
|
||||
furi_mutex_release(simon_state->mutex);
|
||||
view_port_update(view_port);
|
||||
}
|
||||
|
||||
stop_sound();
|
||||
|
||||
Reference in New Issue
Block a user