add GetArchName
This commit is contained in:
@@ -6,6 +6,11 @@ class ArchHooks
|
||||
public:
|
||||
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
|
||||
* safely log. */
|
||||
virtual void DumpDebugInfo() { }
|
||||
|
||||
@@ -6,6 +6,7 @@ class ArchHooks_Unix: public ArchHooks
|
||||
{
|
||||
public:
|
||||
ArchHooks_Unix();
|
||||
RString GetArchName() { return "Unix"; }
|
||||
void DumpDebugInfo();
|
||||
|
||||
void SetTime( tm newtime );
|
||||
|
||||
@@ -9,6 +9,7 @@ class ArchHooks_Win32: public ArchHooks
|
||||
public:
|
||||
ArchHooks_Win32();
|
||||
~ArchHooks_Win32();
|
||||
RString GetArchName() { return "Windows"; }
|
||||
void DumpDebugInfo();
|
||||
void RestartProgram();
|
||||
bool CheckForMultipleInstances();
|
||||
|
||||
@@ -9,10 +9,13 @@ class ArchHooks_Xbox: public ArchHooks
|
||||
public:
|
||||
ArchHooks_Xbox();
|
||||
~ArchHooks_Xbox();
|
||||
RString GetArchName() { return "Xbox"; }
|
||||
|
||||
//void MountInitialFilesystems( const RString &sDirOfExecutable );
|
||||
};
|
||||
|
||||
// XXX: This stuff doesn't belong here. Hide it in ArchHooks.
|
||||
|
||||
// Read a 64 bit MSR register
|
||||
inline void READMSRREG( UINT32 reg, LARGE_INTEGER *val )
|
||||
{
|
||||
|
||||
@@ -9,6 +9,7 @@ class ArchHooks_darwin : public ArchHooks
|
||||
public:
|
||||
ArchHooks_darwin();
|
||||
~ArchHooks_darwin();
|
||||
RString GetArchName() { return "OSX"; }
|
||||
void DumpDebugInfo();
|
||||
RString GetPreferredLanguage();
|
||||
void EnterTimeCriticalSection();
|
||||
|
||||
Reference in New Issue
Block a user