mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Config: Integrate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user