[gbastartup] Make c_start return main(...)
This commit is contained in:
parent
0f3b71e63f
commit
f59ad72ca2
4
deps/gbastartup/cstartup.cpp
vendored
4
deps/gbastartup/cstartup.cpp
vendored
@ -22,9 +22,9 @@ void __libc_init_array() {
|
|||||||
|
|
||||||
int main(int argc, const char **argv);
|
int main(int argc, const char **argv);
|
||||||
|
|
||||||
void c_start() {
|
int c_start() {
|
||||||
const char *args[2] = {"", "rom.oxfs"};
|
const char *args[2] = {"", "rom.oxfs"};
|
||||||
main(2, args);
|
return main(2, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user