mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Buildfix.
Buildfix2.
This commit is contained in:
parent
c7db6b6466
commit
cefecb12b7
1 changed files with 8 additions and 7 deletions
|
@ -389,10 +389,10 @@ private:
|
||||||
u32 fontLibID_;
|
u32 fontLibID_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class PostOpenAllocCallback : public Action {
|
class PostOpenAllocCallback : public PSPAction {
|
||||||
public:
|
public:
|
||||||
PostOpenAllocCallback() {}
|
PostOpenAllocCallback() {}
|
||||||
static Action *Create() { return new PostOpenAllocCallback(); }
|
static PSPAction *Create() { return new PostOpenAllocCallback(); }
|
||||||
void DoState(PointerWrap &p) override {
|
void DoState(PointerWrap &p) override {
|
||||||
auto s = p.Section("PostOpenAllocCallback", 1);
|
auto s = p.Section("PostOpenAllocCallback", 1);
|
||||||
if (!s)
|
if (!s)
|
||||||
|
@ -412,10 +412,10 @@ private:
|
||||||
int fontIndex_;
|
int fontIndex_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class PostCharInfoAllocCallback : public Action {
|
class PostCharInfoAllocCallback : public PSPAction {
|
||||||
public:
|
public:
|
||||||
PostCharInfoAllocCallback() {}
|
PostCharInfoAllocCallback() {}
|
||||||
static Action *Create() { return new PostCharInfoAllocCallback(); }
|
static PSPAction *Create() { return new PostCharInfoAllocCallback(); }
|
||||||
void DoState(PointerWrap &p) override {
|
void DoState(PointerWrap &p) override {
|
||||||
auto s = p.Section("PostCharInfoAllocCallback", 1);
|
auto s = p.Section("PostCharInfoAllocCallback", 1);
|
||||||
if (!s)
|
if (!s)
|
||||||
|
@ -430,10 +430,10 @@ private:
|
||||||
u32 fontLibID_;
|
u32 fontLibID_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class PostCharInfoFreeCallback : public Action {
|
class PostCharInfoFreeCallback : public PSPAction {
|
||||||
public:
|
public:
|
||||||
PostCharInfoFreeCallback() {}
|
PostCharInfoFreeCallback() {}
|
||||||
static Action *Create() { return new PostCharInfoFreeCallback(); }
|
static PSPAction *Create() { return new PostCharInfoFreeCallback(); }
|
||||||
void DoState(PointerWrap &p) override {
|
void DoState(PointerWrap &p) override {
|
||||||
auto s = p.Section("PostCharInfoFreeCallback", 1);
|
auto s = p.Section("PostCharInfoFreeCallback", 1);
|
||||||
if (!s)
|
if (!s)
|
||||||
|
@ -684,7 +684,8 @@ public:
|
||||||
|
|
||||||
u32 GetOpenAllocatedAddress(int index) const {
|
u32 GetOpenAllocatedAddress(int index) const {
|
||||||
if(index < numFonts())
|
if(index < numFonts())
|
||||||
return openAllocatedAddresses_[index];
|
return openAllocatedAddresses_[index];
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetOpenAllocatedAddress(int index, u32 addr) {
|
void SetOpenAllocatedAddress(int index, u32 addr) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue