mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
platform sdl, preliminary window resizing fixes
picodrive doesn't handle resize events, so it's not really working :-/ it however uncovered some bugs and strange behaviour, though
This commit is contained in:
parent
e48f3f2795
commit
f8aaa200cf
5 changed files with 95 additions and 35 deletions
|
@ -84,21 +84,23 @@ int main(int argc, char *argv[])
|
|||
//in_probe();
|
||||
|
||||
plat_target_init();
|
||||
plat_init();
|
||||
menu_init();
|
||||
|
||||
emu_prep_defconfig(); // depends on input
|
||||
emu_read_config(NULL, 0);
|
||||
|
||||
plat_init();
|
||||
menu_init();
|
||||
emu_init();
|
||||
|
||||
engineState = PGS_Menu;
|
||||
plat_video_menu_enter(0);
|
||||
|
||||
if (argc > 1)
|
||||
parse_cmd_line(argc, argv);
|
||||
|
||||
if (engineState == PGS_ReloadRom)
|
||||
{
|
||||
plat_video_menu_begin();
|
||||
if (emu_reload_rom(rom_fname_reload)) {
|
||||
engineState = PGS_Running;
|
||||
if (load_state_slot >= 0) {
|
||||
|
@ -106,7 +108,9 @@ int main(int argc, char *argv[])
|
|||
emu_save_load_game(1, 0);
|
||||
}
|
||||
}
|
||||
plat_video_menu_end();
|
||||
}
|
||||
plat_video_menu_leave();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue