From 26ef424bdfc35d079172cee28021f6f7bc4c9a75 Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 21 Jul 2014 03:05:29 +0000 Subject: [PATCH] snes - when throwing an exception about profile mismatches, to let the user know what profile the state was from, and what the current one is, and as a bonus clue us in faster, when garbage data is coming out of a hosed state --- BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs index 7d18078c82..f312cc0fba 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs @@ -955,7 +955,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES { if (profile != SyncSettings.Profile) { - throw new InvalidOperationException("You've attempted to load a savestate made using a different SNES profile than your current configuration. We COULD automatically switch for you, but we havent done that yet. This error is to make sure you know that this isnt going to work right now."); + throw new InvalidOperationException(string.Format("You've attempted to load a savestate made using a different SNES profile ({0}) than your current configuration ({1}). We COULD automatically switch for you, but we havent done that yet. This error is to make sure you know that this isnt going to work right now.", profile, SyncSettings.Profile)); } }