Commit Graph
4453 Commits
Author SHA1 Message Date
ANR2ME bcbfefc337 making sure there are no alignment warnings related to member of packed struct on android 2020-07-20 19:13:00 +02:00
ANR2ME fa36c2edab Improved multiplayer stability regardless of I/O Timing method 2020-07-20 19:12:55 +02:00
ANR2ME d8186a8330 Fix i18n type 2020-07-20 18:20:06 +02:00
ANR2ME fb7d50e5c2 Improved multiplayer compatibility on some games (ie. GTA VCS, Naruto Ultimate Ninja Heroes 3, DBZ Shin Budokai 2, Power Stone Collection, .hack//Link, etc) 2020-07-20 18:09:16 +02:00
Henrik Rydgård af2ed00232 Merge pull request #13172 from hrydgard/generalized-multi-instance
Generalized multi-instance
2020-07-20 16:23:10 +02:00
Henrik Rydgård 253d82c0ae Merge pull request #13173 from hrydgard/callback-stuff-ANR2ME
Make sure to run callback on AdhocThread (extracted from #13132).
2020-07-20 16:22:25 +02:00
ANR2ME da5b54e630 Separate each AdhocMatching callback's buffer, since callback aren't immediately executed thus using shared memory address may corrupt previous data 2020-07-20 12:19:40 +02:00
ANR2ME 4f3b473f29 Making sure adhoc callbacks runs on AdhocThread 2020-07-20 12:18:28 +02:00
Henrik Rydgård df6d0a8ae7 PSP kernel: Improve logging when accessing bad kernel object handles. 2020-07-20 11:57:11 +02:00
Henrik Rydgård fa0b9dc1bc Make the instance counter global and initialized at startup.
Turn off config saving for secondary instances.
2020-07-20 11:40:54 +02:00
Henrik Rydgård fa683bf902 Remove some _XBOX stuff 2020-07-20 10:03:09 +02:00
Henrik Rydgård 9e08f24769 Apply a few lines from "Added UPnP support", removing extra WSA calls. 2020-07-20 10:03:09 +02:00
ANR2ME 0aa899ea0b Make PPSSPP_ID persistent every reset/changing game thus have persistent localhost IP 2020-07-20 10:03:09 +02:00
ANR2ME 46ebdebe05 Excluding Android from multiple-instance feature because i'm too lazy to learn ashmem :D 2020-07-20 10:03:09 +02:00
ANR2ME a35acdee43 Oops forgot to change this also for multiple-instance to work properly 2020-07-20 10:03:09 +02:00
ANR2ME 834d086876 Support multiple instance of localhost Multiplayer on 1 PC 2020-07-20 10:03:09 +02:00
Henrik Rydgård 89d563717e Merge pull request #13168 from hrydgard/assert-cleanup
Code cleanup: Asserts
2020-07-19 22:57:40 +02:00
sum2012 fa59be7e5d sceMpegAvcCsc: added range validity tests.
http://code.google.com/p/jpcsp/source/detail?r=3715
2020-07-19 22:14:00 +02:00
Henrik Rydgård c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Unknown W. Brackets 4ef63843d2 Display: Allow unthrottle to skip only flipping.
Before, it either flipped continuously, or forced frameskip on.  This
makes it so you can still draw frames, but skip actual flips.

This is useful when games draw things only in a single frame and reuse
later.  It's also useful when measuring speed improvements if you already
get 100% speed on a device.
2020-07-19 13:57:04 +02:00
Henrik Rydgård 1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Unknown W. Brackets 500107a540 Savedata: Correct AM/PM and time/date settings.
The defaults and exposed system param values were out of sync.
2020-07-14 18:59:23 -07:00
Henrik Rydgård b58ca8af12 Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
Unknown W. Brackets fc00b1b972 Kernel: Check thread switch PC in release.
Hopefully won't be noticeable, it's not that hot and very cheap.
2020-07-13 01:51:11 -07:00
Unknown W. Brackets 940066db68 Core: Track exception on bad jumps. 2020-07-12 21:59:08 -07:00
Unknown W. Brackets 04c15c82c9 Kernel: Add a bit more thread info on crash. 2020-07-12 21:22:47 -07:00
Henrik Rydgård 1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +02:00
Henrik Rydgård a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00
Henrik Rydgård efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård e184ed368d Kernel: Add a little paranoia check on chained mipscalls.
See #13057
2020-07-12 10:39:25 +02:00
twinaphex 649f12f8ab (Libretro) Buildfixes 2020-07-10 06:48:20 +02:00
Henrik Rydgård 893d26b679 Add some paranoid checks in AfterMatchingMipsCall::run().
Might work around a crash in #13057
2020-07-06 21:24:48 +02:00
Henrik Rydgård 177d697a15 Revert "Remove the I/O on Thread option - treat it as always on."
This reverts commit 9c40381db0.
2020-07-05 10:37:44 +02:00
Unknown W. Brackets e6b42f3921 SaveState: Prevent edge case on old save state.
If we load an old save state and it errors, could crash.
2020-06-29 19:40:54 -07:00
Unknown W. Brackets 20dd7db351 SaveState: Make sure to default init net data.
Otherwise, we may crash when loading a save state.
2020-06-29 19:37:55 -07:00
Henrik Rydgård df6f216056 Disable the "Duplicate frames" feature if frameskip != 0. Works around / Fixes #13068 2020-06-28 22:20:22 +02:00
Henrik Rydgård 4bcd8df079 Logging improvements and warning fixes.
(Had a super odd crash that I can't repro anymore in PPGe init...)
2020-06-22 22:46:03 +02:00
Henrik Rydgård 6b6520013f Merge pull request #13039 from sum2012/sceopenpsid_driver_minor
Add a sceOpenPSID_driver nid
2020-06-22 11:56:24 +02:00
Henrik Rydgård 282dfb1b08 Merge pull request #13038 from sum2012/sysclib_minor
Add sysclib_strncmp,sysclib_memmove
2020-06-21 12:49:10 +02:00
sum2012 d691627a35 oop 2020-06-21 11:36:02 +08:00
sum2012 fe68a21ea7 oop 2020-06-21 11:23:14 +08:00
sum2012 de947a6f61 Fix by @unknownbrackets 2020-06-21 11:21:11 +08:00
sum2012 a6b1f9d1f8 oop 2020-06-21 11:03:04 +08:00
sum2012 2fcb55a772 Add a sceOpenPSID_driver nid
Used in  "Shin Sangoku Musou 6 special" chinese patched game
2020-06-21 11:01:21 +08:00
sum2012 1f37ce65bb Add sysclib_strncmp,sysclib_memmove
Add a memory check in sysclib_strstr
ref:
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/SysclibForKernel.java#L107
2020-06-21 10:24:10 +08:00
sum2012 d19ee07ebf Some work in sceKernelPartitionTotalFreeMemSize,sceKernelPartitionMaxFreeMemSize
jpcsp ref:
https://github.com/jpcsp/jpcsp/commit/6d28d8799ce03e926ad8c764fd5deb8de165dc3b

We ignore ePartition now
2020-06-14 09:42:24 +08:00
Henrik Rydgård f71cf8f447 Merge pull request #13026 from sum2012/kernel_minor7
Add some ThreadManForKernel nids
2020-06-13 18:05:05 +02:00
sum2012 06b6821406 Add some ThreadManForKernel nids
Used in "Code Geass: Lost Colors" chinese patched game
2020-06-13 21:17:56 +08:00
sum2012 10112fa6a2 Change to @unknownbrackets logic
Avoid warnings
2020-06-13 20:46:35 +08:00
sum2012 d0d2834fc9 oop 2020-06-13 06:58:02 +08:00