mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Fixed VS2015 compilation error
This commit is contained in:
parent
ae2f591856
commit
23ccf25915
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ namespace Mesen.GUI.Forms.HdPackEditor
|
|||
string fileContent = File.ReadAllText(hdDefFile);
|
||||
Match match = Regex.Match(fileContent, "<scale>(\\d*)");
|
||||
if(match.Success) {
|
||||
if(Int32.TryParse(match.Groups[1].ToString(), out int scale)) {
|
||||
int scale;
|
||||
if(Int32.TryParse(match.Groups[1].ToString(), out scale)) {
|
||||
scaleFilter = scale;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue