Fixing CD-ROM functions and statusbar

fixed ejecting CD-ROM function: modified unchecking function's order before 'cdrom_null_open(id, 0);';
fixed reloading CD-ROM function: added 'prev_image_path' for reloading previous CD-ROM image.
This commit is contained in:
basic2004
2017-08-20 03:35:42 +09:00
committed by GitHub
parent 099ea6bad8
commit 840d33a0c1
4 changed files with 24 additions and 12 deletions

View File

@@ -162,6 +162,7 @@ typedef struct {
uint32_t cdrom_capacity;
int image_inited;
wchar_t image_path[1024];
wchar_t prev_image_path[1024];
FILE* image;
int image_changed;