summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/MMIOTest.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2017-06-04 19:56:28 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2017-06-06 04:07:13 -0700
commita2358786dc66eab8fa63987751d4e3fc1a3ee525 (patch)
tree183054f0143df7e1aed631bcfe23ab8ae2b0c1fd /Source/UnitTests/Core/MMIOTest.cpp
parent096399d3719769dde4004bcefec87a447fd32cf3 (diff)
unittests: set user directory so SYSCONF does not get created at the drive root
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;