Fix bug when quitting AGB_FIRM
The wrong config.bin section was used to remember the last-used FIRM
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user