mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Buildfix
This commit is contained in:
1 parent
3ef2ed32f3
commit
9c5cda3487
3 files changed
+3
-9
No files matched your search
+2
-2
@@ -573,7 +573,7 @@ void StoreScreen::CreateViews() {
|
||||
|
||||
ProductItemView *StoreScreen::GetSelectedItem() {
|
||||
for (int i = 0; i < scrollItemView_->GetNumSubviews(); ++i) {
|
||||
ProductItemView *item = dynamic_cast<ProductItemView *>(scrollItemView_->GetViewByIndex(i));
|
||||
ProductItemView *item = static_cast<ProductItemView *>(scrollItemView_->GetViewByIndex(i));
|
||||
if (!item) {
|
||||
continue;
|
||||
}
|
||||
@@ -585,7 +585,7 @@ ProductItemView *StoreScreen::GetSelectedItem() {
|
||||
}
|
||||
|
||||
UI::EventReturn StoreScreen::OnGameSelected(UI::EventParams &e) {
|
||||
ProductItemView *item = dynamic_cast<ProductItemView *>(e.v);
|
||||
ProductItemView *item = static_cast<ProductItemView *>(e.v);
|
||||
if (!item)
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user