fix minor miscompilation of gambatte-linux, update LibGambatte to reflect API changes wrt CameraCallback

This commit is contained in:
CasualPokePlayer 2022-07-20 23:35:29 -07:00
parent a8f709a8a4
commit 480ce3b925
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -275,12 +275,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
/// </summary>
/// <param name="cameraBuf">pointer to camera buffer</param>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate bool CameraCallback(IntPtr cameraBuf);
public delegate void CameraCallback(IntPtr cameraBuf);
/// <summary>
/// sets the camera data request callback.
/// the callback will receive the pointer to the buffer.
/// a 128x112 rgb32 image should be copied to the buffer, with success returned.
/// a 128x112 native endian rgb32 image should be copied to the buffer.
/// </summary>
/// <param name="core">opaque state pointer</param>
/// <param name="callback">the callback</param>