mirror of
https://github.com/mauiaaron/apple2.git
synced 2026-04-22 08:16:56 +00:00
HACKishly fix macOS/iOS build
This commit is contained in:
@@ -776,7 +776,11 @@ void disk6_init(void) {
|
||||
const char *disk6_eject(int drive) {
|
||||
|
||||
#if !TESTING
|
||||
# if __APPLE__
|
||||
# warning FIXME TODO ...
|
||||
# else
|
||||
assert(cpu_isPaused() && "CPU must be paused for disk ejection");
|
||||
# endif
|
||||
#endif
|
||||
|
||||
const char *err = NULL;
|
||||
@@ -839,7 +843,11 @@ const char *disk6_eject(int drive) {
|
||||
const char *disk6_insert(int drive, const char * const raw_file_name, int readonly) {
|
||||
|
||||
#if !TESTING
|
||||
# if __APPLE__
|
||||
# warning FIXME TODO ...
|
||||
# else
|
||||
assert(cpu_isPaused() && "CPU must be paused for disk insertion");
|
||||
# endif
|
||||
#endif
|
||||
|
||||
disk6_eject(drive);
|
||||
|
||||
Reference in New Issue
Block a user