forked from sin365/AxibugEmuOnline
增加il2cppSetOption
This commit is contained in:
parent
f22be7a346
commit
e83beaa813
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal abstract class Bandai : Board
|
internal abstract class Bandai : Board
|
||||||
{
|
{
|
||||||
private bool irq_enable;
|
private bool irq_enable;
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal struct BankInfo
|
internal struct BankInfo
|
||||||
{
|
{
|
||||||
public bool IsRAM;
|
public bool IsRAM;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class BankInfoSorter : IComparer<BankInfo>
|
internal class BankInfoSorter : IComparer<BankInfo>
|
||||||
{
|
{
|
||||||
public int Compare(BankInfo x, BankInfo y)
|
public int Compare(BankInfo x, BankInfo y)
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class BlankJoypad : IJoypadConnecter
|
internal class BlankJoypad : IJoypadConnecter
|
||||||
{
|
{
|
||||||
public override void Update()
|
public override void Update()
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class BlankShortuctsHandler : IShortcutsHandler
|
internal class BlankShortuctsHandler : IShortcutsHandler
|
||||||
{
|
{
|
||||||
public void Update()
|
public void Update()
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal abstract class Board
|
internal abstract class Board
|
||||||
{
|
{
|
||||||
protected byte[][] PRG_RAM;
|
protected byte[][] PRG_RAM;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class BoardInfoAttribute : Attribute
|
internal class BoardInfoAttribute : Attribute
|
||||||
{
|
{
|
||||||
public string Name { get; private set; }
|
public string Name { get; private set; }
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class BoardInfoObject
|
public class BoardInfoObject
|
||||||
{
|
{
|
||||||
public string Name { get; internal set; }
|
public string Name { get; internal set; }
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class Crc32 : HashAlgorithm
|
public class Crc32 : HashAlgorithm
|
||||||
{
|
{
|
||||||
public const uint DefaultPolynomial = 3988292384u;
|
public const uint DefaultPolynomial = 3988292384u;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class EmuSettings : ISettings
|
public class EmuSettings : ISettings
|
||||||
{
|
{
|
||||||
public string SnapsFolder = "Snaps";
|
public string SnapsFolder = "Snaps";
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class Eprom
|
internal class Eprom
|
||||||
{
|
{
|
||||||
private enum EpromDevice
|
private enum EpromDevice
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal abstract class FFE : Board
|
internal abstract class FFE : Board
|
||||||
{
|
{
|
||||||
protected bool irqEnable;
|
protected bool irqEnable;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class GameGenie
|
public class GameGenie
|
||||||
{
|
{
|
||||||
public string[] LettersTable = new string[16]
|
public string[] LettersTable = new string[16]
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class HassIssuesAttribute : Attribute
|
internal class HassIssuesAttribute : Attribute
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class HelperTools
|
public class HelperTools
|
||||||
{
|
{
|
||||||
public static string GetFileSize(string FilePath)
|
public static string GetFileSize(string FilePath)
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public abstract class IJoypadConnecter
|
public abstract class IJoypadConnecter
|
||||||
{
|
{
|
||||||
protected byte DATA;
|
protected byte DATA;
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public abstract class IRom
|
public abstract class IRom
|
||||||
{
|
{
|
||||||
public bool IsValid { get; set; }
|
public bool IsValid { get; set; }
|
||||||
|
@ -2,9 +2,13 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public abstract class ISettings
|
public abstract class ISettings
|
||||||
{
|
{
|
||||||
protected string filePath;
|
protected string filePath;
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public abstract class IVSUnisystemDIPConnecter
|
public abstract class IVSUnisystemDIPConnecter
|
||||||
{
|
{
|
||||||
public abstract void Update();
|
public abstract void Update();
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public abstract class IZapperConnecter
|
public abstract class IZapperConnecter
|
||||||
{
|
{
|
||||||
protected bool Trigger;
|
protected bool Trigger;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal abstract class MMC2 : Board
|
internal abstract class MMC2 : Board
|
||||||
{
|
{
|
||||||
private byte chr_reg0A;
|
private byte chr_reg0A;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class MMC5Pcm
|
internal class MMC5Pcm
|
||||||
{
|
{
|
||||||
internal byte output;
|
internal byte output;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class MMC5Sqr
|
internal class MMC5Sqr
|
||||||
{
|
{
|
||||||
private byte[][] duty_cycle_sequences = new byte[4][]
|
private byte[][] duty_cycle_sequences = new byte[4][]
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class MNInterfaceLanguage
|
public class MNInterfaceLanguage
|
||||||
{
|
{
|
||||||
public static string Message_RomInfoCanBeOnlyShown = "Rom info can be shown only when emulation is on (i.e. game is loaded)";
|
public static string Message_RomInfoCanBeOnlyShown = "Rom info can be shown only when emulation is on (i.e. game is loaded)";
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
[BoardInfo("MMC3", 4, true, true)]
|
[BoardInfo("MMC3", 4, true, true)]
|
||||||
internal class Mapper004 : Board
|
internal class Mapper004 : Board
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "MyNes.Core",
|
"name": "MyNes.Core",
|
||||||
"rootNamespace": "",
|
"rootNamespace": "",
|
||||||
"references": [],
|
"references": [
|
||||||
|
"GUID:1c66728ad60364b82bf095d383b87458"
|
||||||
|
],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
"allowUnsafeCode": false,
|
"allowUnsafeCode": false,
|
||||||
|
@ -2,9 +2,13 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class MyNesMain
|
public class MyNesMain
|
||||||
{
|
{
|
||||||
public static EmuSettings EmuSettings { get; private set; }
|
public static EmuSettings EmuSettings { get; private set; }
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
[WithExternalSound]
|
[WithExternalSound]
|
||||||
internal abstract class Namcot106 : Board
|
internal abstract class Namcot106 : Board
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class NesCartDatabase
|
public class NesCartDatabase
|
||||||
{
|
{
|
||||||
private static List<NesCartDatabaseGameInfo> _databaseRoms = new List<NesCartDatabaseGameInfo>();
|
private static List<NesCartDatabaseGameInfo> _databaseRoms = new List<NesCartDatabaseGameInfo>();
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class NesCartDatabaseCartridgeInfo
|
public class NesCartDatabaseCartridgeInfo
|
||||||
{
|
{
|
||||||
public string System;
|
public string System;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public struct NesCartDatabaseGameInfo
|
public struct NesCartDatabaseGameInfo
|
||||||
{
|
{
|
||||||
public string Game_Name;
|
public string Game_Name;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
using Google.Protobuf.WellKnownTypes;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -5,9 +6,15 @@ using System.IO;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
using Option = Unity.IL2CPP.CompilerServices.Option;
|
||||||
|
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class NesEmu
|
public class NesEmu
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Explicit)]
|
[StructLayout(LayoutKind.Explicit)]
|
||||||
@ -4063,6 +4070,9 @@ namespace MyNes.Core
|
|||||||
ppu_clock_v = 0;
|
ppu_clock_v = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
private static void PPUClock()
|
private static void PPUClock()
|
||||||
{
|
{
|
||||||
mem_board.OnPPUClock();
|
mem_board.OnPPUClock();
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class PALBPaletteGenerator
|
public class PALBPaletteGenerator
|
||||||
{
|
{
|
||||||
public const float default_saturation = 1.496f;
|
public const float default_saturation = 1.496f;
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class PaletteFileWrapper
|
public class PaletteFileWrapper
|
||||||
{
|
{
|
||||||
public static bool LoadFile(Stream fileStream, out int[] palette)
|
public static bool LoadFile(Stream fileStream, out int[] palette)
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class RendererSettings : ISettings
|
public class RendererSettings : ISettings
|
||||||
{
|
{
|
||||||
public string Video_ProviderID = "";
|
public string Video_ProviderID = "";
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class SoundDCBlockerFilter
|
internal class SoundDCBlockerFilter
|
||||||
{
|
{
|
||||||
private double R;
|
private double R;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class SoundHighPassFilter
|
internal class SoundHighPassFilter
|
||||||
{
|
{
|
||||||
private double K;
|
private double K;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class SoundLowPassFilter
|
internal class SoundLowPassFilter
|
||||||
{
|
{
|
||||||
private double K;
|
private double K;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class Sunsoft5BChnl
|
internal class Sunsoft5BChnl
|
||||||
{
|
{
|
||||||
internal bool Enabled;
|
internal bool Enabled;
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
#define TRACE
|
#define TRACE
|
||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public sealed class Tracer
|
public sealed class Tracer
|
||||||
{
|
{
|
||||||
public static event EventHandler<TracerEventArgs> EventRaised;
|
public static event EventHandler<TracerEventArgs> EventRaised;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class TracerEventArgs : EventArgs
|
public class TracerEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
public string Message { get; private set; }
|
public string Message { get; private set; }
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class VRC6Pulse
|
internal class VRC6Pulse
|
||||||
{
|
{
|
||||||
private int dutyForm;
|
private int dutyForm;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class VRC6Sawtooth
|
internal class VRC6Sawtooth
|
||||||
{
|
{
|
||||||
private byte AccumRate;
|
private byte AccumRate;
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
public class WaveRecorder
|
public class WaveRecorder
|
||||||
{
|
{
|
||||||
private string _fileName;
|
private string _fileName;
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Unity.IL2CPP.CompilerServices;
|
||||||
|
|
||||||
namespace MyNes.Core
|
namespace MyNes.Core
|
||||||
{
|
{
|
||||||
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
|
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
|
||||||
internal class WithExternalSoundAttribute : Attribute
|
internal class WithExternalSoundAttribute : Attribute
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -372,6 +372,18 @@ PrefabInstance:
|
|||||||
m_Modification:
|
m_Modification:
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 0}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 8662582775359084755, guid: d75df7d1f5a2c824ab5013cbd79da7a4, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: -124
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8662582775359084755, guid: d75df7d1f5a2c824ab5013cbd79da7a4, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 109
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8662582775359084756, guid: d75df7d1f5a2c824ab5013cbd79da7a4, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 8662582775964487076, guid: d75df7d1f5a2c824ab5013cbd79da7a4, type: 3}
|
- target: {fileID: 8662582775964487076, guid: d75df7d1f5a2c824ab5013cbd79da7a4, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 3
|
value: 3
|
||||||
|
Loading…
Reference in New Issue
Block a user