--- hatari/src/gui-osx/SDLMain.m 2019/04/01 07:13:04 1.1 +++ hatari/src/gui-osx/SDLMain.m 2019/04/01 07:14:43 1.1.1.3 @@ -97,8 +97,9 @@ static BOOL gFinderLaunch; size_t cbPath = strlen(constSzPath) + 1; char szPath[cbPath]; strncpy(szPath, constSzPath, cbPath); - - Floppy_InsertDiskIntoDrive(0, szPath); + + Floppy_SetDiskFileName(0, szPath, NULL); + Floppy_InsertDiskIntoDrive(0); } } @@ -121,7 +122,8 @@ static BOOL gFinderLaunch; char szPath[cbPath]; strncpy(szPath, constSzPath, cbPath); - Floppy_InsertDiskIntoDrive(1, szPath); + Floppy_SetDiskFileName(1, szPath, NULL); + Floppy_InsertDiskIntoDrive(1); } } @@ -161,7 +163,7 @@ static BOOL gFinderLaunch; - (IBAction)captureAnimation:(id)sender { GuiOsx_PauseAndSwitchToCocoaUI(); - ScreenSnapShot_BeginRecording(DialogParams.Screen.bCaptureChange, 25); + ScreenSnapShot_BeginRecording(ConfigureParams.Screen.bCaptureChange); GuiOsx_ResumeFromCocoaUI(); } @@ -261,7 +263,7 @@ static BOOL gFinderLaunch; GuiOsx_ExportPathString(path, ConfigureParams.Memory.szMemoryCaptureFileName, sizeof(ConfigureParams.Memory.szMemoryCaptureFileName)); // Perform the memory snapshot save - MemorySnapShot_Capture(ConfigureParams.Memory.szMemoryCaptureFileName); + MemorySnapShot_Capture(ConfigureParams.Memory.szMemoryCaptureFileName, TRUE); } GuiOsx_ResumeFromCocoaUI(); @@ -301,7 +303,7 @@ static BOOL gFinderLaunch; NSString *path = [[openPanel filenames] objectAtIndex:0]; // Perform the memory snapshot load - MemorySnapShot_Restore([path cString]); + MemorySnapShot_Restore([path cString], TRUE); } GuiOsx_ResumeFromCocoaUI();