Remove A9LH & Brahma support altogether, use FIRM format instead
This commit is contained in:
@@ -22,15 +22,20 @@
|
||||
|
||||
#include "memory.h"
|
||||
#include "cache.h"
|
||||
#include "firm.h"
|
||||
|
||||
void main(u32 payloadSize)
|
||||
void main(int argc __attribute__((unused)), char **argv)
|
||||
{
|
||||
void *payloadAddress = (void *)0x23F00000;
|
||||
Firm *firm = (Firm *)0x24000000;
|
||||
char absPath[92];
|
||||
|
||||
memcpy(payloadAddress, (void *)0x24000000, payloadSize);
|
||||
u32 i;
|
||||
for(i = 0; i < 91 && argv[1] != 0; i++)
|
||||
absPath[i] = argv[1][i];
|
||||
for(; i < 91; i++)
|
||||
absPath[i] = 0;
|
||||
|
||||
//Ensure that all memory transfers have completed and that the caches have been flushed
|
||||
flushCaches();
|
||||
char *argvPassed[1] = {absPath};
|
||||
|
||||
((void (*)())payloadAddress)();
|
||||
launchFirm(firm, 1, argvPassed);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@ This file is part of Luma3DS
|
||||
@ Copyright (C) 2016 Aurora Wright, TuxSH
|
||||
@ Copyright (C) 2017 Aurora Wright, TuxSH
|
||||
@
|
||||
@ This program is free software: you can redistribute it and/or modify
|
||||
@ it under the terms of the GNU General Public License as published by
|
||||
|
||||
Reference in New Issue
Block a user