mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
Made several large upgrades to Music Disassembler
hg-commit-id: 0b180a6e2ec5
This commit is contained in:
parent
25e09f5066
commit
bf19682979
7 changed files with 348 additions and 89 deletions
29
music/pokeredmusicdisasm/UnkCode.h
Normal file
29
music/pokeredmusicdisasm/UnkCode.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef UNKCODE_H
|
||||
#define UNKCODE_H
|
||||
|
||||
#include "AbstractData.h"
|
||||
|
||||
// Represents an unknown opcode
|
||||
class UnkCode : public AbstractData
|
||||
{
|
||||
public:
|
||||
// Constructors
|
||||
UnkCode();
|
||||
UnkCode(unsigned char* byte); // Parse Immidiately
|
||||
UnkCode(unsigned char code, bool); // Set Value
|
||||
|
||||
// Getters / Setters
|
||||
unsigned char GetCode();
|
||||
void SetCode(unsigned char value);
|
||||
|
||||
// Re-implemented
|
||||
virtual std::string GenAsm();
|
||||
virtual bool Parse(unsigned char* byte);
|
||||
virtual bool IsValid(unsigned char* byte);
|
||||
virtual unsigned int Arguments();
|
||||
|
||||
private:
|
||||
unsigned char code;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue