From 60c6fbe9ccf167d90f332267375c00418e4abd52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 15 Jun 2017 23:20:30 +0200 Subject: Add CommonTitles.h for common Wii title IDs --- Source/UnitTests/Core/IOS/ES/FormatsTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/UnitTests/Core/IOS/ES/FormatsTest.cpp') diff --git a/Source/UnitTests/Core/IOS/ES/FormatsTest.cpp b/Source/UnitTests/Core/IOS/ES/FormatsTest.cpp index 4f76bbd51e..b431e26b63 100644 --- a/Source/UnitTests/Core/IOS/ES/FormatsTest.cpp +++ b/Source/UnitTests/Core/IOS/ES/FormatsTest.cpp @@ -6,14 +6,14 @@ #include +#include "Core/CommonTitles.h" #include "Core/IOS/ES/Formats.h" #include "TestBinaryData.h" TEST(ESFormats, TitleType) { - const u64 system_menu_title_id = 0x0000000100000002; - EXPECT_TRUE(IOS::ES::IsTitleType(system_menu_title_id, IOS::ES::TitleType::System)); - EXPECT_FALSE(IOS::ES::IsDiscTitle(system_menu_title_id)); + EXPECT_TRUE(IOS::ES::IsTitleType(Titles::SYSTEM_MENU, IOS::ES::TitleType::System)); + EXPECT_FALSE(IOS::ES::IsDiscTitle(Titles::SYSTEM_MENU)); const u64 ios59_title_id = 0x000000010000003b; EXPECT_TRUE(IOS::ES::IsTitleType(ios59_title_id, IOS::ES::TitleType::System)); -- cgit v1.2.3