From fc1ec4e2cee10b6a1f8aa22449491d9cce312102 Mon Sep 17 00:00:00 2001 From: Josef Nemec Date: Fri, 22 Nov 2019 19:10:59 +0100 Subject: [PATCH] Fix: Crash when adding emulator profile #1537 --- source/PlayniteSDK/Models/Emulator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PlayniteSDK/Models/Emulator.cs b/source/PlayniteSDK/Models/Emulator.cs index b96f2ee5c..41d43815b 100644 --- a/source/PlayniteSDK/Models/Emulator.cs +++ b/source/PlayniteSDK/Models/Emulator.cs @@ -146,7 +146,7 @@ public bool Equals(EmulatorProfile other) /// public override int GetHashCode() => - (Platforms == null ? 0 : Arguments.GetHashCode()) ^ + (Platforms == null ? 0 : Platforms.GetHashCode()) ^ (ImageExtensions == null ? 0 : ImageExtensions.GetHashCode()) ^ (Executable == null ? 0 : Executable.GetHashCode()) ^ (Arguments == null ? 0 : Arguments.GetHashCode()) ^