Merge branch 'feature/savestates-2' of https://github.com/hamish-milne/citra into feature/savestates-2
This commit is contained in:
commit
86600e90d3
2 changed files with 3 additions and 2 deletions
|
@ -31,11 +31,11 @@ public:
|
||||||
BufferMem() = default;
|
BufferMem() = default;
|
||||||
BufferMem(u32 size) : data(std::vector<u8>(size)) {}
|
BufferMem(u32 size) : data(std::vector<u8>(size)) {}
|
||||||
|
|
||||||
virtual u8* GetPtr() {
|
u8* GetPtr() override {
|
||||||
return data.data();
|
return data.data();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual u32 GetSize() const {
|
u32 GetSize() const override {
|
||||||
return static_cast<u32>(data.size());
|
return static_cast<u32>(data.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,7 @@ private:
|
||||||
void serialize(Archive& ar, const unsigned int) {
|
void serialize(Archive& ar, const unsigned int) {
|
||||||
ar& pos;
|
ar& pos;
|
||||||
ar& quat;
|
ar& quat;
|
||||||
|
ar& color;
|
||||||
ar& tc0;
|
ar& tc0;
|
||||||
ar& tc1;
|
ar& tc1;
|
||||||
ar& tc0_w;
|
ar& tc0_w;
|
||||||
|
|
Loading…
Reference in a new issue