diff --git a/BasiliskII/src/extfs.cpp b/BasiliskII/src/extfs.cpp
index e18d1df1..adc8d4a0 100644
--- a/BasiliskII/src/extfs.cpp
+++ b/BasiliskII/src/extfs.cpp
@@ -106,7 +106,7 @@ static uint32 fs_data = 0; // Mac address of global data
static char FS_NAME[32], VOLUME_NAME[32];
// This directory is our root (read from prefs)
-static const char *RootPath;
+static char RootPath[MAX_PATH_LENGTH];
static bool ready = false;
static struct stat root_stat;
@@ -196,7 +196,7 @@ static uint32 get_creation_time(const char *path)
{
if (path == NULL)
return 0;
- if (path == RootPath) {
+ if (!strcmp(path, RootPath)) {
static uint32 root_crtime = UINT_MAX;
if (root_crtime == UINT_MAX)
root_crtime = do_get_creation_time(path);
@@ -435,7 +435,11 @@ void ExtFSInit(void)
p->guest_name[31] = 0;
// Find path for root
- if ((RootPath = PrefsFindString("extfs")) != NULL) {
+ *RootPath = 0;
+ const char *path = PrefsFindString("extfs");
+ if (path != NULL) {
+ strncpy(RootPath, path, MAX_PATH_LENGTH - 1);
+ RootPath[MAX_PATH_LENGTH - 1] = 0;
if (stat(RootPath, &root_stat))
return;
if (!S_ISDIR(root_stat.st_mode))
diff --git a/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/designable.nib b/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/designable.nib
old mode 100755
new mode 100644
index d2ec997b..ec7ab08c
--- a/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/designable.nib
+++ b/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/designable.nib
@@ -1,4438 +1,766 @@
-
-
- 1050
- 10K549
- 851
- 1038.36
- 461.00
-
-
-
-
-
-
-
- YES
-
-
- takeIntValueFrom:
-
-
-
- 282
-
-
-
- initialFirstResponder
-
-
-
- 283
-
-
-
- takeIntValueFrom:
-
-
-
- 291
-
-
-
- takeIntValueFrom:
-
-
-
- 310
-
-
-
- takeIntValueFrom:
-
-
-
- 311
-
-
-
- takeIntValueFrom:
-
-
-
- 313
-
-
-
- takeIntValueFrom:
-
-
-
- 314
-
-
-
- window
-
-
-
- 318
-
-
-
- bootFrom
-
-
-
- 319
-
-
-
- disableCdrom
-
-
-
- 320
-
-
-
- disableSound
-
-
-
- 321
-
-
-
- dontUseCPUWhenIdle
-
-
-
- 322
-
-
-
- enable68kDREmulator
-
-
-
- 323
-
-
-
- enableJIT
-
-
-
- 324
-
-
-
- unixRoot
-
-
-
- 325
-
-
-
- romFile
-
-
-
- 326
-
-
-
- browseForROMFileClicked:
-
-
-
- 327
-
-
-
- addDisk:
-
-
-
- 328
-
-
-
- createDisk:
-
-
-
- 329
-
-
-
- removeDisk:
-
-
-
- 330
-
-
-
- useRawKeyCodesClicked:
-
-
-
- 331
-
-
-
- rawKeyCodes
-
-
-
- 332
-
-
-
- useRawKeyCodes
-
-
-
- 333
-
-
-
- modemPort
-
-
-
- 334
-
-
-
- mouseWheel
-
-
-
- 335
-
-
-
- printerPort
-
-
-
- 336
-
-
-
- ramSize
-
-
-
- 337
-
-
-
- ramSizeStepper
-
-
-
- 338
-
-
-
- mixDevice
-
-
-
- 339
-
-
-
- outDevice
-
-
-
- 340
-
-
-
- qdAccel
-
-
-
- 341
-
-
-
- height
-
-
-
- 342
-
-
-
- width
-
-
-
- 343
-
-
-
- videoType
-
-
-
- 344
-
-
-
- refreshRate
-
-
-
- 345
-
-
-
- scrollLines
-
-
-
- 346
-
-
-
- scrollLinesStepper
-
-
-
- 347
-
-
-
- ignoreIllegalMemoryAccesses
-
-
-
- 348
-
-
-
- ethernetInterface
-
-
-
- 349
-
-
-
- diskSaveSizeField
-
-
-
- 351
-
-
-
- diskSaveSize
-
-
-
- 353
-
-
-
- delegate
-
-
-
- 355
-
-
-
- disks
-
-
-
- 368
-
-
-
- browseForUnixRootClicked:
-
-
-
- 369
-
-
-
- ignoreIllegalInstructions
-
-
-
- 372
-
-
-
- saveChanges:
-
-
-
- 373
-
-
-
- cancelEdit:
-
-
-
- 374
-
-
-
- browseForKeyCodesFileClicked:
-
-
-
- 378
-
-
-
- browseRawKeyCodesButton
-
-
-
- 379
-
-
-
- isCDROM
-
-
-
- 383
-
-
-
- isCDROMcheckbox
-
-
-
- 384
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -2
-
-
- File's Owner
-
-
- -1
-
-
- First Responder
-
-
- -3
-
-
- Application
-
-
- 141
-
-
- YES
-
-
-
-
-
- DiskSize
-
-
- 142
-
-
- YES
-
-
-
- PrefsWindow
-
-
- 143
-
-
- YES
-
-
-
-
-
-
-
- 144
-
-
- YES
-
-
-
-
-
-
-
- 145
-
-
- YES
-
-
-
-
-
- 147
-
-
- YES
-
-
-
-
-
- 148
-
-
- YES
-
-
-
-
-
-
- 157
-
-
- YES
-
-
-
-
-
-
-
-
-
-
-
-
-
- 230
-
-
- YES
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 231
-
-
- YES
-
-
-
-
-
- 232
-
-
- YES
-
-
-
-
-
- 233
-
-
- YES
-
-
-
-
-
- 234
-
-
- YES
-
-
-
-
-
- 235
-
-
- YES
-
-
-
-
-
- 236
-
-
- YES
-
-
-
-
-
- 237
-
-
- YES
-
-
-
-
-
- 238
-
-
- YES
-
-
-
-
-
- 239
-
-
- YES
-
-
-
-
-
- 240
-
-
- YES
-
-
-
-
-
-
-
-
- 241
-
-
- YES
-
-
-
-
-
- 242
-
-
- YES
-
-
-
-
-
- 243
-
-
-
-
- 244
-
-
-
-
- 245
-
-
- YES
-
-
-
-
-
- 246
-
-
- YES
-
-
-
-
-
- 247
-
-
- YES
-
-
-
-
-
- 248
-
-
- YES
-
-
-
-
-
-
-
-
- 249
-
-
-
-
- 250
-
-
-
-
- 251
-
-
- YES
-
-
-
-
-
-
- 252
-
-
- YES
-
-
-
-
-
- 253
-
-
-
-
- 254
-
-
-
-
- 255
-
-
-
-
- 256
-
-
-
-
- 257
-
-
-
-
- 258
-
-
-
-
- 259
-
-
-
-
- 260
-
-
-
-
- 261
-
-
-
-
- 262
-
-
-
-
- 263
-
-
-
-
- 264
-
-
-
-
- 265
-
-
-
-
- 266
-
-
- YES
-
-
-
-
-
- 267
-
-
- YES
-
-
-
-
-
- 268
-
-
- YES
-
-
-
-
-
- 269
-
-
-
-
- 270
-
-
-
-
- 271
-
-
-
-
- 358
-
-
- YES
-
-
-
-
-
- 359
-
-
- YES
-
-
-
-
-
-
-
- 360
-
-
- YES
-
-
-
-
-
- 361
-
-
-
-
- 362
-
-
- YES
-
-
-
-
-
- 363
-
-
-
-
- 364
-
-
- YES
-
-
-
-
-
- 365
-
-
-
-
- 195
-
-
- YES
-
-
-
-
-
-
-
-
-
- 192
-
-
- YES
-
-
-
-
-
- 370
-
-
- YES
-
-
-
-
-
- 190
-
-
- YES
-
-
-
-
-
- 193
-
-
- YES
-
-
-
-
-
- 191
-
-
- YES
-
-
-
-
-
- 228
-
-
-
-
- 226
-
-
-
-
- 229
-
-
-
-
- 371
-
-
-
-
- 227
-
-
-
-
- 194
-
-
- YES
-
-
-
-
-
-
-
-
-
-
- 214
-
-
- YES
-
-
-
-
-
- 225
-
-
-
-
- 215
-
-
- YES
-
-
-
-
-
- 224
-
-
-
-
- 216
-
-
- YES
-
-
-
-
-
- 223
-
-
-
-
- 217
-
-
- YES
-
-
-
-
-
- 222
-
-
-
-
- 218
-
-
- YES
-
-
-
-
-
- 221
-
-
-
-
- 219
-
-
- YES
-
-
-
-
-
- 220
-
-
-
-
- 203
-
-
- YES
-
-
-
-
-
-
-
-
-
-
-
-
- 196
-
-
- YES
-
-
-
-
-
- 197
-
-
- YES
-
-
-
-
-
- 198
-
-
- YES
-
-
-
-
-
- 199
-
-
- YES
-
-
-
-
-
- 200
-
-
- YES
-
-
-
-
-
- 201
-
-
- YES
-
-
-
-
-
- 202
-
-
- YES
-
-
-
-
-
- 204
-
-
-
-
- 205
-
-
- YES
-
-
-
-
-
- 206
-
-
- YES
-
-
-
-
-
-
- 207
-
-
-
-
- 208
-
-
-
-
- 209
-
-
-
-
- 210
-
-
-
-
- 211
-
-
-
-
- 212
-
-
-
-
- 213
-
-
-
-
- 150
-
-
- YES
-
-
-
-
-
-
-
-
-
- 158
-
-
- YES
-
-
-
-
-
- 161
-
-
- YES
-
-
-
-
-
- 164
-
-
- YES
-
-
-
-
-
- 159
-
-
- YES
-
-
-
-
-
- 160
-
-
- YES
-
-
-
-
-
- 169
-
-
-
-
- 170
-
-
-
-
- 165
-
-
-
-
- 168
-
-
-
-
- 171
-
-
-
-
- 153
-
-
- YES
-
-
-
-
-
- 182
-
-
-
-
- 151
-
-
- YES
-
-
-
-
-
- 184
-
-
- YES
-
-
-
-
-
- 185
-
-
- YES
-
-
-
-
-
-
- 187
-
-
-
-
- 186
-
-
-
-
- 156
-
-
- YES
-
-
-
-
-
- 172
-
-
- YES
-
-
-
-
-
- 173
-
-
- YES
-
-
-
-
-
-
-
-
-
-
-
- 179
-
-
-
-
- 178
-
-
-
-
- 177
-
-
-
-
- 176
-
-
-
-
- 175
-
-
-
-
- 174
-
-
-
-
- 152
-
-
- YES
-
-
-
-
-
- 183
-
-
-
-
- 162
-
-
- YES
-
-
-
-
-
- 167
-
-
-
-
- 154
-
-
- YES
-
-
-
-
-
- 181
-
-
-
-
- 149
-
-
- YES
-
-
-
-
-
- 188
-
-
-
-
- 155
-
-
- YES
-
-
-
-
-
- 180
-
-
-
-
- 163
-
-
- YES
-
-
-
-
-
- 166
-
-
-
-
- 375
-
-
-
-
- 376
-
-
- YES
-
-
-
-
-
- 377
-
-
-
-
- 380
-
-
- YES
-
-
-
- IsCDROM
-
-
- 381
-
-
- YES
-
-
-
-
-
- 382
-
-
-
-
- 388
-
-
- YES
-
-
-
-
-
- 390
-
-
-
-
- 391
-
-
-
-
-
-
- YES
-
- YES
- -3.IBPluginDependency
- 141.IBEditorWindowLastContentRect
- 141.IBPluginDependency
- 141.ImportedFromIB2
- 142.IBEditorWindowLastContentRect
- 142.IBPluginDependency
- 142.IBWindowTemplateEditedContentRect
- 142.ImportedFromIB2
- 142.NSWindowTemplate.visibleAtLaunch
- 142.windowTemplate.hasMinSize
- 142.windowTemplate.minSize
- 143.IBPluginDependency
- 143.ImportedFromIB2
- 144.IBPluginDependency
- 144.ImportedFromIB2
- 145.IBPluginDependency
- 145.ImportedFromIB2
- 147.IBPluginDependency
- 147.ImportedFromIB2
- 148.IBPluginDependency
- 148.ImportedFromIB2
- 149.IBPluginDependency
- 149.ImportedFromIB2
- 150.IBPluginDependency
- 150.ImportedFromIB2
- 151.IBPluginDependency
- 151.ImportedFromIB2
- 152.IBPluginDependency
- 152.ImportedFromIB2
- 153.IBPluginDependency
- 153.ImportedFromIB2
- 154.IBPluginDependency
- 154.ImportedFromIB2
- 155.IBPluginDependency
- 155.ImportedFromIB2
- 156.IBPluginDependency
- 156.ImportedFromIB2
- 157.IBPluginDependency
- 157.ImportedFromIB2
- 158.IBPluginDependency
- 158.ImportedFromIB2
- 159.IBPluginDependency
- 159.ImportedFromIB2
- 160.IBPluginDependency
- 160.ImportedFromIB2
- 161.IBPluginDependency
- 161.ImportedFromIB2
- 162.IBPluginDependency
- 162.ImportedFromIB2
- 163.IBPluginDependency
- 163.ImportedFromIB2
- 164.IBPluginDependency
- 164.ImportedFromIB2
- 165.IBPluginDependency
- 166.IBPluginDependency
- 167.IBPluginDependency
- 168.IBPluginDependency
- 169.IBPluginDependency
- 170.IBPluginDependency
- 171.IBPluginDependency
- 172.IBPluginDependency
- 173.IBEditorWindowLastContentRect
- 173.IBPluginDependency
- 173.ImportedFromIB2
- 174.IBPluginDependency
- 174.ImportedFromIB2
- 175.IBPluginDependency
- 175.ImportedFromIB2
- 176.IBPluginDependency
- 176.ImportedFromIB2
- 177.IBPluginDependency
- 177.ImportedFromIB2
- 178.IBPluginDependency
- 178.ImportedFromIB2
- 179.IBPluginDependency
- 179.ImportedFromIB2
- 180.IBPluginDependency
- 181.IBPluginDependency
- 182.IBPluginDependency
- 183.IBPluginDependency
- 184.IBPluginDependency
- 185.IBEditorWindowLastContentRect
- 185.IBPluginDependency
- 185.ImportedFromIB2
- 186.IBPluginDependency
- 186.ImportedFromIB2
- 187.IBPluginDependency
- 187.ImportedFromIB2
- 188.IBPluginDependency
- 190.IBPluginDependency
- 190.ImportedFromIB2
- 191.IBPluginDependency
- 191.ImportedFromIB2
- 192.IBPluginDependency
- 192.ImportedFromIB2
- 193.IBPluginDependency
- 193.ImportedFromIB2
- 194.IBPluginDependency
- 194.ImportedFromIB2
- 195.IBPluginDependency
- 195.ImportedFromIB2
- 196.IBPluginDependency
- 196.ImportedFromIB2
- 197.IBPluginDependency
- 197.ImportedFromIB2
- 198.IBPluginDependency
- 198.ImportedFromIB2
- 199.IBPluginDependency
- 199.ImportedFromIB2
- 200.IBPluginDependency
- 200.ImportedFromIB2
- 201.IBPluginDependency
- 201.ImportedFromIB2
- 202.IBPluginDependency
- 202.ImportedFromIB2
- 203.IBPluginDependency
- 203.ImportedFromIB2
- 204.IBPluginDependency
- 205.IBPluginDependency
- 206.IBPluginDependency
- 206.ImportedFromIB2
- 207.IBPluginDependency
- 207.ImportedFromIB2
- 208.IBPluginDependency
- 208.ImportedFromIB2
- 209.IBPluginDependency
- 210.IBPluginDependency
- 211.IBPluginDependency
- 212.IBPluginDependency
- 213.IBPluginDependency
- 214.IBPluginDependency
- 214.ImportedFromIB2
- 215.IBPluginDependency
- 215.ImportedFromIB2
- 216.IBPluginDependency
- 216.ImportedFromIB2
- 217.IBPluginDependency
- 217.ImportedFromIB2
- 218.IBPluginDependency
- 218.ImportedFromIB2
- 219.IBPluginDependency
- 219.ImportedFromIB2
- 220.IBPluginDependency
- 221.IBPluginDependency
- 222.IBPluginDependency
- 223.IBPluginDependency
- 224.IBPluginDependency
- 225.IBPluginDependency
- 226.IBPluginDependency
- 227.IBPluginDependency
- 228.IBPluginDependency
- 229.IBPluginDependency
- 230.IBPluginDependency
- 230.ImportedFromIB2
- 231.IBPluginDependency
- 231.ImportedFromIB2
- 232.IBPluginDependency
- 232.ImportedFromIB2
- 233.IBPluginDependency
- 233.ImportedFromIB2
- 234.IBPluginDependency
- 234.ImportedFromIB2
- 235.IBPluginDependency
- 235.ImportedFromIB2
- 236.IBPluginDependency
- 236.ImportedFromIB2
- 237.IBPluginDependency
- 237.ImportedFromIB2
- 238.IBPluginDependency
- 238.ImportedFromIB2
- 239.IBPluginDependency
- 239.ImportedFromIB2
- 240.IBPluginDependency
- 240.ImportedFromIB2
- 241.IBPluginDependency
- 241.ImportedFromIB2
- 242.IBPluginDependency
- 242.ImportedFromIB2
- 243.IBPluginDependency
- 244.IBPluginDependency
- 245.IBPluginDependency
- 245.ImportedFromIB2
- 246.IBPluginDependency
- 246.ImportedFromIB2
- 247.IBPluginDependency
- 247.ImportedFromIB2
- 248.IBPluginDependency
- 248.ImportedFromIB2
- 249.IBPluginDependency
- 249.IBShouldRemoveOnLegacySave
- 250.IBPluginDependency
- 250.IBShouldRemoveOnLegacySave
- 251.IBPluginDependency
- 251.ImportedFromIB2
- 252.IBPluginDependency
- 252.ImportedFromIB2
- 253.IBPluginDependency
- 253.IBShouldRemoveOnLegacySave
- 254.IBPluginDependency
- 255.IBPluginDependency
- 256.IBPluginDependency
- 257.IBPluginDependency
- 258.IBPluginDependency
- 259.IBPluginDependency
- 260.IBPluginDependency
- 261.IBPluginDependency
- 262.IBPluginDependency
- 263.IBPluginDependency
- 264.IBPluginDependency
- 265.IBPluginDependency
- 266.IBPluginDependency
- 266.ImportedFromIB2
- 267.IBPluginDependency
- 267.ImportedFromIB2
- 268.IBPluginDependency
- 268.ImportedFromIB2
- 269.IBPluginDependency
- 270.IBPluginDependency
- 271.IBPluginDependency
- 358.IBPluginDependency
- 359.IBPluginDependency
- 360.IBPluginDependency
- 361.IBPluginDependency
- 362.IBPluginDependency
- 363.IBPluginDependency
- 364.IBPluginDependency
- 364.ImportedFromIB2
- 365.IBPluginDependency
- 370.IBPluginDependency
- 370.ImportedFromIB2
- 371.IBPluginDependency
- 375.IBPluginDependency
- 375.ImportedFromIB2
- 376.IBPluginDependency
- 377.IBPluginDependency
- 380.IBEditorWindowLastContentRect
- 380.IBPluginDependency
- 381.IBPluginDependency
- 382.IBPluginDependency
- 388.IBPluginDependency
- 390.IBPluginDependency
- 391.IBPluginDependency
-
-
- YES
- com.apple.InterfaceBuilder.CocoaPlugin
- {{899, 941}, {229, 62}}
- com.apple.InterfaceBuilder.CocoaPlugin
-
- {{739, 322}, {580, 460}}
- com.apple.InterfaceBuilder.CocoaPlugin
- {{739, 322}, {580, 460}}
-
-
-
- {580, 460}
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- {{601, 517}, {143, 143}}
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- {{196, 720}, {138, 43}}
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- {{705, 948}, {121, 54}}
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
-
-
-
- YES
-
-
- YES
-
-
-
-
- YES
-
-
- YES
-
-
-
- 391
-
-
-
- YES
-
- VMSettingsController
- NSWindowController
-
- YES
-
- YES
- addDisk:
- browseForKeyCodesFileClicked:
- browseForROMFileClicked:
- browseForUnixRootClicked:
- cancelEdit:
- createDisk:
- removeDisk:
- saveChanges:
- useRawKeyCodesClicked:
-
-
- YES
- id
- id
- id
- id
- id
- id
- id
- id
- id
-
-
-
- YES
-
- YES
- addDisk:
- browseForKeyCodesFileClicked:
- browseForROMFileClicked:
- browseForUnixRootClicked:
- cancelEdit:
- createDisk:
- removeDisk:
- saveChanges:
- useRawKeyCodesClicked:
-
-
- YES
-
- addDisk:
- id
-
-
- browseForKeyCodesFileClicked:
- id
-
-
- browseForROMFileClicked:
- id
-
-
- browseForUnixRootClicked:
- id
-
-
- cancelEdit:
- id
-
-
- createDisk:
- id
-
-
- removeDisk:
- id
-
-
- saveChanges:
- id
-
-
- useRawKeyCodesClicked:
- id
-
-
-
-
- YES
-
- YES
- bootFrom
- browseRawKeyCodesButton
- disableCdrom
- disableSound
- diskSaveSize
- diskSaveSizeField
- disks
- dontUseCPUWhenIdle
- enable68kDREmulator
- enableJIT
- ethernetInterface
- height
- ignoreIllegalInstructions
- ignoreIllegalMemoryAccesses
- isCDROM
- isCDROMcheckbox
- mixDevice
- modemPort
- mouseWheel
- outDevice
- printerPort
- qdAccel
- ramSize
- ramSizeStepper
- rawKeyCodes
- refreshRate
- romFile
- scrollLines
- scrollLinesStepper
- unixRoot
- useRawKeyCodes
- videoType
- width
-
-
- YES
- NSComboBox
- NSButton
- NSButton
- NSButton
- NSView
- NSTextField
- NSTableView
- NSButton
- NSButton
- NSButton
- NSTextField
- NSComboBox
- NSButton
- NSButton
- NSView
- NSButton
- NSTextField
- NSTextField
- NSPopUpButton
- NSTextField
- NSTextField
- NSButton
- NSTextField
- NSStepper
- NSTextField
- NSPopUpButton
- NSTextField
- NSTextField
- NSStepper
- NSTextField
- NSButton
- NSPopUpButton
- NSComboBox
-
-
-
- YES
-
- YES
- bootFrom
- browseRawKeyCodesButton
- disableCdrom
- disableSound
- diskSaveSize
- diskSaveSizeField
- disks
- dontUseCPUWhenIdle
- enable68kDREmulator
- enableJIT
- ethernetInterface
- height
- ignoreIllegalInstructions
- ignoreIllegalMemoryAccesses
- isCDROM
- isCDROMcheckbox
- mixDevice
- modemPort
- mouseWheel
- outDevice
- printerPort
- qdAccel
- ramSize
- ramSizeStepper
- rawKeyCodes
- refreshRate
- romFile
- scrollLines
- scrollLinesStepper
- unixRoot
- useRawKeyCodes
- videoType
- width
-
-
- YES
-
- bootFrom
- NSComboBox
-
-
- browseRawKeyCodesButton
- NSButton
-
-
- disableCdrom
- NSButton
-
-
- disableSound
- NSButton
-
-
- diskSaveSize
- NSView
-
-
- diskSaveSizeField
- NSTextField
-
-
- disks
- NSTableView
-
-
- dontUseCPUWhenIdle
- NSButton
-
-
- enable68kDREmulator
- NSButton
-
-
- enableJIT
- NSButton
-
-
- ethernetInterface
- NSTextField
-
-
- height
- NSComboBox
-
-
- ignoreIllegalInstructions
- NSButton
-
-
- ignoreIllegalMemoryAccesses
- NSButton
-
-
- isCDROM
- NSView
-
-
- isCDROMcheckbox
- NSButton
-
-
- mixDevice
- NSTextField
-
-
- modemPort
- NSTextField
-
-
- mouseWheel
- NSPopUpButton
-
-
- outDevice
- NSTextField
-
-
- printerPort
- NSTextField
-
-
- qdAccel
- NSButton
-
-
- ramSize
- NSTextField
-
-
- ramSizeStepper
- NSStepper
-
-
- rawKeyCodes
- NSTextField
-
-
- refreshRate
- NSPopUpButton
-
-
- romFile
- NSTextField
-
-
- scrollLines
- NSTextField
-
-
- scrollLinesStepper
- NSStepper
-
-
- unixRoot
- NSTextField
-
-
- useRawKeyCodes
- NSButton
-
-
- videoType
- NSPopUpButton
-
-
- width
- NSComboBox
-
-
-
-
- IBProjectSource
- Launcher/VMSettingsController.h
-
-
-
-
- 0
- IBCocoaFramework
-
- com.apple.InterfaceBuilder.CocoaPlugin.macosx
-
-
-
- com.apple.InterfaceBuilder.CocoaPlugin.macosx
-
-
-
- com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3
-
-
- YES
- ../../SheepShaver.xcodeproj
- 3
-
- YES
-
- YES
- NSMenuCheckmark
- NSMenuMixedState
- NSSwitch
-
-
- YES
- {9, 8}
- {7, 2}
- {15, 15}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Any
+ CD-ROM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 512
+ 640
+ 800
+ 1024
+ Maximum
+
+
+
+
+
+
+
+
+
+
+
+ 384
+ 480
+ 600
+ 768
+ Maximum
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/keyedobjects.nib b/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/keyedobjects.nib
old mode 100755
new mode 100644
index b27171c4..3084f389
Binary files a/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/keyedobjects.nib and b/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/keyedobjects.nib differ
diff --git a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm
index 5ceee33f..7575152d 100755
--- a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm
+++ b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm
@@ -30,6 +30,8 @@
#include
+#include "SDL.h"
+
// NSInteger was added in 10.5 SDK.
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
#if __LP64__ || NS_BUILD_32_LIKE_64
@@ -478,6 +480,10 @@ static NSString *makeRelativeIfNecessary(NSString *path)
[[self window] close];
[NSApp stopModal];
cancelWasClicked = NO;
+
+ // quit
+ SDL_Event event = { .type = SDL_QUIT };
+ SDL_PushEvent(&event);
}
- (BOOL) cancelWasClicked