summaryrefslogtreecommitdiff
path: root/src/port/resource/type/Script.cpp
blob: 9d3309a6bb6701ca0211b68a4452ae7fb6eae5c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "Script.h"

namespace SF64 {
uint16_t** Script::GetPointer() {
    return mScripts.data();
}

size_t Script::GetPointerSize() {
    return sizeof(uint16_t*) * mScripts.size();
}

uint16_t* ScriptCMDs::GetPointer() {
    return mCommands.data();
}

size_t ScriptCMDs::GetPointerSize() {
    return sizeof(uint16_t) * mCommands.size();
}
} // namespace SF64