Skip to content

Commit 5f66ddd

Browse files
committed
BUG: Detect Initial PC invalid input
Fixes #47
1 parent a0ccefb commit 5f66ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context/SimulationContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export function SimulationContextProvider({ children }: Props) {
152152
})
153153
return
154154
}
155-
155+
156156
if(parseInt(initialPC) % 4 != 0){
157157
toast.error("PC Address must be divisible by 4", {
158158
position: "bottom-left",

0 commit comments

Comments
 (0)