(They were probably holdovers from copying the code from the NCSF creation tools.)
| ... | ... |
@@ -84,24 +84,6 @@ SBNK::SBNK(const std::string &fn) : filename(fn), instruments(), info() |
| 84 | 84 |
memset(this->waveArc, 0, sizeof(this->waveArc)); |
| 85 | 85 |
} |
| 86 | 86 |
|
| 87 |
-SBNK::SBNK(const SBNK &sbnk) : filename(sbnk.filename), instruments(sbnk.instruments), info(sbnk.info) |
|
| 88 |
-{
|
|
| 89 |
- memcpy(this->waveArc, sbnk.waveArc, sizeof(this->waveArc)); |
|
| 90 |
-} |
|
| 91 |
- |
|
| 92 |
-SBNK &SBNK::operator=(const SBNK &sbnk) |
|
| 93 |
-{
|
|
| 94 |
- if (this != &sbnk) |
|
| 95 |
- {
|
|
| 96 |
- this->filename = sbnk.filename; |
|
| 97 |
- this->instruments = sbnk.instruments; |
|
| 98 |
- |
|
| 99 |
- memcpy(this->waveArc, sbnk.waveArc, sizeof(this->waveArc)); |
|
| 100 |
- this->info = sbnk.info; |
|
| 101 |
- } |
|
| 102 |
- return *this; |
|
| 103 |
-} |
|
| 104 |
- |
|
| 105 | 87 |
void SBNK::Read(PseudoFile &file) |
| 106 | 88 |
{
|
| 107 | 89 |
uint32_t startOfSBNK = file.pos; |
| ... | ... |
@@ -14,23 +14,6 @@ SSEQ::SSEQ(const std::string &fn) : filename(fn), data(), bank(nullptr), info() |
| 14 | 14 |
{
|
| 15 | 15 |
} |
| 16 | 16 |
|
| 17 |
-SSEQ::SSEQ(const SSEQ &sseq) : filename(sseq.filename), data(sseq.data), bank(sseq.bank), info(sseq.info) |
|
| 18 |
-{
|
|
| 19 |
-} |
|
| 20 |
- |
|
| 21 |
-SSEQ &SSEQ::operator=(const SSEQ &sseq) |
|
| 22 |
-{
|
|
| 23 |
- if (this != &sseq) |
|
| 24 |
- {
|
|
| 25 |
- this->filename = sseq.filename; |
|
| 26 |
- this->data = sseq.data; |
|
| 27 |
- |
|
| 28 |
- this->bank = sseq.bank; |
|
| 29 |
- this->info = sseq.info; |
|
| 30 |
- } |
|
| 31 |
- return *this; |
|
| 32 |
-} |
|
| 33 |
- |
|
| 34 | 17 |
void SSEQ::Read(PseudoFile &file) |
| 35 | 18 |
{
|
| 36 | 19 |
uint32_t startOfSSEQ = file.pos; |