GameDB: Typo / remove debugging code

GameDB: Remove unneeded include
This commit is contained in:
Tyler Wilding 2020-11-14 14:00:38 -05:00 committed by refractionpcsx2
parent 3f6193580c
commit 39a4d3ce4e
3 changed files with 3 additions and 6 deletions

View File

@ -115,7 +115,7 @@ The clamp modes are also numerically based.
## Game Fixes
These values are case-sensitive so take care. If you incorrect specify a GameFix, you will get a validation error on startup. Any invalid game-fixes will be dropped from the game's list of fixes.
These values are case-sensitive so take care. If you incorrectly specify a GameFix, you will get a validation error on startup. Any invalid game-fixes will be dropped from the game's list of fixes.
### Options

View File

@ -76,8 +76,6 @@ std::vector<std::string> YamlGameDatabaseImpl::safeGetStringList(const YAML::Nod
GameDatabaseSchema::GameEntry YamlGameDatabaseImpl::entryFromYaml(const std::string serial, const YAML::Node& node)
{
if (serial == "SCUS-97265")
int x = 0;
GameDatabaseSchema::GameEntry gameEntry;
try
{
@ -111,7 +109,7 @@ GameDatabaseSchema::GameEntry YamlGameDatabaseImpl::entryFromYaml(const std::str
Console.Error(fmt::format("[GameDB] Invalid gamefix: '{}', specified for serial: '{}'. Dropping!", fix, serial));
}
}
if (YAML::Node speedHacksNode = node["speedHacks"])
{
for (YAML::const_iterator entry = speedHacksNode.begin(); entry != speedHacksNode.end(); entry++)
@ -144,7 +142,7 @@ GameDatabaseSchema::GameEntry YamlGameDatabaseImpl::entryFromYaml(const std::str
Console.Error(fmt::format("[GameDB] Patch with duplicate CRC: '{}' detected for serial: '{}'. Skipping patch.", crc, serial));
continue;
}
GameDatabaseSchema::Patch patchCol;
patchCol.author = safeGetString(node, "author");

View File

@ -16,7 +16,6 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "AppConfig.h"
#include "R5900.h"
#include "R3000A.h"