diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-06-15 23:20:30 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-06-26 15:17:55 +0200 |
| commit | 60c6fbe9ccf167d90f332267375c00418e4abd52 (patch) | |
| tree | 3dd346f962a905e165f0cc574fc7884dd8a9a388 /Source/UnitTests/Core/IOS/ES/FormatsTest.cpp | |
| parent | 99b173542417811020b5d639449b496ceadae42a (diff) | |
Add CommonTitles.h for common Wii title IDs
Diffstat (limited to 'Source/UnitTests/Core/IOS/ES/FormatsTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/IOS/ES/FormatsTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <vector> +#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)); |
