Skip to content

Commit

Permalink
fixed bug with building label map introduced from uppercase instructi…
Browse files Browse the repository at this point in the history
…on support
  • Loading branch information
AdinAck committed Apr 27, 2023
1 parent 67fa98f commit e660521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LEGv8-Simulator/Utils/Interpreter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class Interpreter: ObservableObject {
for argument in arguments[1...] {
var num: Int64 = 0
if argument.contains(where: { char in char.isLetter}) {
num = dataMap[argument]!
num = dataMap[argument.lowercased()]!
} else {
num = try parseLiteral(argument)
}
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.1 (Release)"
let version: String = "1.3.2 (Release)"

var body: some View {
HStack {
Expand Down

0 comments on commit e660521

Please sign in to comment.