Commit Graph
13018 Commits
Author SHA1 Message Date
Henrik Rydgård 77133dd82c Fix a long-standing buffer overflow in savedata encryption
BuildHash pads the buffer up to its 16-byte aligned size with zeroes,
so there needs to be space for that. Or, we should just remove that
write, but let's do the smallest change that fixes the bug for now.
2024-04-07 11:42:51 +02:00
Henrik Rydgård 80a12ca102 Run the update menu item thing on the window thread too. 2024-04-06 12:18:28 +02:00
Henrik Rydgård 00acaa3299 Build the RAIntegration menu on the right thread 2024-04-06 12:14:53 +02:00
Henrik Rydgård 616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård 329628f448 Force the menubar to repaint after building the RA submenu 2024-04-05 22:55:31 +02:00
Henrik Rydgård 770e5b4f4a Fix shortcut translation so we don't eat Ctrl+C for RAIntegration windows 2024-04-05 22:41:08 +02:00
Henrik Rydgård d39b606931 RAIntegration: Fix memory writes 2024-04-05 21:00:12 +02:00
Henrik Rydgård 6f825e4ff3 Minor comment fix 2024-04-05 18:21:02 +02:00
Henrik Rydgård 8a1ec96626 Correctly submit the version string 2024-04-05 18:16:46 +02:00
Henrik Rydgård 5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård f54b5e03be Use remove_if correctly. 2024-04-05 17:28:55 +02:00
Henrik Rydgård d947de601e Apply minor cleanup from #18990
See #18990
2024-04-04 15:48:09 +02:00
Henrik Rydgård 9f9881dfe3 Move some code, minor cleanup.
See #18987
2024-04-04 12:30:41 +02:00
Henrik Rydgård d02227227b Merge pull request #18981 from GermanAizek/using-preinc-predec
[GPU/System/Thread/Core/FS] Simplify loops
2024-04-04 00:26:54 +02:00
Herman Semenov 4b92848bdc [System/Core] Simplify loops 2024-04-03 19:25:55 +03:00
Henrik Rydgård fc1d984b20 Update rcheevos, switch back to upstream. Avoid using rcheevos' hash.c, by computing game hashes ourselves. 2024-04-03 16:43:34 +02:00
Henrik Rydgård 814ba6ef44 Merge pull request #18973 from GermanAizek/fix-return-copies
Fixed return copies from functions and added const ref params
2024-04-03 00:21:48 +02:00
Henrik Rydgård 8720cc2640 Merge pull request #18975 from GermanAizek/protect-from-ub
Protect against undefined behavior when bitwise shift occurs with negative value
2024-04-03 00:18:59 +02:00
Herman Semenov 7b3c45508b Protect against undefined behavior when bitwise shift occurs with negative value 2024-04-02 19:31:04 +03:00
Herman Semenov 9e126b5f00 Fixed possible accidental conversion memsize type to strict 32 bit 2024-04-02 19:03:12 +03:00
Herman Semenov 17ecee1715 Fixed return copies from functions and const ref params 2024-04-02 18:37:00 +03:00
Henrik Rydgård 746696ab58 Merge pull request #18970 from GermanAizek/cleanup
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 13:55:27 +02:00
Herman Semenov 0f94ac9189 Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType() 2024-04-02 14:25:26 +03:00
Henrik Rydgård 971320cf66 Fix memory leak on shutdown in sceHeap 2024-04-02 12:02:19 +02:00
Herman Semenov cfb77ce83e [Core/HLE/Common/UI] Using C++17 make smart pointers 2024-04-01 18:12:27 +03:00
Henrik Rydgård 22c9437319 Fix wrong timer reading in MIPSDebugInterface, thanks Nemoumbra 2024-03-26 13:40:25 +01:00
Henrik Rydgård 8e93f9ad71 Fix typo in ini setting name. (little used setting, so..).
Change Challenge to Hardcore while at it.
2024-03-17 17:03:22 +01:00
Henrik Rydgård 3d2a0b931a Merge pull request #18931 from hrydgard/chd-hunk-size-fix
CHD: Fix unnecessary reloads of "hunks" during large reads
2024-03-16 22:01:26 +01:00
Henrik Rydgård d284ad4496 Remove warning for bad CHDs 2024-03-16 20:52:21 +01:00
Henrik Rydgård dad579615b CHD support: Fix accidental hunk re-reads with large chunks. 2024-03-16 20:38:23 +01:00
Henrik Rydgård 55974f61ad Fix a bunch of cases where we forgot to check for chd files 2024-03-13 09:31:31 +01:00
rofl0r 55ae3b1c3e FS: fix crash overreading data on flash0
noticed while using intrafont with some homebrew code.
when using musl libc's hardened malloc, the overread in the
code caused PPSSPP to segfault.
2024-02-26 17:17:33 +00:00
Bobby Smith 133e9e37ae Crash fix for some games 2024-02-23 01:37:07 +01:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Andrew Udvare 930b7f644d ffmpeg: Improved fix for checking if const AVCodec* is necessary 2024-02-05 14:37:09 -05:00
Henrik Rydgård b634e4154e Memory exception handler: Don't disassemble if ignoring the exception 2024-02-04 11:59:36 +01:00
Henrik Rydgård 2cd7b5cceb Hacky compat workaround for Resistance's ad-hoc mode
Slicing the slow memcpy calls messes up some timing so it crashes. Too
hard to fix for 1.17.1, so we do this :(
2024-02-04 00:43:48 +01:00
Henrik Rydgård 7d894b8283 Merge pull request #18813 from hrydgard/ufc-crash-work
Mali: Turn off any depth writes in the shader if depth test == NEVER
2024-02-02 11:51:30 +01:00
Henrik Rydgård e226ef6bd1 Merge pull request #18814 from hrydgard/hide-extracted-iso-warning
Hide the extracted ISO warning if ppsspp-index.lst is present.
2024-02-02 11:51:15 +01:00
Henrik Rydgård ca6e0f4f57 Hide the extracted ISO warning if ppsspp-index.lst is present. 2024-02-02 11:21:53 +01:00
Henrik Rydgård 6ce4933db8 Split the discard-stencil-bug flag into separate flags for Adreno and Mali 2024-02-02 11:11:31 +01:00
Henrik Rydgård c0bc6446dd Improve assert, cleanup 2024-02-01 16:33:01 +01:00
Henrik Rydgård 61bd01144e UI fixes 2024-01-31 23:17:51 +01:00
Henrik Rydgård 3831ec1921 Warn the user about bad CHDs
If they're not created with "chdman createdvd", they will perform really
badly.
2024-01-31 22:15:47 +01:00
Henrik Rydgård 14cd094535 Merge pull request #18800 from hrydgard/last-minute-fixes
Even more checks and fixes
2024-01-31 11:59:45 +01:00
Henrik Rydgård ce5f157040 More paranoia 2024-01-31 10:48:35 +01:00
Henrik Rydgård c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22:03 +01:00
Henrik Rydgård 7af6501a6f UI: ScrollView: Improve interaction with the scroll bar thingy, avoid accidental clicks 2024-01-31 09:37:11 +01:00
Henrik Rydgård fae1f4acd3 A null check and a locking simplification 2024-01-30 19:15:19 +01:00
Henrik Rydgård cf1fd714fd Merge pull request #18786 from hrydgard/release-inputs-on-pause
Release all keys on pause.
2024-01-29 19:21:22 +01:00