summaryrefslogtreecommitdiff
path: root/src/port/resource/type/CPU.cpp
blob: a2d528d2581aadfc895d86502fe0d623d53e839d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "CPU.h"
#include "libultraship/libultra/gbi.h"

namespace MK64 {
CPU::CPU() : Resource(std::shared_ptr<Ship::ResourceInitData>()) {
}

CPUBehaviour* CPU::GetPointer() {
    return CPUList.data();
}

size_t CPU::GetPointerSize() {
    return CPUList.size() * sizeof(CPUBehaviour);
}
} // namespace MK64