移除gdi剩余无用代码

This commit is contained in:
sin365 2024-08-28 11:44:32 +08:00
parent 9a631912f3
commit 8bd8c27772
15 changed files with 0 additions and 232 deletions

View File

@ -133,98 +133,84 @@ namespace MAME.Core.Motion
//Video.nMode = 3;
itemSelect();
CPS.CPSInit();
CPS.GDIInit();
break;
case "Data East":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Dataeast.DataeastInit();
Dataeast.GDIInit();
break;
case "Tehkan":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Tehkan.PbactionInit();
Tehkan.GDIInit();
break;
case "Neo Geo":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Neogeo.NeogeoInit();
Neogeo.GDIInit();
break;
case "SunA8":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
SunA8.SunA8Init();
SunA8.GDIInit();
break;
case "Namco System 1":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Namcos1.Namcos1Init();
Namcos1.GDIInit();
break;
case "IGS011":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
IGS011.IGS011Init();
IGS011.GDIInit();
break;
case "PGM":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
PGM.PGMInit();
PGM.GDIInit();
break;
case "M72":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
M72.M72Init();
M72.GDIInit();
break;
case "M92":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
M92.M92Init();
M92.GDIInit();
break;
case "Taito":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Taito.TaitoInit();
Taito.GDIInit();
break;
case "Taito B":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Taitob.TaitobInit();
Taitob.GDIInit();
break;
case "Konami 68000":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Konami68000.Konami68000Init();
Konami68000.GDIInit();
break;
case "Capcom":
Video.nMode = 1;
Video.iMode = 0;
itemSelect();
Capcom.CapcomInit();
Capcom.GDIInit();
break;
}
if (Machine.bRom)

View File

@ -1,12 +0,0 @@

namespace mame
{
public partial class Capcom
{
public static bool bBg, bFg, bTx, bSprite;
public static void GDIInit()
{
}
}
}

View File

@ -1,56 +0,0 @@

using Color = MAME.Core.AxiBitmap.AxiColor;
namespace mame
{
public partial class CPS
{
private static string[] sde2;
private static int base_cps1_objG;
private static int[] maskG;
private static int[] mapsizeG;
public static Color[] cc1G;
public static Color m_ColorG;
public static int nColorG, nSpriteG;
private static byte[,] flagsmap0G, flagsmap1G, flagsmap2G;
private static byte[,] pen_to_flags0G, pen_to_flags1G, pen_to_flags2G;
public static byte[,] priority_bitmapG;
private static int videocontrolG;
public static int scrollx0, scrolly0;
public static int scrollx1, scrolly1;
public static int scrollx2, scrolly2;
public static int scrollxSG, scrollySG;
public static int[] iiCutColorG;
public static int l0G, l1G, l2G, l3G;
public static bool bRender0G, bRender1G, bRender2G, bRender3G;
private static bool enable0G, enable1G, enable2G;
private static int baseTilemap0G, baseTilemap1G, baseTilemap2G, basePaletteG;
public static byte[] bbPaletteG;
private static int layercontrolG, scrollrows1G;
private static int[] rowscroll1G;
public static int[] cps1_scrollxG, cps1_scrollyG;
public delegate void gethighDelegateG();
public static gethighDelegateG[] gethighDelegatesG;
public static void GDIInit()
{
maskG = new int[4];
mapsizeG = new int[3] { 0x200, 0x400, 0x800 };
nColorG = 0xc00;
sde2 = new string[] { "," };
scrollxSG = 0;
scrollySG = 0;
bbPaletteG = new byte[nColorG * 2];
rowscroll1G = new int[1024];
cps1_scrollxG = new int[3];
cps1_scrollyG = new int[3];
flagsmap0G = new byte[0x200, 0x200];
flagsmap1G = new byte[0x400, 0x400];
flagsmap2G = new byte[0x800, 0x800];
pen_to_flags0G = new byte[4, 16];
pen_to_flags1G = new byte[4, 16];
pen_to_flags2G = new byte[4, 16];
priority_bitmapG = new byte[0x200, 0x200];
cc1G = new Color[nColorG];
}
}
}

View File

@ -1,11 +0,0 @@
namespace mame
{
public partial class Dataeast
{
public static bool bBg, bFg, bSprite;
public static void GDIInit()
{
}
}
}

View File

@ -1,10 +0,0 @@
namespace mame
{
public partial class IGS011
{
public static void GDIInit()
{
}
}
}

View File

@ -1,16 +0,0 @@
using System.Collections.Generic;
namespace mame
{
public partial class Konami68000
{
private static string[] sde2 = new string[] { "," }, sde6 = new string[] { "-" };
public static bool bTile0, bTile1, bTile2, bSprite;
private static List<int> lSprite;
public static int min_priority, max_priority;
public static void GDIInit()
{
lSprite = new List<int>();
}
}
}

View File

@ -1,11 +0,0 @@
namespace mame
{
public partial class M72
{
public static bool bBg, bFg, bSprite;
public static void GDIInit()
{
}
}
}

View File

@ -1,11 +0,0 @@
namespace mame
{
public partial class M92
{
public static bool bG00, bG01, bG10, bG11, bG20, bG21, bSprite;
public static void GDIInit()
{
}
}
}

View File

@ -1,10 +0,0 @@
namespace mame
{
public partial class Namcos1
{
public static void GDIInit()
{
}
}
}

View File

@ -1,18 +0,0 @@
using System.Collections.Generic;
using Color = MAME.Core.AxiBitmap.AxiColor;
namespace mame
{
public partial class Neogeo
{
private static string[] sde2 = new string[] { "," }, sde6 = new string[] { "-" };
public static Color m_ColorG;
private static List<int> lSprite;
public static bool bRender0G, bRender1G;
public static void GDIInit()
{
//m_ColorG = Color.Magenta;
lSprite = new List<int>();
}
}
}

View File

@ -1,14 +0,0 @@
using Color = MAME.Core.AxiBitmap.AxiColor;
namespace mame
{
public partial class PGM
{
public static Color m_ColorG;
public static bool bRender0G, bRender1G, bRender2G, bRender3G;
public static void GDIInit()
{
//m_ColorG = Color.Magenta;
}
}
}

View File

@ -1,11 +0,0 @@
namespace mame
{
public partial class SunA8
{
public static bool bBg, bFg, bTx, bSprite;
public static void GDIInit()
{
}
}
}

View File

@ -1,16 +0,0 @@
namespace mame
{
public partial class Taito
{
public static bool bBg, bFg, bSprite;
private static byte[,] flagsmapBG, flagsmapFG;
private static byte[,] pen_to_flagsBG, pen_to_flagsFG;
public static byte[,] priority_bitmapG;
public static void GDIInit()
{
flagsmapBG = new byte[0x200, 0x200];
flagsmapFG = new byte[0x200, 0x200];
priority_bitmapG = new byte[0x140, 0x100];
}
}
}

View File

@ -1,11 +0,0 @@
namespace mame
{
public partial class Taitob
{
public static bool bBg, bFg, bTx, bSprite;
public static void GDIInit()
{
}
}
}

View File

@ -1,11 +0,0 @@
namespace mame
{
public partial class Tehkan
{
public static bool bBg, bFg, bSprite;
public static void GDIInit()
{
}
}
}