NetPlay: completely redone - should be somewhat usable when using Single Core and DSP LLE Plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5425 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
1796cbc917
commit
a6d6d27328
16 files changed
+1544
-2497
No files matched your search
@@ -415,7 +415,12 @@ u32 CEXIIPL::GetGCTime()
|
||||
u64 ltime = Common::Timer::GetTimeSinceJan1970();
|
||||
return ((u32)ltime - cJanuary2000 - Bias);
|
||||
#else
|
||||
u64 ltime = Common::Timer::GetLocalTimeSinceJan1970();
|
||||
|
||||
// hack in some netplay stuff
|
||||
u64 ltime = GetNetGCTime();
|
||||
if (0 == ltime)
|
||||
ltime = Common::Timer::GetLocalTimeSinceJan1970();
|
||||
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii)
|
||||
return ((u32)ltime - cJanuary2000 - cWiiBias/* + 32434790*/);
|
||||
else
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
void DoState(PointerWrap &p);
|
||||
|
||||
static u32 GetGCTime();
|
||||
static u32 GetNetGCTime();
|
||||
|
||||
static void Descrambler(u8* data, u32 size);
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user