Fix bug when quitting AGB_FIRM

The wrong config.bin section was used to remember the last-used FIRM
This commit is contained in:
Aurora
2016-04-16 20:27:52 +02:00
parent 2323528975
commit 0f64fd73ec
2 changed files with 4 additions and 5 deletions

View File

@@ -3,9 +3,8 @@
#include "fatfs/ff.h"
#define PAYLOAD_ADDRESS 0x23F00000
#define BASE_PATH "/aurei/payloads/"
#define PAYLOAD_PATH(x) BASE_PATH x ".bin"
#define PAYLOADS_FOLDER "/aurei/payloads/"
#define PAYLOAD_PATH(a) PAYLOADS_FOLDER a ".bin"
static u32 loadPayload(const char *path)
{