fix stella frame_advance function declaration
This commit is contained in:
parent
0e9c21e7d3
commit
24a82551b9
|
@ -28,7 +28,7 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
|
|||
[In] InitSettings settings);
|
||||
|
||||
[BizImport(CallingConvention.Cdecl)]
|
||||
public abstract void stella_frame_advance(int port1, int port2, bool reset, bool power, bool leftDiffToggled, bool rightDiffToggled);
|
||||
public abstract void stella_frame_advance(byte port1, byte port2, bool reset, bool power, bool leftDiffToggled, bool rightDiffToggled);
|
||||
|
||||
[BizImport(CallingConvention.Cdecl)]
|
||||
public abstract void stella_get_video(out int w, out int h, out int pitch, ref IntPtr buffer);
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
|
|||
|
||||
public bool FrameAdvance(IController controller, bool render, bool renderSound)
|
||||
{
|
||||
int port1 = _controllerDeck.ReadPort1(controller);
|
||||
int port2 = _controllerDeck.ReadPort2(controller);
|
||||
byte port1 = _controllerDeck.ReadPort1(controller);
|
||||
byte port2 = _controllerDeck.ReadPort2(controller);
|
||||
|
||||
// Handle all the console controls here
|
||||
bool powerPressed = false;
|
||||
|
|
Loading…
Reference in New Issue