fixes k, mc layout for banana kind

This commit is contained in:
onyx-and-iris 2023-09-06 15:27:55 +01:00
parent b2e03aace1
commit 962b61f60a
2 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ class Builder:
for j in range(self.kind.phys_out + self.kind.virt_out)
]
)
if i == self.kind.phys_in + self.kind.virt_in - 2:
if i == self.kind.phys_in + 1:
layout.append(
[
psg.Button("K", size=(6, 2), key=f"STRIP {i}||MONO"),

View File

@ -506,7 +506,7 @@ class NVDAVMWindow(psg.Window):
case "MONO":
if int(index) < self.kind.phys_in:
actual = param.lower()
elif int(index) == self.kind.phys_in + self.kind.virt_in - 2:
elif int(index) == self.kind.phys_in + 1:
actual = "k"
else:
actual = "mc"
@ -536,7 +536,7 @@ class NVDAVMWindow(psg.Window):
case "MONO":
if int(index) < self.kind.phys_in:
actual = param.lower()
elif int(index) == self.kind.phys_in + self.kind.virt_in - 2:
elif int(index) == self.kind.phys_in + 1:
actual = "k"
else:
actual = "mc"