Common: Namespace GekkoDisassembler.cpp/.h

Moves more common code into the Common namespace where it belongs
This commit is contained in:
Lioncash
2018-05-25 16:29:56 -04:00
parent 3d44dc3981
commit b60ad2425d
10 changed files with 20 additions and 12 deletions

View File

@ -38,6 +38,8 @@
#include "Common/GekkoDisassembler.h"
#include "Common/StringUtil.h"
namespace Common
{
// version/revision
#define PPCDISASM_VER 1
#define PPCDISASM_REV 6
@ -2315,3 +2317,4 @@ const char* GekkoDisassembler::GetFPRName(u32 index)
return nullptr;
}
} // namespace Common

View File

@ -40,6 +40,8 @@
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
namespace Common
{
class GekkoDisassembler final
{
public:
@ -152,3 +154,4 @@ private:
static unsigned short m_sreg; // Register in load/store instructions
static u32 m_displacement; // Branch- or load/store displacement
};
} // namespace Common