mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Common: Namespace GekkoDisassembler.cpp/.h
Moves more common code into the Common namespace where it belongs
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user