diff --git a/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp b/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp index 0f40728728..4b917b5a80 100644 --- a/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp +++ b/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp @@ -198,7 +198,7 @@ bool CBoot::SetupWiiMemory(unsigned int _CountryCode) default: // PanicAlert("SetupWiiMem: Unknown country. Wii boot process will be switched to European settings."); - filename = WII_EUR_SETTING_FILE; + filename = File::GetSysDirectory() + WII_SYS_DIR + DIR_SEP + WII_EUR_SETTING; break; } diff --git a/Source/TestSuite/WRTC/source/dolphintest_wrtc.cpp b/Source/TestSuite/WRTC/source/dolphintest_wrtc.cpp index d64d7d6777..fa70d8dc62 100644 --- a/Source/TestSuite/WRTC/source/dolphintest_wrtc.cpp +++ b/Source/TestSuite/WRTC/source/dolphintest_wrtc.cpp @@ -5,7 +5,7 @@ #include #include #include - +#include #include #include #include @@ -15,28 +15,7 @@ static void *xfb = NULL; u32 first_frame = 1; GXRModeObj *rmode; -void Initialise(); - - -int main() -{ - Initialise(); - - time_t wii_time; - wii_time = time(NULL); - - srand(wii_time); - - while(1) - { - wii_time = time(NULL); - std::cout<<"\x1b[10;0HWii RTC time is"<viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync(); } + +int main() +{ + Initialise(); + + time_t wii_time; +//settime(secs_to_ticks(time(NULL) - 0x386D4380)); + wii_time = time(NULL); + + std::cout << "\x1b[20;0HWii RTC time is " <