Skip to content

Commit 3b19e4e

Browse files
committed
Remove unused ctor param on SimpleGDIPDisplayManager
fixes 1f70320
1 parent eb950a5 commit 3b19e4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BizHawk.Client.Common/DisplayManager/SimpleGDIPDisplayManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private SimpleGDIPDisplayManager(Config config, IEmulator emuCore, IGL_GDIPlus g
2020
new GDIPlusGuiRenderer(glImpl))
2121
{}
2222

23-
public SimpleGDIPDisplayManager(Config config, IEmulator emuCore, Func<(int Width, int Height)> getVirtualSize)
23+
public SimpleGDIPDisplayManager(Config config, IEmulator emuCore)
2424
: this(config, emuCore, new IGL_GDIPlus()) {}
2525

2626
protected override void ActivateGraphicsControlContext() {}

src/BizHawk.Tests.Testroms/DummyFrontend.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public DummyFrontend(ClassInitCallbackDelegate init)
153153
CoreAsDebuggable = Core.CanDebug() ? Core.AsDebuggable() : null;
154154
CoreAsMemDomains = Core.HasMemoryDomains() ? Core.AsMemoryDomains() : null;
155155
_coreAsVP = core.AsVideoProvider();
156-
_dispMan = new(_config, core, () => (_coreAsVP!.VirtualWidth, _coreAsVP.VirtualHeight));
156+
_dispMan = new(_config, core);
157157
}
158158

159159
public void Dispose()

0 commit comments

Comments
 (0)