mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
unittests: set user directory so SYSCONF does not get created at the drive root
This commit is contained in:
parent
096399d371
commit
a2358786dc
4 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue