A few fixes, CD-ROM ejecting/reloading should no longer cause heap problems because they now allocate prev_image_path with the correct length, and the status bar should now work after a hard reset with no config change.

This commit is contained in:
OBattler
2018-10-21 22:09:18 +02:00
parent c182b9f269
commit f088896a74
6 changed files with 29 additions and 17 deletions

View File

@@ -712,7 +712,7 @@ pc_send_cae(void)
void
pc_reset_hard_close(void)
{
ui_sb_set_not_ready();
ui_sb_set_ready(0);
suppress_overscan = 0;
@@ -822,7 +822,8 @@ pc_reset_hard_init(void)
config_save();
config_changed = 0;
}
} else
ui_sb_set_ready(1);
/* Needs the status bar... */
if (bugger_enabled)