From 6e46cb550b74d7152a9ba36bc3135ab399766094 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sat, 7 May 2022 23:20:12 +1000 Subject: [PATCH] Fast-fail Mupen core ctor on Linux --- src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs index 10b04843ba..0339160a9d 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs @@ -1,6 +1,7 @@ using System; using System.Threading; +using BizHawk.Common; using BizHawk.Emulation.Common; using BizHawk.Emulation.Cores.Nintendo.N64.NativeApi; @@ -21,6 +22,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 [CoreConstructor(VSystemID.Raw.N64)] public N64(GameInfo game, byte[] file, byte[] rom, N64Settings settings, N64SyncSettings syncSettings) { + if (OSTailoredCode.IsUnixHost) throw new NotImplementedException(); + ServiceProvider = new BasicServiceProvider(this); InputCallbacks = new InputCallbackSystem();