Temporarily backport app updates from apps repo

This commit is contained in:
Willy-JL
2023-11-12 11:06:02 +00:00
parent 79e7f491fe
commit e309fa8a88
1498 changed files with 1325977 additions and 20227 deletions

View File

@@ -6,12 +6,13 @@ App(
cdefines=["APP_ROOTS_OF_LIFE_GAME"],
requires=["gui"],
stack_size=1 * 1024,
order=30,
fap_icon="roots_of_life_10px.png",
fap_category="Games",
fap_icon_assets="images",
fap_icon_assets_symbol="roots_of_life_game",
fap_author="@Xorboo",
fap_weburl="https://github.com/Xorboo/root-of-life",
fap_version="1.0",
fap_version="1.1",
fap_description="A zen-puzzle game for FlipperZero, puzzle made on GlobalGameJam23 (theme: Roots)",
)

View File

@@ -7,7 +7,6 @@
#include <notification/notification_messages.h>
#include "roots_of_life_game_icons.h"
#include <assets_icons.h>
#define TAG "RootsOfLife"
@@ -85,6 +84,7 @@ typedef struct {
int rerolls;
int score;
FuriMutex* mutex;
} GameState;
@@ -730,8 +730,8 @@ int32_t roots_of_life_game_app(void* p) {
}
}
view_port_update(view_port);
furi_mutex_release(state->mutex);
view_port_update(view_port);
}
furi_timer_free(timer);
@@ -741,11 +741,12 @@ int32_t roots_of_life_game_app(void* p) {
furi_record_close(RECORD_NOTIFICATION);
view_port_free(view_port);
furi_mutex_free(state->mutex);
free_and_exit:
furi_message_queue_free(event_queue);
//FURI_LOG_D(TAG, "Quitting game...");
game_state_free(state);
free(state);
furi_message_queue_free(event_queue);
return return_code;
}