mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Achievements: Use a 256-byte rich presence buffer to avoid an rcheevos over-read
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
932d1e3b36
commit
ffc0a274a6
1 file changed
+1
-1
+1
-1
@@ -562,7 +562,7 @@ void GamePauseScreen::CreateViews() {
|
||||
// TODO: active subset?
|
||||
saveDataScrollItems->Add(new GameAchievementSummaryView(0));
|
||||
|
||||
char buf[512];
|
||||
char buf[256];
|
||||
size_t sz = Achievements::GetRichPresenceMessage(buf, sizeof(buf));
|
||||
if (sz != (size_t)-1) {
|
||||
saveDataScrollItems->Add(new TextView(std::string_view(buf, sz), FLAG_WRAP_TEXT, true, new UI::LinearLayoutParams(Margins(5, 5))));
|
||||
|
||||
Reference in new issue
Block a user