mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Update apps
This commit is contained in:
@@ -14,6 +14,6 @@ App(
|
||||
fap_icon_assets_symbol="game_reversi",
|
||||
fap_author="@dimat",
|
||||
fap_weburl="https://github.com/zyuhel/flipperzero-racegame",
|
||||
fap_version="1.0",
|
||||
fap_version="1.1",
|
||||
fap_description="Reversi game, the game controls should be intuitive. Longs press on OK opens the menu to start a new game.",
|
||||
)
|
||||
|
||||
3
applications/external/reversi/game_reversi.c
vendored
3
applications/external/reversi/game_reversi.c
vendored
@@ -315,7 +315,7 @@ int32_t game_reversi_app() {
|
||||
(app_state.game.current_player != app_state.game.human_color)) {
|
||||
computer_move(&app_state.game);
|
||||
}
|
||||
FuriStatus event_status = furi_message_queue_get(event_queue, &input, FuriWaitForever);
|
||||
FuriStatus event_status = furi_message_queue_get(event_queue, &input, 100);
|
||||
if(event_status == FuriStatusOk) {
|
||||
// handle only press event, ignore repeat/release events
|
||||
|
||||
@@ -335,6 +335,7 @@ int32_t game_reversi_app() {
|
||||
view_port_update(view_port);
|
||||
furi_mutex_release(app_state.mutex);
|
||||
}
|
||||
view_port_update(view_port);
|
||||
}
|
||||
|
||||
gui_remove_view_port(gui, view_port);
|
||||
|
||||
Reference in New Issue
Block a user