Fix build for Externals\Memcard Manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2736 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c1679c0d9e
commit
b00fd93f09
|
@ -265,6 +265,10 @@
|
|||
RelativePath=".\src\MCMmain.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\MCMmain.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="From Dolphin"
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef _MCM__
|
||||
#define _MCM__
|
||||
|
||||
void __Log(int logNumber, const char* text, ...){logNumber; text;}
|
||||
void __Logv(int log, int v, const char *format, ...){log; v; format;}
|
||||
|
||||
#include "MemcardManager.h"
|
||||
#include "Timer.h"
|
||||
|
||||
class MCMApp
|
||||
: public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit();
|
||||
|
||||
};
|
||||
#endif
|
|
@ -14,18 +14,7 @@
|
|||
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
void __Log(int logNumber, const char* text, ...){logNumber; text;}
|
||||
void __Logv(int log, int v, const char *format, ...){log; v; format;}
|
||||
|
||||
#include "MemcardManager.h"
|
||||
class MCMApp
|
||||
: public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit();
|
||||
|
||||
};
|
||||
#include "MCMmain.h"
|
||||
|
||||
IMPLEMENT_APP(MCMApp)
|
||||
|
||||
|
@ -54,3 +43,9 @@ bool MCMApp::OnInit()
|
|||
return true;
|
||||
}
|
||||
|
||||
u32 CEXIIPL::GetGCTime()
|
||||
{
|
||||
const u32 cJanuary2000 = 0x386D42C0; // Seconds between 1.1.1970 and 1.1.2000
|
||||
u64 ltime = Common::Timer::GetLocalTimeSinceJan1970();
|
||||
return ((u32)ltime - cJanuary2000);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue