Merge pull request #182 from ryandesign/minivmac-finder-macsbug

MiniVMac.cc: Get Finder/MacsBug name from boot blocks
This commit is contained in:
Wolfgang Thaller 2022-10-01 11:12:06 +02:00 committed by GitHub
commit c5c9e281f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -335,11 +335,13 @@ MiniVMacLauncher::MiniVMacLauncher(po::variables_map &options)
CopySystemFile(systemFileName, true);
CopySystemFile("MacsBug", false);
string debuggerFileName(bootblock1.begin() + 0x2B, bootblock1.begin() + 0x2B + bootblock1[0x2A]);
CopySystemFile(debuggerFileName, false);
if (usesAutQuit7)
{
CopySystemFile("Finder", true);
string finderFileName(bootblock1.begin() + 0x1B, bootblock1.begin() + 0x1B + bootblock1[0x1A]);
CopySystemFile(finderFileName, true);
CopySystemFile("System 7.5 Update", false);
if(hfs_chdir(sysvol, "Extensions") != -1)
{