Skip to content

Commit

Permalink
#69 All rollover lights go on at the same time, should not crash othe…
Browse files Browse the repository at this point in the history
…r tables
  • Loading branch information
JockeJarre committed Nov 5, 2023
1 parent 34f6e93 commit 17c3c37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,7 @@ Public Class formBackglass
End If
' add info to rom collection
If romid > 0 AndAlso picboxtype = B2SPictureBox.ePictureBoxType.StandardImage AndAlso romidtype <> B2SBaseBox.eRomIDType.Mech Then
Dim key As String = If(rominverted, "I", "") & Choose(romidtype, "L", "S", "GI") & romid.ToString() & romidvalue.ToString()
Dim key As String = If(rominverted, "I", "") & Choose(romidtype, "L", "S", "GI") & romid.ToString() & If(romidvalue > 0, romidvalue.ToString(), "")
If picbox.DualMode = B2SData.eDualMode.Both OrElse picbox.DualMode = B2SData.eDualMode.Authentic Then
If roms4Authentic.ContainsKey(key) Then roms4Authentic(key) += size.Width * size.Height Else roms4Authentic.Add(key, size.Width * size.Height)
End If
Expand Down

0 comments on commit 17c3c37

Please sign in to comment.