From 379eeeeed80f2adcdd2c8222144160df13d066e7 Mon Sep 17 00:00:00 2001 From: YoshiRulz <OSSYoshiRulz@gmail.com> Date: Sat, 15 Apr 2023 10:34:46 +1000 Subject: [PATCH] Make `Sameboy` ctor public so testroms project can use it fixes 9528a2030 --- .../Consoles/Nintendo/SameBoy/SameBoy.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SameBoy/SameBoy.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SameBoy/SameBoy.cs index e1c15395cb..f27d20af01 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SameBoy/SameBoy.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SameBoy/SameBoy.cs @@ -102,7 +102,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.Sameboy _stateBuf = new byte[LibSameboy.sameboy_statelen(SameboyState)]; } - private Sameboy(CoreComm comm, GameInfo game, byte[] file, SameboySettings settings, SameboySyncSettings syncSettings, bool deterministic) + public Sameboy( + CoreComm comm, + GameInfo game, + byte[] file, + SameboySettings settings, + SameboySyncSettings syncSettings, + bool deterministic) { _serviceProvider = new BasicServiceProvider(this);