mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
PopupMultiChoiceDynamic: Check that valueStr_ isn't null before writing to it. Don't see how this happened.
This commit is contained in:
1 parent
a132b72ba1
commit
3148a8a437
1 file changed
+3
-1
@@ -272,7 +272,9 @@ public:
|
||||
|
||||
protected:
|
||||
void PostChoiceCallback(int num) override {
|
||||
*valueStr_ = choices_[num];
|
||||
if (valueStr_) {
|
||||
*valueStr_ = choices_[num];
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user