Commit graph

13002 commits

Author SHA1 Message Date
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
Henrik Rydgård
1faef374a9 Strengthen the axis-threshold reduction for related axes a bit. See #17792 2024-01-29 18:50:08 +01:00
Henrik Rydgård
7920d3a44b Release all keys on pause.
Fixes #18767

Not sure about merging for the 1.17 series though, maybe someone really
likes to bring up the pause menu briefly while holding a direction.. we
could actually handle that with some extra logic.
2024-01-29 18:41:43 +01:00
Henrik Rydgård
04ea4987b0 Bring back the old combo behavior, make the new behavior a checkbox (strict combo order). 2024-01-29 18:06:31 +01:00
Henrik Rydgård
01c2ffd5f5 Add a missing thread name 2024-01-29 13:52:38 +01:00
Henrik Rydgård
aa7f8879a2 Buildfix 2024-01-29 12:29:23 +01:00
Henrik Rydgård
9979372a97 Assorted paranoia, get rid of an allocation in the audio loop 2024-01-29 10:37:38 +01:00
Henrik Rydgård
0d28d3e009
Merge pull request #18562 from LunaMoo/crypto
Add more crypto keys
2024-01-28 19:17:31 +01:00
Henrik Rydgård
7d99b6c1bc Add volume slider for retroachievements 2024-01-28 13:56:46 +01:00
Henrik Rydgård
a2e7712126 Crashfix in JIT disassembly UI. Add sanity check in WaitUntil 2024-01-27 13:28:09 +01:00
Henrik Rydgård
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård
157f262cd2 Make some timeouts a bit more visible in the code. Some should be re-evaluated. 2024-01-24 09:50:26 +01:00
Henrik Rydgård
3fae8dd547
Merge pull request #18743 from hrydgard/retroachievements-match-libretro
Change when we call rc_client_do_frame to something that matches libretro
2024-01-23 10:49:16 +01:00
Henrik Rydgård
2e16fd3bcc Fix fake game ID generation to work with scoped storage 2024-01-23 01:06:56 +01:00
Henrik Rydgård
6e587f50f3 Rework memstick moves between devices to copy, verify and then delete 2024-01-22 21:52:39 +01:00
Henrik Rydgård
ec411e0ecb Change when we call rc_client_do_frame to something that matches libretro
There's conflicting advice on when to do it, but to avoid people testing
their cheats twice, let's match as closely as we can.

This means that 30hz games will only have the callback run at 30hz.

The duplicate frames option may interfere, just like it may on libretro.
2024-01-22 19:35:26 +01:00
Henrik Rydgård
9d9f03ebb7 If quick move fails, fall back to a copy. 2024-01-22 19:30:04 +01:00