diff options
| author | shuffle2 <godisgovernment@gmail.com> | 2017-06-07 21:20:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-07 21:20:38 -0700 |
| commit | c7316c89dbd2f68fcb27e24fee57c41686fe5144 (patch) | |
| tree | ba029b5a68e1613f3dca3185a854ef70d05de61e /Source/UnitTests/Core/MMIOTest.cpp | |
| parent | 9ee63608b3c7160cadb0291e577b158d1b8aa5c6 (diff) | |
| parent | ffd8309aca806a6cf5ca4da85f5854ef14c8e0d9 (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.cpp | 2 |
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; |
