Use arm11 entry define for screen.c, fix isFirmlaunch not being always defined
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
|
||||
void launchFirm(Firm *firm, int argc, char **argv)
|
||||
{
|
||||
|
||||
//Copy FIRM sections to respective memory locations
|
||||
for(u32 sectionNum = 0; sectionNum < 4 && firm->section[sectionNum].size != 0; sectionNum++)
|
||||
memcpy(firm->section[sectionNum].address, (u8 *)firm + firm->section[sectionNum].offset, firm->section[sectionNum].size);
|
||||
|
||||
@@ -30,7 +30,7 @@ void main(int argc __attribute__((unused)), char **argv)
|
||||
char absPath[24 + 255];
|
||||
|
||||
u32 i;
|
||||
for(i = 0; i < 23 + 255 && argv[0][i] != 0; i++)
|
||||
for(i = 0; i < sizeof(absPath) - 1 && argv[0][i] != 0; i++)
|
||||
absPath[i] = argv[0][i];
|
||||
absPath[i] = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user