add GetArchName
This commit is contained in:
@@ -6,6 +6,11 @@ class ArchHooks
|
|||||||
public:
|
public:
|
||||||
virtual ~ArchHooks() { }
|
virtual ~ArchHooks() { }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Return the general name of the architecture, eg. "Windows", "OSX", "Unix".
|
||||||
|
*/
|
||||||
|
virtual RString GetArchName() { return "generic"; }
|
||||||
|
|
||||||
/* This is called as soon as the loading window is shown, and we can
|
/* This is called as soon as the loading window is shown, and we can
|
||||||
* safely log. */
|
* safely log. */
|
||||||
virtual void DumpDebugInfo() { }
|
virtual void DumpDebugInfo() { }
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ class ArchHooks_Unix: public ArchHooks
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ArchHooks_Unix();
|
ArchHooks_Unix();
|
||||||
|
RString GetArchName() { return "Unix"; }
|
||||||
void DumpDebugInfo();
|
void DumpDebugInfo();
|
||||||
|
|
||||||
void SetTime( tm newtime );
|
void SetTime( tm newtime );
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ class ArchHooks_Win32: public ArchHooks
|
|||||||
public:
|
public:
|
||||||
ArchHooks_Win32();
|
ArchHooks_Win32();
|
||||||
~ArchHooks_Win32();
|
~ArchHooks_Win32();
|
||||||
|
RString GetArchName() { return "Windows"; }
|
||||||
void DumpDebugInfo();
|
void DumpDebugInfo();
|
||||||
void RestartProgram();
|
void RestartProgram();
|
||||||
bool CheckForMultipleInstances();
|
bool CheckForMultipleInstances();
|
||||||
|
|||||||
@@ -9,10 +9,13 @@ class ArchHooks_Xbox: public ArchHooks
|
|||||||
public:
|
public:
|
||||||
ArchHooks_Xbox();
|
ArchHooks_Xbox();
|
||||||
~ArchHooks_Xbox();
|
~ArchHooks_Xbox();
|
||||||
|
RString GetArchName() { return "Xbox"; }
|
||||||
|
|
||||||
//void MountInitialFilesystems( const RString &sDirOfExecutable );
|
//void MountInitialFilesystems( const RString &sDirOfExecutable );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// XXX: This stuff doesn't belong here. Hide it in ArchHooks.
|
||||||
|
|
||||||
// Read a 64 bit MSR register
|
// Read a 64 bit MSR register
|
||||||
inline void READMSRREG( UINT32 reg, LARGE_INTEGER *val )
|
inline void READMSRREG( UINT32 reg, LARGE_INTEGER *val )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ class ArchHooks_darwin : public ArchHooks
|
|||||||
public:
|
public:
|
||||||
ArchHooks_darwin();
|
ArchHooks_darwin();
|
||||||
~ArchHooks_darwin();
|
~ArchHooks_darwin();
|
||||||
|
RString GetArchName() { return "OSX"; }
|
||||||
void DumpDebugInfo();
|
void DumpDebugInfo();
|
||||||
RString GetPreferredLanguage();
|
RString GetPreferredLanguage();
|
||||||
void EnterTimeCriticalSection();
|
void EnterTimeCriticalSection();
|
||||||
|
|||||||
Reference in New Issue
Block a user