mirror of https://github.com/xemu-project/xemu.git
Small groundwork
This commit is contained in:
parent
0d06ce8603
commit
7a7a7370cb
|
@ -352,6 +352,7 @@ void xbox_smc_eject_button(void)
|
|||
// interaction.
|
||||
void xbox_smc_update_tray_state(void)
|
||||
{
|
||||
#ifndef CHIHIRO
|
||||
Object *obj = object_resolve_path_type("", TYPE_XBOX_SMC, NULL);
|
||||
SMBusSMCDevice *smc = XBOX_SMC(obj);
|
||||
|
||||
|
@ -371,4 +372,5 @@ void xbox_smc_update_tray_state(void)
|
|||
}
|
||||
|
||||
xbox_assert_extsmi();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -2981,6 +2981,7 @@ void qemu_init(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef CHIHIRO
|
||||
// Always populate DVD drive. If disc path is the empty string, drive is
|
||||
// connected but no media present.
|
||||
fake_argv[fake_argc++] = strdup("-drive");
|
||||
|
@ -2988,6 +2989,7 @@ void qemu_init(int argc, char **argv)
|
|||
fake_argv[fake_argc++] = g_strdup_printf("index=1,media=cdrom,file=%s",
|
||||
escaped_dvd_path);
|
||||
free(escaped_dvd_path);
|
||||
#endif
|
||||
|
||||
fake_argv[fake_argc++] = strdup("-display");
|
||||
fake_argv[fake_argc++] = strdup("xemu");
|
||||
|
|
Loading…
Reference in New Issue