Fix two bugs
This commit is contained in:
parent
68d9674ca3
commit
90b54581b0
@ -37,10 +37,13 @@ void main(int argc, char **argv)
|
||||
fbs[1] = fbsrc[1];
|
||||
}
|
||||
|
||||
if(argc >= 1)
|
||||
{
|
||||
u32 i;
|
||||
for(i = 0; i < sizeof(absPath) - 1 && argv[0][i] != 0; i++)
|
||||
absPath[i] = argv[0][i];
|
||||
absPath[i] = 0;
|
||||
}
|
||||
|
||||
char *argvPassed[2] = {absPath, (char *)&fbs};
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
static const u32 brightness[4] = {0x5F, 0x4C, 0x39, 0x26};
|
||||
|
||||
static volatile Arm11Operation *operation = (volatile Arm11Operation *)0x1FFFFFF0;
|
||||
static volatile Arm11Operation *operation = (volatile Arm11Operation *)0x1FF80004;
|
||||
|
||||
struct fb fbs[2];
|
||||
|
||||
|
Reference in New Issue
Block a user