Skip to content

Commit

Permalink
- On Scraped function unified Mega Drive - Genesis query
Browse files Browse the repository at this point in the history
  • Loading branch information
Speedvicio committed May 5, 2024
1 parent b72c63a commit 471d880
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions MedGui Reborn/MedGuiR.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ Public Class MedGuiR
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
rDes = "Select Mednafen Path"
yPath()
If rPath <> "" Then TextBox4.Text = rPath : exist_Mednafen() :
If rPath <> "" Then TextBox4.Text = rPath : exist_Mednafen() :
MednafenV()
End Sub

Expand Down Expand Up @@ -1554,11 +1554,11 @@ Public Class MedGuiR
Case "Sega - Game Gear"
tgdbCID = "20"
Case "Sega - Mega Drive - Genesis"
If LCase(MainGrid.CurrentRow.Cells(2).Value().ToString).Contains("us") Then
tgdbCID = "18"
Else
tgdbCID = "36"
End If
'If LCase(MainGrid.CurrentRow.Cells(2).Value().ToString).Contains("us") Then
tgdbCID = "18"
'Else
'tgdbCID = "36"
'End If
Case "Sega - Master System - Mark III"
tgdbCID = "35"
Case "Super Nintendo Entertainment System"
Expand Down
12 changes: 6 additions & 6 deletions MedGui Reborn/Scrape.vb
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ Module Scrape
Case "Sega - Master System - Mark III"
ConsoleID = "Sega Master System"
Case "Sega - Mega Drive - Genesis"
If UCase(MedGuiR.MainGrid.CurrentRow.Cells(2).Value()).ToString.Contains("(US") Or
UCase(MedGuiR.MainGrid.CurrentRow.Cells(2).Value()).ToString.Contains("(JA") Then
ConsoleID = "Sega Genesis"
Else
ConsoleID = "Sega Mega Drive"
End If
'If UCase(MedGuiR.MainGrid.CurrentRow.Cells(2).Value()).ToString.Contains("(US") Or
'UCase(MedGuiR.MainGrid.CurrentRow.Cells(2).Value()).ToString.Contains("(JA") Then
ConsoleID = "Sega Genesis"
'Else
'ConsoleID = "Sega Mega Drive"
'End If
Case "SNK - Neo Geo Pocket Color"
ConsoleID = "Neo Geo Pocket Color"
Case "SNK - Neo Geo Pocket"
Expand Down

0 comments on commit 471d880

Please sign in to comment.