summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-06-26 21:31:32 +0200
committerGitHub <noreply@github.com>2017-06-26 21:31:32 +0200
commit0ace7fd8f3d4cc7c0ab95df1852255f2a6252aa1 (patch)
tree46f2afaf533ccc972fb4aa48dc6257f6aca1a2f0 /Source/UnitTests/Core
parentf399ca984f24903755ba92df116e7e4bbce41e15 (diff)
parent70828916e6e15d518c666a205f815c5f6f6a5e54 (diff)
Merge pull request #5694 from leoetlino/dolphin-drm
Refuse to launch the shop with default credentials
Diffstat (limited to 'Source/UnitTests/Core')
-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));