mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
made changes in repo
hg-commit-id: 1145e088ee27
This commit is contained in:
parent
21caa525cc
commit
4d0797bc3a
30 changed files with 1748 additions and 0 deletions
37
music/pokeredmusicdisasm/AbstractData.cpp
Normal file
37
music/pokeredmusicdisasm/AbstractData.cpp
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#include "AbstractData.h"
|
||||
using namespace std;
|
||||
|
||||
AbstractData::AbstractData()
|
||||
{
|
||||
error = false;
|
||||
}
|
||||
|
||||
// This method must always return "" if true but can return
|
||||
// any other value for false
|
||||
string AbstractData::GenAsm()
|
||||
{
|
||||
if(error) return ";#Error";
|
||||
else return "";
|
||||
}
|
||||
|
||||
bool AbstractData::IsValid(unsigned char* byte)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AbstractData::Parse(unsigned char* byte)
|
||||
{
|
||||
// If it's not valid, don't even bother parsing
|
||||
if(!IsValid(byte)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned int AbstractData::Arguments()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool AbstractData::GetError()
|
||||
{
|
||||
return error;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue