Commit Graph
39166 Commits
Author SHA1 Message Date
Unknown W. Brackets 37eda85c52 Build: Add GitHub Actions workflow. 2020-12-31 00:21:09 -08:00
Unknown W. Brackets c73d8ab1d0 Headless: Add specific GitHub Actions logging. 2020-12-31 00:21:09 -08:00
Unknown W. Brackets af7c97d624 Headless: Cleanup TeamCity handling in test.py. 2020-12-31 00:21:09 -08:00
nassau-tk 9fe10351c4 Euro characters Fixed in jpn0.pgf. 2020-12-31 10:44:49 +09:00
Henrik Rydgård dbce1a9eda Merge pull request #13821 from Panderner/BlockTransferAllowCreateFB-Ultimate-Ninja-Impact-attempt
An attempt to add BlockTransferAllowCreateFB for Naruto Shippuden: Ultimate Ninja Impact
2020-12-30 15:01:44 +01:00
Unknown W. Brackets 5909225675 Merge pull request #13838 from dm2912/new_branch
Ipega PG-9118 Controller > gamecontrollerdb.txt
2020-12-29 21:48:45 -05:00
Dave 2f1e568d97 Ipega PG-9118
modified:   assets/gamecontrollerdb.txt
2020-12-30 01:26:35 +00: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ård 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 711dd0e8ac Debugger: Correct a type error. 2020-12-28 20:16:49 -08: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
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
Panderner 12e7a394af An attempt to add BlockTransferAllowCreateFB for Naruto Shippuden: Ultimate Ninja Impact 2020-12-27 14:51:58 +08: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