diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2017-06-04 19:56:28 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2017-06-06 04:07:13 -0700 |
| commit | a2358786dc66eab8fa63987751d4e3fc1a3ee525 (patch) | |
| tree | 183054f0143df7e1aed631bcfe23ab8ae2b0c1fd /Source/UnitTests/Core/MMIOTest.cpp | |
| parent | 096399d3719769dde4004bcefec87a447fd32cf3 (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.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; |
