summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/MMIOTest.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2017-06-07 21:20:38 -0700
committerGitHub <noreply@github.com>2017-06-07 21:20:38 -0700
commitc7316c89dbd2f68fcb27e24fee57c41686fe5144 (patch)
treeba029b5a68e1613f3dca3185a854ef70d05de61e /Source/UnitTests/Core/MMIOTest.cpp
parent9ee63608b3c7160cadb0291e577b158d1b8aa5c6 (diff)
parentffd8309aca806a6cf5ca4da85f5854ef14c8e0d9 (diff)
Merge pull request #5545 from shuffle2/fix-unittests
unittests: set user directory
Diffstat (limited to 'Source/UnitTests/Core/MMIOTest.cpp')
-rw-r--r--Source/UnitTests/Core/MMIOTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/UnitTests/Core/MMIOTest.cpp b/Source/UnitTests/Core/MMIOTest.cpp
index f6b8cfad1e..f1a414045a 100644
--- a/Source/UnitTests/Core/MMIOTest.cpp
+++ b/Source/UnitTests/Core/MMIOTest.cpp
@@ -8,6 +8,7 @@
#include "Common/CommonTypes.h"
#include "Core/Config/Config.h"
#include "Core/HW/MMIO.h"
+#include "UICommon/UICommon.h"
// Tests that the UniqueID function returns a "unique enough" identifier
// number: that is, it is unique in the address ranges we care about.
@@ -30,6 +31,7 @@ TEST(UniqueID, UniqueEnough)
TEST(IsMMIOAddress, SpecialAddresses)
{
+ UICommon::SetUserDirectory("");
Config::Init();
SConfig::Init();
SConfig::GetInstance().bWii = true;