mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Screenshot: Provide common params properly.
This commit is contained in:
parent
fa320599dc
commit
d066b39334
2 changed files with 7 additions and 0 deletions
|
@ -128,3 +128,9 @@ void PSPScreenshotDialog::DoState(PointerWrap &p) {
|
|||
Do(p, params_);
|
||||
}
|
||||
}
|
||||
|
||||
pspUtilityDialogCommon *PSPScreenshotDialog::GetCommonParam() {
|
||||
if (params_.IsValid())
|
||||
return ¶ms_->base;
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ public:
|
|||
virtual int Update(int animSpeed) override;
|
||||
virtual int ContStart();
|
||||
virtual void DoState(PointerWrap &p) override;
|
||||
virtual pspUtilityDialogCommon *GetCommonParam() override;
|
||||
|
||||
protected:
|
||||
// TODO: Manage status correctly.
|
||||
|
|
Loading…
Add table
Reference in a new issue