Merge branch 'master' into Font-alloc/free

This commit is contained in:
shenweip authored and GitHub committed 2020-03-16 08:16:50 +08:00
commit c7db6b6466
67 files changed
+1599 -978

No files matched your search

+4 -4
View File
@@ -349,10 +349,10 @@ private:
DISALLOW_COPY_AND_ASSIGN(LoadedFont);
};
class PostAllocCallback : public Action {
class PostAllocCallback : public PSPAction {
public:
PostAllocCallback() {}
static Action *Create() { return new PostAllocCallback(); }
static PSPAction *Create() { return new PostAllocCallback(); }
void DoState(PointerWrap &p) override {
auto s = p.Section("PostAllocCallback", 1, 2);
if (!s)
@@ -371,10 +371,10 @@ private:
u32 errorCodePtr_;
};
class PostOpenCallback : public Action {
class PostOpenCallback : public PSPAction {
public:
PostOpenCallback() {}
static Action *Create() { return new PostOpenCallback(); }
static PSPAction *Create() { return new PostOpenCallback(); }
void DoState(PointerWrap &p) override {
auto s = p.Section("PostOpenCallback", 1);
if (!s)