From 0c57d7954f3db76c8660c8a235276972a43cea08 Mon Sep 17 00:00:00 2001 From: goyuken Date: Mon, 23 Jun 2014 03:44:46 +0000 Subject: [PATCH] gameboi: fix crash --- .../Consoles/Nintendo/Gameboy/LibGambatte.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/LibGambatte.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/LibGambatte.cs index 5346c852bf..6d17f87db7 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/LibGambatte.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/LibGambatte.cs @@ -317,9 +317,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy /// /// opaque state pointer /// enough room for 16 ascii chars plus terminator - /// [DllImport("libgambatte.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern string gambatte_romtitle(IntPtr core, byte[] data); + public static extern void gambatte_romtitle(IntPtr core, byte[] data); /// /// memory areas that gambatte_getmemoryarea() can return