summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/IOS/ES/FormatsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/UnitTests/Core/IOS/ES/FormatsTest.cpp')
-rw-r--r--Source/UnitTests/Core/IOS/ES/FormatsTest.cpp6
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));