Commit Graph
14759 Commits
Author SHA1 Message Date
ANR2ME 228d17ef0c Reducing AdhocMatching events delay to prevent matchingEvents from piling up on Lord of Arcana. 2021-01-09 01:54:47 +07:00
ANR2ME 72549443e4 Send AdhocMatching Data from within HLE whenever possible instead of through matchingEvent Thread. 2021-01-09 01:52:29 +07:00
ANR2ME dbce1a4c1d Prevent access violation when running out of userMemory due to piling up AdhocMatching events. 2021-01-09 00:55:11 +07:00
Unknown W. Brackets b462946e7c Core: Properly stop on abrupt shutdown.
When dragging a game/dump/etc. into PPSSPP while running, we call shutdown
immediately.  This wasn't properly notifying Stop handlers.

Fixes #13884.
2021-01-07 23:14:54 -08:00
Unknown W. Brackets 3316633c60 Savedata: Reduce some noisy logging.
These aren't errors.
2021-01-05 07:21:41 -08:00
Henrik RydgårdandGitHub 71511adad6 Merge pull request #13868 from unknownbrackets/savedata
Savedata: Prevent garbage bleeding into save icons
2021-01-04 08:06:04 +01:00
Unknown W. Brackets 4573907098 Savedata: Prevent garbage bleeding into save icons.
This pads out the icon data and also fixes a potential buffer overflow
during image data copy.
2021-01-03 16:26:31 -08:00
Henrik RydgårdandGitHub f0784de9e3 Merge pull request #13866 from unknownbrackets/rewind
SaveState: Allow rewind on mobile
2021-01-03 22:56:01 +01:00
Unknown W. Brackets fd7d8a7c02 SaveState: Allow rewind on mobile.
It's in the settings, so it should work.  Mobile devices have a lot more
RAM than they did 7 years ago.
2021-01-03 10:42:40 -08:00
Henrik RydgårdandGitHub 678d881a1b Merge pull request #13855 from unknownbrackets/headless
Remove "Null" GPU and enable softgpu without a backend
2021-01-02 20:41:55 +01:00
Unknown W. Brackets 3c9ab13672 GPU: Remove NULL GPU.
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00
Unknown W. Brackets 64f3830668 Psmf: Fix a potential leak on shutdown. 2021-01-01 15:43:13 -08:00
Unknown W. Brackets cd6be61d98 Common: Correct some formatting type mismatches. 2021-01-01 15:43:13 -08:00
Henrik RydgårdandGitHub 3c59e2351c Merge pull request #13835 from hrydgard/report-small-memstick-fix
If we are reporting a small memstick size, but data is bigger, lie.
2021-01-01 10:16:56 +01:00
Henrik RydgårdandGitHub 7568ba9a76 Merge pull request #13843 from unknownbrackets/actions
Implement GitHub Actions build
2020-12-31 17:23:44 +01:00
Unknown W. Brackets 7b9431f463 Net: Remove static declarations from h file.
Were just causing warnings.
2020-12-31 08:12:48 -08:00
Henrik Rydgård bbdc997913 If we are reporting a small memstick size, but data is bigger, lie.
Should fix #13829
2020-12-29 13:23:15 +01:00
Henrik RydgårdandGitHub c5d90a7e50 Merge pull request #13831 from unknownbrackets/debugger
Debugger: Tweaks to memory read/write APIs
2020-12-29 10:51:02 +01:00
Unknown W. Brackets 06f8ab5a49 SaveState: Make event restoring more obvious.
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
Unknown W. Brackets 3325a27811 Debugger: Cleanup some syntax. 2020-12-28 11:13:54 -08:00
Unknown W. Brackets b5a6693019 Debugger: Add helper to read strings.
This is common, so let's expose as an API.
2020-12-28 11:13:26 -08:00
Unknown W. Brackets 7e5052bc9e Debugger: Add API to read/write chunks of memory.
Using base64 at this point to keep JSON.
2020-12-28 10:30:58 -08:00
Unknown W. Brackets f19d957c42 Debugger: Cleanup memory.read/write validation.
Required parameters fail automatically, better to keep the error
consistent.  This was sending two errors.

Additionally, don't allow it when no game is started yet.
2020-12-28 09:31:30 -08:00
Unknown W. Brackets 589d83d4da http: Prevent assert on bad websocket data. 2020-12-28 09:30:36 -08:00
AdamNandGitHub 8d2fdfc739 Merge pull request #13826 from ANR2ME/adhoc
Using MSG_TRUNC along with MSG_PEEK as a precaution of a possible buffer overflow when peeking recv buffer
2020-12-28 21:11:37 +07:00
shenweip a174390c95 Corrects the calculation of the return value when the callback of RingbufferPut returns a negative value. 2020-12-28 10:38:27 +08:00
ANR2ME a2a164b228 Using MSG_TRUNC along with MSG_PEEK as a precaution of a possible buffer overflow when peeking recv buffer. 2020-12-28 04:30:32 +07:00
Jan Beich 901c3c53de Instance: add missing headers more POSIX systems
Core/Instance.cpp:90:56: error: use of undeclared identifier 'PROT_READ'
        InstanceInfo *buf = (InstanceInfo *)mmap(0, BUF_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, hIDMapFile, 0);
                                                              ^
Core/Instance.cpp:90:68: error: use of undeclared identifier 'PROT_WRITE'
        InstanceInfo *buf = (InstanceInfo *)mmap(0, BUF_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, hIDMapFile, 0);
                                                                          ^
Core/Instance.cpp:90:80: error: use of undeclared identifier 'MAP_SHARED'
        InstanceInfo *buf = (InstanceInfo *)mmap(0, BUF_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, hIDMapFile, 0);
                                                                                      ^
Core/Instance.cpp:91:13: error: use of undeclared identifier 'MAP_FAILED'
        if (buf == MAP_FAILED) {
                   ^
Core/Instance.cpp:147:37: error: use of undeclared identifier 'O_CREAT'
        hIDMapFile = shm_open(ID_SHM_NAME, O_CREAT | O_RDWR, 0);
                                           ^
Core/Instance.cpp:147:47: error: use of undeclared identifier 'O_RDWR'
        hIDMapFile = shm_open(ID_SHM_NAME, O_CREAT | O_RDWR, 0);
                                                     ^
Core/Instance.cpp:185:3: error: use of undeclared identifier 'shm_unlink'
                shm_unlink(ID_SHM_NAME);     // If program exited or crashed before unlinked the shared memory object and it's contents will persist.
                ^
2020-12-27 05:25:05 +00:00
Jan Beich 7c5b6fc320 FileSystems: add missing header
Core/FileSystems/FileSystem.h:102:5: error: field has incomplete type 'tm'
        tm atime{};
           ^
/usr/include/wchar.h:111:8: note: forward declaration of 'tm'
struct tm;
       ^
2020-12-27 05:25:05 +00:00
Henrik RydgårdandGitHub 1ba290a454 Merge pull request #13817 from hrydgard/range-culling-compat
Split the DepthRangeHack compat setting into itself and DisableRangeCulling
2020-12-26 21:30:27 +01:00
Henrik Rydgård 16f629df3e Split the DepthRangeHack compat setting into itself and DisableRangeCulling
Most of our uses of DepthRangeHack was just to get DisableRangeCulling anyway -
and we don't want that on when not needed.

Also disables range culling for Splinter Cell Essentials (see #13035)

We really need to understand range culling better. This is a "ship hack" for 1.11.
2020-12-26 19:56:49 +01:00
Henrik RydgårdandGitHub 990c9650da Merge pull request #13802 from sum2012/mpeg_warmup
Mpeg: Add warm up staff
2020-12-26 17:44:55 +01:00
Henrik RydgårdandGitHub a13b4f751a Merge pull request #13814 from unknownbrackets/http-minor
http: Treat buffer full flush correctly
2020-12-26 15:10:22 +01:00
Unknown W. Brackets fd1807b4b9 http: Wait less time for IPv6 if IPv4 succeeds.
Should really make these requests asynchronous...
2020-12-25 22:24:51 -08:00
ANR2ME b10797db95 Fixed an issue where sometimes a player unable to join a host on Warriors Orochi 2 (should also fix similar issue on other games that use PDP/UDP on Windows) 2020-12-25 00:27:35 +07:00
ANR2ME a20567222a Close the port immediately when closing a socket. 2020-12-25 00:23:44 +07:00
Henrik RydgårdandGitHub 98e82c5c63 Merge pull request #13764 from shenweip/savedata-date
Savedata:Fixes incorrect date of savedata.
2020-12-23 21:01:27 +01:00
Henrik Rydgård 35ca3714e3 Revert "Cleaner exit on Windows. Will hopefully help #13325"
This reverts commit 92e648b73d.

Fixes #13796
2020-12-23 14:33:10 +01:00
sum2012 a5bd77061b Typo
Thanks @shenweip
2020-12-23 19:52:37 +08:00
sum2012 0572423e2b Fix Grand Theft Auto - Vice City Stories 2020-12-23 06:22:30 +08:00
sum2012 d56e23ec24 Mpeg: Add warm up staff
fix #13527
2020-12-22 23:39:41 +08:00
Henrik RydgårdandGitHub 52c6169a59 Merge pull request #13241 from ANR2ME/openpsid
Added some missing OpenPSID nids and some stub functions
2020-12-20 14:18:13 +01:00
Henrik Rydgård bdf36a4141 Temporary workaround for Wipeout Pure lens flare flicker.
See #13344.

Will try to figure out something better after the next release...
2020-12-20 13:04:28 +01:00
Henrik RydgårdandGitHub 45c7d4cd84 Merge pull request #13776 from sum2012/mpg_psmf_minor
Add stack value in scempeg and scepsmf from jpcsp
2020-12-20 12:54:05 +01:00
Henrik Rydgård e0aa187161 UWP: Fix dialog rendering (PPGe). 2020-12-20 12:11:02 +01:00
sum2012 d60bc6f32f Forget this one HLE_KERNEL_SYSCALL 2020-12-20 18:17:00 +08:00
sum2012 c8d92ca09d Add some ThreadManForKernel nis
Find in #13797
2020-12-20 18:14:38 +08:00
Henrik Rydgård 6e6f1693d9 UWP buildfix 2020-12-19 23:19:42 +01:00
Henrik Rydgård 92e648b73d Cleaner exit on Windows. Will hopefully help #13325 2020-12-19 20:31:58 +01:00
Henrik Rydgård 6c8ee35826 Crash screen: Add a very dangerous and inaccurate "Resume" function.
Not sure if there's much point really but maybe..
2020-12-19 20:27:39 +01:00