mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-18 23:59:32 +00:00
3acac3203b
Removes Alpine Racer 3 hack. Issue has been resolved. Moves NanoBreaker hack. Issue has been resolved for OpenGL and hack has been moved to DX only. Moves Tri-Ace games hacks. Hacks are also necessary for OpenGL with "Partial" CRC Hack Level to prevent massive slowdown. Move Tales Of Legendia hack back as it's also necessary for OpenGL with "Partial" CRC Hack Level to prevent graphical issues. Close: https://github.com/PCSX2/pcsx2/issues/1698 Added PAL and NTSC-U CRC's for Ar tonelico II.
218 lines
3.6 KiB
C++
218 lines
3.6 KiB
C++
/*
|
|
* Copyright (C) 2007-2009 Gabest
|
|
* http://www.gabest.org
|
|
*
|
|
* This Program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This Program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with GNU Make; see the file COPYING. If not, write to
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA USA.
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class CRC
|
|
{
|
|
public:
|
|
enum Title
|
|
{
|
|
NoTitle,
|
|
AceCombat4,
|
|
ArTonelico2,
|
|
BigMuthaTruckers,
|
|
Black,
|
|
BlackHawkDown,
|
|
BleachBladeBattlers,
|
|
Bully,
|
|
BullyCC,
|
|
BurnoutDominator,
|
|
BurnoutRevenge,
|
|
BurnoutTakedown,
|
|
CaptainTsubasa,
|
|
CastlevaniaCoD,
|
|
CastlevaniaLoI,
|
|
Clannad,
|
|
CrashBandicootWoC,
|
|
CrashNburn,
|
|
DBZBT2,
|
|
DBZBT3,
|
|
DeathByDegreesTekkenNinaWilliams,
|
|
DemonStone,
|
|
DevilMayCry3,
|
|
Dororo,
|
|
DuelSaviorDestiny,
|
|
EternalPoison,
|
|
EvangelionJo,
|
|
FFVIIDoC,
|
|
FFX,
|
|
FFX2,
|
|
FFXII,
|
|
FightingBeautyWulong,
|
|
FinalFightStreetwise,
|
|
FrontMission5,
|
|
Genji,
|
|
GetaWay,
|
|
GetaWayBlackMonday,
|
|
GiTS,
|
|
GodHand,
|
|
GodOfWar,
|
|
GodOfWar2,
|
|
Grandia3,
|
|
GT3,
|
|
GT4,
|
|
GTASanAndreas,
|
|
GTConcept,
|
|
HarleyDavidson,
|
|
HarvestMoon,
|
|
HauntingGround,
|
|
HeavyMetalThunder,
|
|
HummerBadlands,
|
|
ICO,
|
|
IkkiTousen,
|
|
ItadakiStreet,
|
|
JackieChanAdv,
|
|
Jak1,
|
|
Jak2,
|
|
Jak3,
|
|
JakX,
|
|
JamesBondEverythingOrNothing,
|
|
KazokuKeikakuKokoroNoKizuna,
|
|
KnightsOfTheTemple2,
|
|
Kunoichi,
|
|
KyuuketsuKitanMoonties,
|
|
Lamune,
|
|
LegoBatman,
|
|
LordOfTheRingsThirdAge,
|
|
LordOfTheRingsTwoTowers,
|
|
MajokkoALaMode2,
|
|
Manhunt2,
|
|
MetalGearSolid3,
|
|
MetalSlug6,
|
|
MidnightClub3,
|
|
NamcoXCapcom,
|
|
NanoBreaker,
|
|
NarutimateAccel,
|
|
Naruto,
|
|
Okami,
|
|
Oneechanbara2Special,
|
|
OnePieceGrandAdventure,
|
|
OnePieceGrandBattle,
|
|
Onimusha3,
|
|
PiaCarroteYoukosoGPGakuenPrincess,
|
|
RadiataStories,
|
|
RedDeadRevolver,
|
|
ResidentEvil4,
|
|
RozenMaidenGebetGarden,
|
|
SacredBlaze,
|
|
SakuraTaisen,
|
|
SakuraWarsSoLongMyLove,
|
|
SDGundamGGeneration,
|
|
SeintoSeiya,
|
|
SengokuBasara,
|
|
SFEX3,
|
|
ShadowHearts,
|
|
ShadowofRome,
|
|
ShinOnimusha,
|
|
SilentHill2,
|
|
SilentHill3,
|
|
Simple2000Vol114,
|
|
SimpsonsGame,
|
|
Siren,
|
|
SkyGunner,
|
|
Sly2,
|
|
Sly3,
|
|
SMTDDS1,
|
|
SMTDDS2,
|
|
SMTNocturne,
|
|
SonicUnleashed,
|
|
SoTC,
|
|
SoulCalibur2,
|
|
SoulCalibur3,
|
|
Spartan,
|
|
SpyroEternalNight,
|
|
SpyroNewBeginning,
|
|
SSX3,
|
|
StarOcean3,
|
|
StarWarsBattlefront,
|
|
StarWarsBattlefront2,
|
|
StarWarsForceUnleashed,
|
|
SteambotChronicles,
|
|
SuikodenTactics,
|
|
SuperManReturns,
|
|
TalesOfAbyss,
|
|
TalesofDestiny,
|
|
TalesOfLegendia,
|
|
TalesofSymphonia,
|
|
Tekken5,
|
|
TenchuFS,
|
|
TenchuWoH,
|
|
TimeSplitters2,
|
|
TombRaiderAnniversary,
|
|
TombRaiderLegend,
|
|
TombRaiderUnderworld,
|
|
TomoyoAfter,
|
|
TouristTrophy,
|
|
UltramanFightingEvolution,
|
|
UrbanReign,
|
|
ValkyrieProfile2,
|
|
VF4,
|
|
VF4EVO,
|
|
WildArms4,
|
|
WildArms5,
|
|
XE3,
|
|
Yakuza,
|
|
Yakuza2,
|
|
ZettaiZetsumeiToshi2,
|
|
TitleCount,
|
|
};
|
|
|
|
enum Region
|
|
{
|
|
NoRegion,
|
|
US,
|
|
EU,
|
|
JP,
|
|
JPUNDUB,
|
|
RU,
|
|
FR,
|
|
DE,
|
|
IT,
|
|
ES,
|
|
CH,
|
|
ASIA,
|
|
KO,
|
|
RegionCount,
|
|
};
|
|
|
|
enum Flags
|
|
{
|
|
PointListPalette = 1,
|
|
ZWriteMustNotClear = 2,
|
|
};
|
|
|
|
struct Game
|
|
{
|
|
uint32 crc;
|
|
Title title;
|
|
Region region;
|
|
uint32 flags;
|
|
};
|
|
|
|
private:
|
|
static Game m_games[];
|
|
static map<uint32, Game*> m_map;
|
|
|
|
public:
|
|
static Game Lookup(uint32 crc);
|
|
};
|