提交 19eee1cd 编写于 作者: Z Zihao Yu

apps,litenes: run Mario if rom_name == NULL

* TODO: support mainargs in navy by envp
上级 05c1c34b
......@@ -225,6 +225,9 @@ int main(const char *rom_name) {
_ioe_init();
struct rom *rom = &roms[0];
if (rom_name == NULL) {
rom_name = "mario";
}
for (int i = 1; i < nroms; i++) {
struct rom *cur = &roms[i];
if (strcmp(cur->name, rom_name) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册