Commit graph

28742 commits

Author SHA1 Message Date
AdamN
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
Unknown W. Brackets
8bc1f3ee95
Merge pull request #13828 from shenweip/mpeg-fix3
Corrects the calculation of the return value when the callback of RingbufferPut returns a negative value.
2020-12-27 22:10:43 -05: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
Henrik Rydgård
c4d6c19725 Revert "Merge pull request #13807 from unknownbrackets/ios-buttons"
Temporary, see #13824

This reverts commit b40385396a, reversing
changes made to 98e82c5c63.
2020-12-27 17:06:53 +01:00
Unknown W. Brackets
f856d524d9
Merge pull request #13819 from jbeich/freebsd
Unbreak build on FreeBSD
2020-12-27 01:36:06 -05: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
Jan Beich
633ba355ee Linux: ignore missing MAP_NORESERVE on FreeBSD
Common/MemArenaPosix.cpp:111:71: error: use of undeclared identifier 'MAP_NORESERVE'
        void *base = mmap(0, EIGHT_GIGS, PROT_NONE, MAP_ANON | MAP_PRIVATE | MAP_NORESERVE, -1, 0);
                                                                             ^
2020-12-27 05:25:05 +00:00
Henrik Rydgård
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ård
990c9650da
Merge pull request #13802 from sum2012/mpeg_warmup
Mpeg: Add warm up staff
2020-12-26 17:44:55 +01:00
Henrik Rydgård
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
c7becb2c75 http: Treat buffer full flush correctly.
Unix platforms may fail send with EAGAIN instead of 0 bytes.
2020-12-25 22:30:43 -08: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
Henrik Rydgård
dee953af89 Fix layout problem on crash screen. Fixes #13808 2020-12-25 10:40:54 +01:00
AdamN
7d057762bb
Merge pull request #13809 from ANR2ME/adhoc_fix
[Adhoc] - Fixed an issue where sometimes a player unable to join a host on Warriors Orochi 2
2020-12-25 10:48:04 +07: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ård
b40385396a
Merge pull request #13807 from unknownbrackets/ios-buttons
iOS: Expose iOS 12.1+ buttons
2020-12-23 22:22:38 +01:00
Henrik Rydgård
98e82c5c63
Merge pull request #13764 from shenweip/savedata-date
Savedata:Fixes incorrect date of savedata.
2020-12-23 21:01:27 +01:00
Unknown W. Brackets
05b05618e2 iOS: Expose iOS 12.1+ buttons. 2020-12-23 08:49:35 -08: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ård
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
fd4f1ad305 Android: Fix text color in dialogs by just inheriting from the DeviceDefault theme.
Fixes #13731
2020-12-20 13:59:05 +01:00
Henrik Rydgård
148625591d UWP StorageFileLoader: Remove some excessive logging.
Some warning fixes in App.cpp.
2020-12-20 13:19:00 +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ård
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
e4cecabbf3 UWP: Work around another race condition in StorageFileLoader.
It really needs a rewrite and better error handling but that's for
later.
2020-12-20 12:36:32 +01:00
Henrik Rydgård
e0aa187161 UWP: Fix dialog rendering (PPGe). 2020-12-20 12:11:02 +01:00
Henrik Rydgård
e05c3ef63f UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 11:40:02 +01:00
Henrik Rydgård
1b9783b811
Merge pull request #13795 from hrydgard/uwp-browser-fixes
UWP file browser fixes
2020-12-20 11:39:48 +01:00
Henrik Rydgård
c2e98938b1
Merge pull request #13798 from sum2012/kernel_minor1
Add some ThreadManForKernel nids
2020-12-20 11:39:38 +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
ddb5462bce Folder browsing on main screen: Prevent navigating "up" when you can't. 2020-12-20 01:47:52 +01:00
Henrik Rydgård
2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård
aa2f102a0a PathBrowser: Show simplified version of paths under the memstick dir. 2020-12-20 01:00:07 +01:00
Henrik Rydgård
d771dca3da Fix navigation upwards from a pinned game streaming folder. Fixes #13224. 2020-12-20 00:49:56 +01:00
Henrik Rydgård
89d20e4ab8 Update ffmpeg submodule to a named (identical) commit, to not confuse some buildbots 2020-12-20 00:30:52 +01:00
Henrik Rydgård
a272deeba3 Postprocessing shader, GL: Fix shader version bug. Fixes #13779 2020-12-19 23:45:31 +01:00
Henrik Rydgård
6e6f1693d9 UWP buildfix 2020-12-19 23:19:42 +01:00
Henrik Rydgård
7ca0f6a1c0 D3D11: Avoid the debug layer hazard tracker after blits. 2020-12-19 20:31:58 +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
05bfac0ef0 Misc logging improvements 2020-12-19 20:31:58 +01:00
Henrik Rydgård
e6c3d72226
Merge pull request #13794 from hrydgard/crash-screen-improvements
Improvements to crash screen.
2020-12-19 20:30:35 +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