From d7b0043379491f0eff22c22be747c61d58e1fb31 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 17 Apr 2017 22:42:12 -0500 Subject: [PATCH] add HModule accessor to InstanceDll --- BizHawk.Common/InstanceDll.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BizHawk.Common/InstanceDll.cs b/BizHawk.Common/InstanceDll.cs index ed3aa4595e..a8aa1d0adc 100644 --- a/BizHawk.Common/InstanceDll.cs +++ b/BizHawk.Common/InstanceDll.cs @@ -61,6 +61,8 @@ namespace BizHawk.Common return GetProcAddress(_hModule, procName); } + public IntPtr HModule { get { return _hModule; } } + IntPtr IImportResolver.Resolve(string entryPoint) { return GetProcAddress(entryPoint);