Skip to content

Commit

Permalink
Fixed DSDT fetch error on Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Dec 6, 2020
1 parent da36919 commit 868ca0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MaciASL Changelog
- Updated bundled iasl compilers
- Compatibility with macOS 10.8 or older is not guaranteed
- Fixed crashes when processing certain ACPI files
- Fixed DSDT fetch error on Apple Silicon

#### v1.5.8
- Fixed parse error
Expand Down
2 changes: 2 additions & 0 deletions MaciASL/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ -(void)awakeFromNib {
-(BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender {
if (![NSUserDefaults.standardUserDefaults boolForKey:@"dsdt"])
return true;
#if defined(__i386__) || defined(__x86_64__)
[DocumentController.sharedDocumentController newDocumentFromACPI:@"DSDT" saveFirst:false];
#endif
return false;
}

Expand Down

0 comments on commit 868ca0f

Please sign in to comment.