mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Couple warning fixes.
This commit is contained in:
parent
3ac405ab5d
commit
5dc36abbf7
@ -982,7 +982,7 @@ public:
|
||||
GameInfoBGView(const std::string &gamePath, UI::LayoutParams *layoutParams) : InertView(layoutParams), gamePath_(gamePath) {
|
||||
}
|
||||
|
||||
void Draw(UIContext &dc) {
|
||||
void Draw(UIContext &dc) override {
|
||||
// Should only be called when visible.
|
||||
std::shared_ptr<GameInfo> ginfo = g_gameInfoCache->GetInfo(dc.GetDrawContext(), gamePath_, GAMEINFO_WANTBG);
|
||||
dc.Flush();
|
||||
|
@ -42,7 +42,7 @@ private:
|
||||
class OnScreenMessagesView : public UI::InertView {
|
||||
public:
|
||||
OnScreenMessagesView(UI::LayoutParams *layoutParams = nullptr) : UI::InertView(layoutParams) {}
|
||||
void Draw(UIContext &dc);
|
||||
void Draw(UIContext &dc) override;
|
||||
std::string DescribeText() const override;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user