diff --git a/Mini vMac/MYOSGLUE.m b/Mini vMac/MYOSGLUE.m index 6733246..def0c46 100644 --- a/Mini vMac/MYOSGLUE.m +++ b/Mini vMac/MYOSGLUE.m @@ -475,7 +475,6 @@ LOCALFUNC tMacErr vSonyEject0(tDrive Drive_No, blnr deleteit) { NSDictionary *userInfo = @{@"path": DriveNames[Drive_No], @"drive": @(Drive_No), @"delete": @(deleteit)}; - [[NSNotificationCenter defaultCenter] postNotificationName:[Emulator sharedEmulator].ejectDiskNotification object:[Emulator sharedEmulator] userInfo:userInfo]; DiskEjectedNotify(Drive_No); #if HaveAdvisoryLocks @@ -501,6 +500,8 @@ LOCALFUNC tMacErr vSonyEject0(tDrive Drive_No, blnr deleteit) { } } #endif + + [[NSNotificationCenter defaultCenter] postNotificationName:[Emulator sharedEmulator].ejectDiskNotification object:[Emulator sharedEmulator] userInfo:userInfo]; return mnvm_noErr; }