diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2017-05-13 22:29:55 +0100 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2017-06-03 18:11:57 +0100 |
| commit | 41afe78a44b490a0a288450a6ffde8e08a1ebae0 (patch) | |
| tree | fbfec9fa36e8a4e6508df35ae20b7029771a39c6 /Source/UnitTests/Core/MMIOTest.cpp | |
| parent | 1548a15c68244266af45317bb758e04d29953aeb (diff) | |
Config: Integrate
Diffstat (limited to 'Source/UnitTests/Core/MMIOTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/MMIOTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/UnitTests/Core/MMIOTest.cpp b/Source/UnitTests/Core/MMIOTest.cpp index fd48c786b2..f6b8cfad1e 100644 --- a/Source/UnitTests/Core/MMIOTest.cpp +++ b/Source/UnitTests/Core/MMIOTest.cpp @@ -6,6 +6,7 @@ #include <unordered_set> #include "Common/CommonTypes.h" +#include "Core/Config/Config.h" #include "Core/HW/MMIO.h" // Tests that the UniqueID function returns a "unique enough" identifier @@ -29,6 +30,7 @@ TEST(UniqueID, UniqueEnough) TEST(IsMMIOAddress, SpecialAddresses) { + Config::Init(); SConfig::Init(); SConfig::GetInstance().bWii = true; @@ -51,6 +53,7 @@ TEST(IsMMIOAddress, SpecialAddresses) EXPECT_TRUE(MMIO::IsMMIOAddress(0x0D800F10)); // Mirror of Wii MMIOs SConfig::Shutdown(); + Config::Shutdown(); } class MappingTest : public testing::Test |
