Commit graph

10135 commits

Author SHA1 Message Date
Henrik Rydgård
bdbf0b6590
Merge pull request #13532 from ANR2ME/adhoc_fix
Adhoc fix - Fix disconnection issue due to unexpected timeout
2020-10-11 13:24:39 +02:00
shenweip
2d68dc1c16 Workaround for date bug in Car Jack Streets. 2020-10-11 16:19:06 +08:00
ANR2ME
00b11115bb Fixed timeout issue due to the latest CoreTiming::GetGlobalTimeUsScaled() have a possibility to get smaller number than the previous one. 2020-10-11 13:34:30 +07:00
ANR2ME
59e2bab7ec Added some network-related missing error codes. 2020-10-11 09:57:56 +07:00
Henrik Rydgård
b28baed7d3 Create a safer variant of BlockTransferAllowCreateFB, enable for FF Type 0
Performance improvement by avoiding unnecessary readbacks.

New one is called IntraVRAMBlockTransferAllowCreateFB.

This one only allows intra-VRAM block transfers to happen on-GPU, such as the one this
game uses for bloom. Good chances to avoid missing stuff that actually requires
real readback, if there's any.
2020-10-10 23:59:51 +02:00
Henrik Rydgård
291f17e279
Merge pull request #13526 from hrydgard/double-precision-sincos-modulo
VFPU: Compute sines and cosines in double precision.
2020-10-10 19:07:38 +02:00
Henrik Rydgård
e97baa503a Avoid a division in time_now_d(). Minor optimizations. 2020-10-10 19:05:46 +02:00
Henrik Rydgård
16654d37ea VFPU: Compute sines and cosines in double precision.
Let's see if we can do without the special checks in double precision.
2020-10-10 17:45:42 +02:00
Henrik Rydgård
0ee996b2a0
Merge pull request #13520 from shenweip/memStickSize
Simulates memory stick size to get fixed free space.
2020-10-10 15:41:44 +02:00
Henrik Rydgård
1a78328e32 Add an option to the in-game dev menu to reset counts on limited logging
(making it start logging such things again, until it hits the limits yet again).
2020-10-10 15:10:46 +02:00
ANR2ME
8f24e427fb Prevent sceNetAdhocctlGetGameModeInfo from spamming Warn/Info Log on Street Supremacy 2020-10-10 01:43:01 +07:00
ANR2ME
731461ad4c Minor changes. 2020-10-10 01:01:35 +07:00
ANR2ME
ee96f5aef0 Return early to reduce indentation on AdhocMatching code 2020-10-10 01:01:24 +07:00
ANR2ME
93e2a1b586 Updated AdhocPollSocket implementation to fix Bleach Heat the Soul 7, Fate Unlimited Codes, Carnage Heart EXA 2020-10-10 01:01:12 +07:00
ANR2ME
2b6a573c3b Prevent getting too many Kernel Errors in the log during a Shutdown cleanups due to kernelObjects already cleared. 2020-10-10 01:00:59 +07:00
ANR2ME
8b2073cd7f Prevent Dissidia 012 from opening too many ports when failed to connect continuously. 2020-10-10 01:00:32 +07:00
ANR2ME
fabcb60c9a Making the workaround that fix Gundam vs Gundam Next Plus to be optional as it can improve connectivity on other games over high latency networks, and fix GvG Next Plus properly. 2020-10-10 01:00:32 +07:00
ANR2ME
90aca968ce Updated AdhocSocket struct, and an attempt to reduce stutters by increasing the send buffer a little bit. 2020-10-10 01:00:30 +07:00
ANR2ME
d628eb2ebd Fix Falcom games (ie. Ys vs. Sora no Kiseki, Vantage Master Portable) 2020-10-09 23:45:12 +07:00
ANR2ME
e475a0e6fa Removing ETIMEDOUT from non-blocking socket's error checks 2020-10-09 23:42:40 +07:00
ANR2ME
6d02e25318 Updated GameMode implementation to fix Bomberman, also improved performance on BattleZone. (+1 squashed commits)
Squashed commits:

[4a3168b2d] GameMode oops
2020-10-09 23:42:03 +07:00
ANR2ME
625faf719d Fix NetconfDialog timings to get a better message transitions. 2020-10-09 23:39:14 +07:00
ANR2ME
8a96112e1a Fix Apctl and Adhocctl state change timings to works properly. Which fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link properly. 2020-10-09 23:37:35 +07:00
ANR2ME
59f395f6ef Removing the workaround that fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link but having a side effect of 0.5 second lag 2020-10-09 13:41:36 +07:00
shenweip
af435794d7 Savedata:Skips non-directories in LISTALLDELETE mode.
Fixes https://github.com/hrydgard/ppsspp/issues/7685#issuecomment-703412467
2020-10-08 23:59:36 +08:00
shenweip
166035a87b Simulates memory stick size to get fixed free space.
Some games may be sensitive to the changes of free space of memory stick, and Android's free space is usually variable.
2020-10-08 23:51:56 +08:00
Henrik Rydgård
e566892766
Merge pull request #13512 from hrydgard/free-space-workaround
Add compat.ini setting to work around memstick size math problem in Harry Potter - Goblet of Fire
2020-10-06 06:33:35 +02:00
Henrik Rydgård
d798e23871 Buildfix - remove more Qt-specific code in TextureReplacer 2020-10-06 00:16:23 +02:00
Henrik Rydgård
92e6a91ae7 Add compat.ini setting to work around memstick size math problem in Harry Potter - Goblet of Fire
See issue #13266
2020-10-06 00:12:58 +02:00
Henrik Rydgård
868901252f Delete useless Qt-specific path in TextureReplacer 2020-10-05 22:36:55 +02:00
Henrik Rydgård
f3a9d040da Cap the global thread pool at 16 threads. 2020-10-05 21:05:25 +02:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
4310e35714 Windows: Remove the native project. 2020-10-05 06:56:10 +02:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f82754e8b4
Merge pull request #13507 from shenweip/savedata-2
Savedata:Improves  the performances according to some tests.
2020-10-04 19:49:18 +02:00
shenweip
81ad9a930a SaveData:Displays all saves like a PSP for LISTALLDELETE mode. 2020-10-05 00:00:28 +08:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
shenweip
c84f9542d7 Savedata:Corrects the performances when the data is broken. 2020-10-01 15:41:27 +08:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
shenweip
b8c1845e3a Savedata:Supports empty file name for save/load/delete. 2020-10-01 10:03:30 +08:00
shenweip
925944d5b2 Savedata:Improves the deleting functions. 2020-10-01 00:39:14 +08:00
Henrik Rydgård
65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00
Henrik Rydgård
4d3ec20082 ByteSwap.h results in a file name collision on some systems with byteswap.h. Fix this by merging it into BitSet.h. 2020-09-30 00:09:13 +02:00