Commit Graph

45601 Commits

Author SHA1 Message Date
Henrik Rydgård 722178e205 Merge pull request #21170 from GermanAizek/fix-32bit-overflow-2038-year
timeutil: fix 32-bit overflow for avoiding year 2038 problem
2026-01-29 09:24:34 +01:00
Herman Semenoff f655ddc622 timeutil: fix 32-bit overflow for avoiding year 2038 problem
Affected Unix and Windows platforms

References:
- https://en.wikipedia.org/wiki/Year_2038_problem
- https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
2026-01-29 04:22:27 +03:00
Henrik Rydgård e71e1d260e Merge pull request #21169 from hrydgard/more-umd-video-detection
Make UMD_VIDEO discs with game data detect as games.
2026-01-29 02:01:01 +01:00
Henrik Rydgård 9b0d205de3 Slightly more UB-safe, in theory. In practice, doubt it. 2026-01-29 00:33:03 +01:00
Henrik Rydgård 4fb3a0e370 Bubble up more error messages to the user 2026-01-29 00:25:25 +01:00
Henrik Rydgård 8a431e2ec2 Add zoom feature to framebuffer list view in ImDebugger 2026-01-28 23:49:00 +01:00
Henrik Rydgård 8f76b191cd More improvements to ISO detection 2026-01-28 23:48:49 +01:00
Henrik Rydgård 07d47a8cc1 Make UMD_VIDEO discs with game data detect as games.
Add special case for region for wacky STEALTH + Wipeout Pure disc, see #21166
2026-01-28 23:29:44 +01:00
Henrik Rydgård 8de5b45bbe Merge pull request #21167 from sys27/bugfix/fix-exit-when-controller-connected
Fix #20356 - Flatpak application doesn't close until controller is unplugged
2026-01-28 23:16:45 +01:00
Henrik Rydgård 17ff7f7c8a Merge pull request #21168 from warmenhoven/warmenhoven/pr/libretro-build-fix
libretro: build fix
2026-01-28 16:47:17 +01:00
Henrik Rydgård 309163a1c3 Merge pull request #21166 from hrydgard/more-iso-detection
Improve handling of the UMD VIDEO error case (no, we still don't support them)
2026-01-28 16:30:23 +01:00
Dmytro Kyshchenko 73e0bb651e Fix #20356 - Flatpak application doesn't close until controller is unplugged.
When the controller is connected SLD sends a lot of events (`SDL_JOYAXISMOTION` and etc.),
so PPSSPP is stuck in the loop to process these events. Fixed by duplicating the `if` statement
to check whether the quit was requested inside the loop.
2026-01-28 16:40:01 +02:00
Henrik Rydgård 19a6232b48 Improve handling of the UMD VIDEO error case (no, we still don't support them) 2026-01-28 14:32:38 +01:00
Henrik Rydgård b5109db434 Merge pull request #21164 from hrydgard/misc
Improves file identification and the handling of unknown ISO files on the main screen
2026-01-28 12:11:41 +01:00
Henrik Rydgård 1c80e93070 Improve the appearance of unsupported ISO files 2026-01-28 11:00:04 +01:00
Henrik Rydgård 24f2deeb2e Improve file identification.
Fixes #21154
2026-01-28 10:21:09 +01:00
Henrik Rydgård 471b9846e0 Delete unused function 2026-01-28 09:22:35 +01:00
Eric Warmenhoven 58eaf56c5e libretro: build fix
gcc9 and the version of msvc19 that the libretro builders use don't
have _mm_storeu_si32. Using _m_cvtsi128_si32 followed by memcpy is
picked up by compilers that support _mm_storeu_si32 as being the same
and they generate the same assembly, so this is no harm to them.
2026-01-28 00:15:35 -05:00
Henrik Rydgård a51c40d5d2 Merge pull request #21163 from hrydgard/linux-fixes
SDL text drawer: Fix memory leak, add additional checks
2026-01-28 00:06:38 +01:00
Henrik Rydgård c77f68d005 Some additional fixes in TextDrawerSDL 2026-01-27 20:10:40 +01:00
Henrik Rydgård 24283d3e7f Fix memory leak in TextDrawerSDL (sigh, variable shadowing) 2026-01-27 20:05:24 +01:00
Henrik Rydgård e3c943de83 Merge pull request #21160 from Kethen/postoffice_fixes
aemu_postoffice: do not aggressively write recv buffers
2026-01-26 20:12:17 +01:00
Katharine Chui e5b9c17c1b aemu_postoffice: do not aggressively write recv buffers
some games lie about buffer sizes, and will crash if the whole
buffer was blindly written
2026-01-26 19:00:42 +01:00
Henrik Rydgård 131c525b56 Merge pull request #21158 from hrydgard/android-pad-connect
Android and iOS pad connect/disconnect events
2026-01-26 13:24:09 +01:00
Henrik Rydgård c7a7db3bbe iOS: Track controller connect/disconnect, reset controls on disconnect. 2026-01-26 11:44:30 +01:00
Henrik Rydgård 25d216a20a Release all keys and axes on game controller disconnect on Android 2026-01-26 11:08:55 +01:00
Henrik Rydgård 41bb9a04b3 Add visual notifications about game controller connect/disconnect 2026-01-26 10:57:41 +01:00
Henrik Rydgård dccca3c441 Android: Track device disconnection 2026-01-25 23:02:12 +01:00
Henrik Rydgård e3aec526ec Fix some lints 2026-01-25 23:02:12 +01:00
Henrik Rydgård e7aba8f153 Hook up an InputDeviceListener, and just have it log 2026-01-25 23:02:12 +01:00
Henrik Rydgård 0905e31c3a Merge pull request #21157 from hrydgard/misc-fixes
Controller autoconfigure improvements
2026-01-25 23:01:52 +01:00
Henrik Rydgård 9c582e4d45 Release all buttons and axes on DInput device disconnection 2026-01-25 16:26:16 +01:00
Henrik Rydgård 0543b34a27 Windows: Make joystick autoconfigure work with DualSense / DualShock devices 2026-01-25 16:18:53 +01:00
Henrik Rydgård 7d4cfdaf91 KeyMap: Add NotifyPadDisconnected, minor cleanup 2026-01-25 15:36:15 +01:00
Henrik Rydgård 756d161070 Add a warning to control autoconfigure 2026-01-25 15:26:53 +01:00
Henrik Rydgård 6016a02010 Minor refactor of XInputDevice 2026-01-25 15:26:29 +01:00
Henrik Rydgård 34938e3de6 Move Notice to Common/UI 2026-01-25 15:10:26 +01:00
Henrik Rydgård 90e9bff405 XInput: Release all buttons and axes on disconnect. Correct bug in GameButton. 2026-01-25 14:00:23 +01:00
Henrik Rydgård 53c5f1875c Minor cleanup of Android vulkan code 2026-01-24 10:54:46 +01:00
Henrik Rydgård 1bef13c227 Use faster method for packing the UI atlas 2026-01-24 10:44:00 +01:00
Henrik Rydgård 68a8ba856f Warning fix, delete unused code 2026-01-24 10:43:48 +01:00
Henrik Rydgård c3897fef4c Finish up #21151
See #21151
2026-01-24 10:42:43 +01:00
Henrik Rydgård bab01f1b16 Merge pull request #21153 from hrydgard/reset-fix
Make sure that resetting overrides auto load savestate
2026-01-24 01:49:14 +01:00
Henrik Rydgård 3a330889db Merge pull request #21151 from hrydgard/brave-story-performance-hack
Brave Story: Hack to make the bloom effect run much more efficiently
2026-01-24 00:55:57 +01:00
Henrik Rydgård 24acce0f7c Make sure that resetting overrides auto load savestate
Fixes #21152
2026-01-23 23:39:56 +01:00
Henrik Rydgård 60a065b242 Make the Brave Story hack safer, hide it behind a compat flag. 2026-01-23 23:39:11 +01:00
Henrik Rydgård 732288c03a Brave Story: Hack to make the bloom effect run much more efficiently.
Fixes #19820

Not ready for merge, it needs more checks and maybe a compat flag.
2026-01-23 23:13:04 +01:00
Henrik Rydgård 59fc25804f Merge pull request #21150 from hrydgard/even-more-misc
Misc: Add button to reset played time, preserve the non-maximized window size, fix rendering bug in Photo Kano
2026-01-23 19:20:05 +01:00
Henrik Rydgård 46e82f3c63 Game screen: Add a button to reset the played time counter 2026-01-23 18:54:22 +01:00
Henrik Rydgård 8728be5455 Fix joining TRIANGLE_LIST draws with a vertex count non-divisible by 3
Fixes #7503
2026-01-23 18:54:22 +01:00