From 0f37d63a90c1899341b6576af95fe24a7f936058 Mon Sep 17 00:00:00 2001 From: goyuken Date: Wed, 5 Feb 2014 16:00:50 +0000 Subject: [PATCH] GPGX: fix controller regression caused by r6007 --- BizHawk.Emulation.Cores/Consoles/Sega/gpgx/LibGPGX.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/LibGPGX.cs b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/LibGPGX.cs index c0fee1d933..2cea533af5 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/LibGPGX.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/LibGPGX.cs @@ -45,9 +45,9 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx public static extern bool gpgx_state_load(byte[] src, int size); [DllImport("libgenplusgx.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern bool gpgx_get_control(InputData dest, int bytes); + public static extern bool gpgx_get_control([Out]InputData dest, int bytes); [DllImport("libgenplusgx.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern bool gpgx_put_control(InputData src, int bytes); + public static extern bool gpgx_put_control([In]InputData src, int bytes); [DllImport("libgenplusgx.dll", CallingConvention = CallingConvention.Cdecl)] public static extern void gpgx_get_sram(ref IntPtr area, ref int size);