From feec766e28078b257f8dee327798a69ba59e6df0 Mon Sep 17 00:00:00 2001 From: Adin Ackerman Date: Sun, 7 Apr 2024 18:35:18 -0700 Subject: [PATCH] update for macOS 14 --- LEGv8-Simulator.xcodeproj/project.pbxproj | 4 ++-- LEGv8-Simulator/Utils/Interpreter.swift | 12 ++++++------ LEGv8-Simulator/Views/Settings/AboutView.swift | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LEGv8-Simulator.xcodeproj/project.pbxproj b/LEGv8-Simulator.xcodeproj/project.pbxproj index cef5bd8..8b44227 100644 --- a/LEGv8-Simulator.xcodeproj/project.pbxproj +++ b/LEGv8-Simulator.xcodeproj/project.pbxproj @@ -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)"; @@ -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)"; diff --git a/LEGv8-Simulator/Utils/Interpreter.swift b/LEGv8-Simulator/Utils/Interpreter.swift index f56e448..d4a7415 100644 --- a/LEGv8-Simulator/Utils/Interpreter.swift +++ b/LEGv8-Simulator/Utils/Interpreter.swift @@ -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) } diff --git a/LEGv8-Simulator/Views/Settings/AboutView.swift b/LEGv8-Simulator/Views/Settings/AboutView.swift index 9dc2c6e..e420421 100644 --- a/LEGv8-Simulator/Views/Settings/AboutView.swift +++ b/LEGv8-Simulator/Views/Settings/AboutView.swift @@ -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 {