C# fixes for gpgx

This commit is contained in:
CasualPokePlayer 2024-04-27 03:11:42 -07:00
parent 06ceec6390
commit d4c4ef8f17
2 changed files with 2 additions and 0 deletions

View File

@ -311,6 +311,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
for (var i = 0; i < LibGPGX.CD_MAX_TRACKS; i++)
{
ret.tracks[i].fd = IntPtr.Zero;
ret.tracks[i].offset = 0;
ret.tracks[i].loopEnabled = 0;
ret.tracks[i].loopOffset = 0;

View File

@ -283,6 +283,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
public struct CDTrack
{
public IntPtr fd;
public int offset;
public int start;
public int end;
public int mode;