mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-17 04:34:44 -07:00
Tidy up all applications data and resources paths
This commit is contained in:
4
applications/external/tama_p1/tama.h
vendored
4
applications/external/tama_p1/tama.h
vendored
@@ -4,14 +4,14 @@
|
||||
#include "tamalib/tamalib.h"
|
||||
|
||||
#define TAG "TamaP1"
|
||||
#define TAMA_ROM_PATH EXT_PATH("tama_p1/rom.bin")
|
||||
#define TAMA_ROM_PATH APP_DATA_PATH("rom.bin")
|
||||
#define TAMA_SCREEN_SCALE_FACTOR 2
|
||||
#define TAMA_LCD_ICON_SIZE 14
|
||||
#define TAMA_LCD_ICON_MARGIN 1
|
||||
|
||||
#define STATE_FILE_MAGIC "TLST"
|
||||
#define STATE_FILE_VERSION 2
|
||||
#define TAMA_SAVE_PATH EXT_PATH("tama_p1/save.bin")
|
||||
#define TAMA_SAVE_PATH APP_DATA_PATH("save.bin")
|
||||
|
||||
typedef struct {
|
||||
FuriThread* thread;
|
||||
|
||||
1
applications/external/tama_p1/tama_p1.c
vendored
1
applications/external/tama_p1/tama_p1.c
vendored
@@ -720,6 +720,7 @@ static void tama_p1_init(TamaApp* const ctx) {
|
||||
|
||||
// Load ROM
|
||||
Storage* storage = furi_record_open(RECORD_STORAGE);
|
||||
storage_common_migrate(storage, EXT_PATH("tama_p1"), STORAGE_APP_DATA_PATH_PREFIX);
|
||||
FileInfo fi;
|
||||
if(storage_common_stat(storage, TAMA_ROM_PATH, &fi) == FSE_OK) {
|
||||
File* rom_file = storage_file_alloc(storage);
|
||||
|
||||
Reference in New Issue
Block a user