cleanup c# side melon code
This commit is contained in:
parent
53c8deae29
commit
195846f2f3
|
@ -33,7 +33,6 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public new class FrameInfo : LibWaterboxCore.FrameInfo
|
public new class FrameInfo : LibWaterboxCore.FrameInfo
|
||||||
{
|
{
|
||||||
public long Time;
|
|
||||||
public Buttons Keys;
|
public Buttons Keys;
|
||||||
public byte TouchX;
|
public byte TouchX;
|
||||||
public byte TouchY;
|
public byte TouchY;
|
||||||
|
|
|
@ -7,7 +7,6 @@ using System.Text;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
using BizHawk.Common;
|
using BizHawk.Common;
|
||||||
using BizHawk.Common.CollectionExtensions;
|
|
||||||
using BizHawk.Emulation.Common;
|
using BizHawk.Emulation.Common;
|
||||||
|
|
||||||
// ReSharper disable SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault
|
// ReSharper disable SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault
|
||||||
|
|
|
@ -466,7 +466,6 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
||||||
|
|
||||||
return new LibMelonDS.FrameInfo
|
return new LibMelonDS.FrameInfo
|
||||||
{
|
{
|
||||||
Time = GetRtcTime(!DeterministicEmulation),
|
|
||||||
Keys = GetButtons(controller),
|
Keys = GetButtons(controller),
|
||||||
TouchX = (byte)controller.AxisValue("Touch X"),
|
TouchX = (byte)controller.AxisValue("Touch X"),
|
||||||
TouchY = (byte)controller.AxisValue("Touch Y"),
|
TouchY = (byte)controller.AxisValue("Touch Y"),
|
||||||
|
|
Loading…
Reference in New Issue