static INT32 DrvExit() { YMZ280BExit(); EEPROMExit(); CaveTileExit(); CaveSpriteExit(); CavePalExit(); SekExit(); // Deallocate 68000s BurnFree(Mem); return 0; }
static INT32 DrvExit() { YMZ280BExit(); EEPROMExit(); CaveTileExit(); CaveSpriteExit(); CavePalExit(); SekExit(); // Deallocate 68000s // Deallocate all used memory BurnFree(Mem); Mem = NULL; return 0; }
static int DrvExit() { EEPROMExit(); MSM6295Exit(1); MSM6295Exit(0); CaveTileExit(); CaveSpriteExit(); CavePalExit(); SekExit(); // Deallocate 68000s // Deallocate all used memory free(Mem); Mem = NULL; return 0; }
static int DrvExit() { PsikyoshVideoExit(); Sh2Exit(); BurnYMF278BExit(); EEPROMExit(); if (AllMem) { free(AllMem); AllMem = NULL; } speedhack_address = ~0; memset (speedhack_pc, 0, 4 * sizeof(int)); return 0; }
INT32 CpsRunExit() { if (Cps == 2 || PangEEP || Cps1Qs == 1 || CpsBootlegEEPROM) EEPROMExit(); // Sound exit if (((Cps == 2) && !Cps2DisableQSnd) || Cps1Qs == 1) QsndExit(); if (Cps != 2 && Cps1Qs == 0 && !Cps1DisablePSnd) PsndExit(); // Graphics exit CpsObjExit(); CpsPalExit(); // Sprite Masking exit ZBuf = NULL; // Memory exit CpsRwExit(); CpsMemExit(); SekExit(); if (CpsRunExitCallbackFunction) { CpsRunExitCallbackFunction(); CpsRunExitCallbackFunction = NULL; } CpsRunInitCallbackFunction = NULL; CpsRunResetCallbackFunction = NULL; CpsRunFrameStartCallbackFunction = NULL; CpsRunFrameMiddleCallbackFunction = NULL; CpsRunFrameEndCallbackFunction = NULL; Cps1VBlankIRQLine = 2; Cps2DisableQSnd = 0; CpsBootlegEEPROM = 0; return 0; }
INT32 TaitoExit() { INT32 i; if (TaitoNum68Ks) SekExit(); if (TaitoNumZ80s) ZetExit(); if (TaitoNumYM2610) BurnYM2610Exit(); if (TaitoNumYM2151) BurnYM2151Exit(); if (TaitoNumYM2203) BurnYM2203Exit(); if (TaitoNumMSM5205) MSM5205Exit(); for (i = 0; i < TaitoNumMSM6295; i++) { MSM6295Exit(i); } if (TaitoNumEEPROM) EEPROMExit(); TaitoICExit(); GenericTilesExit(); if (nBurnGunNumPlayers) BurnGunExit(); BurnFree(TaitoMem); Taito68KRom1Num = 0; Taito68KRom2Num = 0; Taito68KRom3Num = 0; TaitoZ80Rom1Num = 0; TaitoZ80Rom2Num = 0; TaitoCharRomNum = 0; TaitoCharBRomNum = 0; TaitoCharPivotRomNum = 0; TaitoSpriteARomNum = 0; TaitoSpriteBRomNum = 0; TaitoRoadRomNum = 0; TaitoSpriteMapRomNum = 0; TaitoYM2610ARomNum = 0; TaitoYM2610BRomNum = 0; TaitoMSM5205RomNum = 0; TaitoMSM6295RomNum = 0; TaitoES5505RomNum = 0; TaitoDefaultEEPromNum = 0; Taito68KRom1Size = 0; Taito68KRom2Size = 0; Taito68KRom3Size = 0; TaitoZ80Rom1Size = 0; TaitoZ80Rom2Size = 0; TaitoCharRomSize = 0; TaitoCharBRomSize = 0; TaitoCharPivotRomSize = 0; TaitoSpriteARomSize = 0; TaitoSpriteBRomSize = 0; TaitoRoadRomSize = 0; TaitoSpriteMapRomSize = 0; TaitoYM2610ARomSize = 0; TaitoYM2610BRomSize = 0; TaitoMSM5205RomSize = 0; TaitoMSM6295RomSize = 0; TaitoES5505RomSize = 0; TaitoDefaultEEPromSize = 0; TaitoCharModulo = 0; TaitoCharNumPlanes = 0; TaitoCharWidth = 0; TaitoCharHeight = 0; TaitoNumChar = 0; TaitoCharPlaneOffsets = NULL; TaitoCharXOffsets = NULL; TaitoCharYOffsets = NULL; TaitoCharBModulo = 0; TaitoCharBNumPlanes = 0; TaitoCharBWidth = 0; TaitoCharBHeight = 0; TaitoNumCharB = 0; TaitoCharBPlaneOffsets = NULL; TaitoCharBXOffsets = NULL; TaitoCharBYOffsets = NULL; TaitoCharPivotModulo = 0; TaitoCharPivotNumPlanes = 0; TaitoCharPivotWidth = 0; TaitoCharPivotHeight = 0; TaitoNumCharPivot = 0; TaitoCharPivotPlaneOffsets = NULL; TaitoCharPivotXOffsets = NULL; TaitoCharPivotYOffsets = NULL; TaitoSpriteAModulo = 0; TaitoSpriteANumPlanes = 0; TaitoSpriteAWidth = 0; TaitoSpriteAHeight = 0; TaitoNumSpriteA = 0; TaitoSpriteAPlaneOffsets = NULL; TaitoSpriteAXOffsets = NULL; TaitoSpriteAYOffsets = NULL; TaitoSpriteAInvertRom = 0; TaitoSpriteBModulo = 0; TaitoSpriteBNumPlanes = 0; TaitoSpriteBWidth = 0; TaitoSpriteBHeight = 0; TaitoNumSpriteB = 0; TaitoSpriteBPlaneOffsets = NULL; TaitoSpriteBXOffsets = NULL; TaitoSpriteBYOffsets = NULL; TaitoZ80Bank = 0; TaitoSoundLatch = 0; TaitoRoadPalBank = 0; TaitoCpuACtrl = 0; TaitoXOffset = 0; TaitoYOffset = 0; TaitoIrqLine = 0; TaitoFrameInterleave = 0; TaitoFlipScreenX = 0; TaitoNum68Ks = 0; TaitoNumZ80s = 0; TaitoNumYM2610 = 0; TaitoNumYM2151 = 0; TaitoNumYM2203 = 0; TaitoNumMSM5205 = 0; TaitoNumMSM6295 = 0; TaitoNumES5505 = 0; TaitoNumEEPROM = 0; TaitoDrawFunction = NULL; TaitoMakeInputsFunction = NULL; TaitoResetFunction = NULL; return 0; }