Make `Sameboy` ctor public so testroms project can use it

fixes 9528a2030
This commit is contained in:
YoshiRulz 2023-04-15 10:34:46 +10:00
parent c90fcbbd54
commit 379eeeeed8
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 7 additions and 1 deletions

View File

@ -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);