summaryrefslogtreecommitdiff
path: root/src/port/resource/type/Script.cpp
blob: 71ddc7680a56f3312f4639113b1c41c598491fc1 (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();
}
}