Skip to content

Commit

Permalink
update for macOS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
AdinAck committed Apr 8, 2024
1 parent e660521 commit feec766
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions LEGv8-Simulator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 14.3;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "AdinAck.LEGv8-Simulator";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -579,7 +579,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 14.3;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "AdinAck.LEGv8-Simulator";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
12 changes: 6 additions & 6 deletions LEGv8-Simulator/Utils/Interpreter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ class Interpreter: ObservableObject {
}

private func parseLiteral(_ raw: String) throws -> Int64 {
if raw.contains("x") {
if let literal = Int64(String(raw[raw.index(after: raw.firstIndex(of: "x")!)...]), radix: 16) {
return literal
}
} else {
// if raw.contains("x") {
// if let literal = Int64(String(raw[raw.index(after: raw.firstIndex(of: "x")!)...]), radix: 16) {
// return literal
// }
// } else {
if let literal = Int64(raw) {
return literal
}
}
// }

throw AssemblerError.invalidLiteral(raw)
}
Expand Down
2 changes: 1 addition & 1 deletion LEGv8-Simulator/Views/Settings/AboutView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import SwiftUI

struct AboutView: View {
let version: String = "1.3.2 (Release)"
let version: String = "1.3.3 (Release)"

var body: some View {
HStack {
Expand Down

0 comments on commit feec766

Please sign in to comment.