Another round of cleanups - the main code no longer refers to, let alone uses, anything in the platform folder - completely separated!
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <wchar.h>
|
||||
#include "../86box.h"
|
||||
#include "../config.h"
|
||||
#include "../ibm.h"
|
||||
#include "../timer.h"
|
||||
#include "../device.h"
|
||||
@@ -4012,3 +4013,22 @@ void cdrom_general_init(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
cdrom_close(uint8_t id)
|
||||
{
|
||||
switch (cdrom_drives[id].host_drive) {
|
||||
case 0:
|
||||
null_close(id);
|
||||
break;
|
||||
|
||||
case 200:
|
||||
image_close(id);
|
||||
break;
|
||||
|
||||
default:
|
||||
ioctl_close(id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user