Skip to content

Commit

Permalink
Fixed a bug to convert the iunstalled ethernet mac-address to the cor…
Browse files Browse the repository at this point in the history
…rect format for ROM in SMBIOS section.
  • Loading branch information
Pavo-IM committed Jan 12, 2021
1 parent 61a9773 commit e568361
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OC Gen-X.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.7.8;
MARKETING_VERSION = 2.7.9;
PRODUCT_BUNDLE_IDENTIFIER = "com.oc-gen-x.OC-Gen-X";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -603,7 +603,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.7.8;
MARKETING_VERSION = 2.7.9;
PRODUCT_BUNDLE_IDENTIFIER = "com.oc-gen-x.OC-Gen-X";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion OC Gen-X/MainVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ class MainVC: NSViewController {

if (romInput != nil) {
let rom = romInput.stringValue.components(separatedBy: ":")
let romData = rom[0].data(using: .utf8)! + rom[1].data(using: .utf8)! + rom[2].data(using: .utf8)!
let romData = Data(rom.map { UInt8($0, radix: 16)! })
config.platFormInfo.generic.rom = romData
}

Expand Down

0 comments on commit e568361

Please sign in to comment.