N64: Wire up the reset and power buttons
This commit is contained in:
parent
4a9d9e09e9
commit
d9f9d77712
|
@ -69,6 +69,15 @@ namespace BizHawk.Emulation.Consoles.Nintendo.N64
|
||||||
public void FrameAdvance(bool render, bool rendersound)
|
public void FrameAdvance(bool render, bool rendersound)
|
||||||
{
|
{
|
||||||
m64pFrameComplete = false;
|
m64pFrameComplete = false;
|
||||||
|
|
||||||
|
if (Controller["Reset"])
|
||||||
|
{
|
||||||
|
m64pCoreDoCommandPtr(m64p_command.M64CMD_RESET, 0, IntPtr.Zero);
|
||||||
|
}
|
||||||
|
if (Controller["Power"])
|
||||||
|
{
|
||||||
|
m64pCoreDoCommandPtr(m64p_command.M64CMD_RESET, 1, IntPtr.Zero);
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
sbyte x = 0;
|
sbyte x = 0;
|
||||||
sbyte y = 0;
|
sbyte y = 0;
|
||||||
|
|
Loading…
Reference in New Issue