GPGX: fix controller regression caused by r6007

This commit is contained in:
goyuken 2014-02-05 16:00:50 +00:00
parent e76b71b72f
commit 0f37d63a90
1 changed files with 2 additions and 2 deletions

View File

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