Skip to content

Commit c5938ad

Browse files
committed
Pick a better name
1 parent a53caca commit c5938ad

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/BizHawk.Client.Common/RomLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ private IEmulator MakeCoreFromCoreInventory(CoreInventoryParameters cip, string
431431
}
432432
catch (Exception e) when (!_config.DontTryOtherCores && e is not (
433433
MissingFirmwareException
434-
or InternalErrorException
434+
or InternalCoreException
435435
or { InnerException: MissingFirmwareException }
436436
))
437437
{

src/BizHawk.Emulation.Common/EmulationExceptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ public SavestateSizeMismatchException(string message)
4242
}
4343
}
4444

45-
public class InternalErrorException : Exception
45+
public class InternalCoreException : Exception
4646
{
47-
public InternalErrorException(string message) : base(message)
47+
public InternalCoreException(string message) : base(message)
4848
{
4949
}
5050
}

src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public MAME(CoreLoadParameters<object, MAMESyncSettings> lp)
7777
if (_loadFailure.Length is not 0)
7878
{
7979
Dispose();
80-
throw new InternalErrorException("\n\n" + _loadFailure);
80+
throw new InternalCoreException("\n\n" + _loadFailure);
8181
}
8282

8383
// concat all SHA1 hashes together (unprefixed), then hash that

src/BizHawk.Emulation.Cores/Computers/Doom/DSDA.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ private static bool PlayerPresent(DoomSyncSettings syncSettings, int port) =>
393393

394394
private void ErrorCallback(string error)
395395
{
396-
throw new InternalErrorException($"\n\n{error}\n");
396+
throw new InternalCoreException($"\n\n{error}\n");
397397
}
398398

399399
/// <summary>

0 commit comments

Comments
 (0)