Unknown W. Brackets
8fe9bedb78
Module: Keep the state for each import.
...
On exports, we iterate modules then imports.
But on imports, we iterate the exports to find the module, so we need to
keep the state around higher up.
2021-01-16 19:32:37 -08:00
Henrik Rydgård
720c5b4176
Merge pull request #13927 from unknownbrackets/unlink
...
Module: Reverse a single HI16/LO16 pair correctly
2021-01-16 23:58:51 +01:00
Unknown W. Brackets
6efd1ae7f4
Module: Keep HI16/LO16 in a temp state object.
...
This doesn't need to live any longer than the link or unlink, so let's
just make that abundantly clear.
2021-01-16 11:57:37 -08:00
Unknown W. Brackets
17f3de66c5
Module: Reverse a single HI16/LO16 pair correctly.
...
If there is only one imported variable as a HI16/LO16, unloading the
module wasn't properly reversing the link. See #13104 .
2021-01-16 10:04:20 -08:00
ANR2ME
23efd22efb
Fix Stuck issue on some games (Dissidia 012, Full Auto 2, etc) when Failed to connect to Adhoc Server (faked success)
2021-01-16 20:55:40 +07:00
Unknown W. Brackets
5354459476
irjit: Update clobber flag on inst swap.
...
Fixes IR in Persona 3.
2021-01-10 16:41:45 -08:00
Unknown W. Brackets
9dcb70d502
irjit: Add disable flag for simplify passes.
2021-01-10 14:50:32 -08:00
Henrik Rydgård
291f9fdd70
Merge pull request #13902 from unknownbrackets/ui-cleanup
...
UI: Cleanup Windows header in MainScreen.cpp
2021-01-10 00:24:13 +01:00
Unknown W. Brackets
b60074f697
http: Prevent Windows header leak from HTTPClient.
2021-01-09 14:45:03 -08:00
Henrik Rydgård
55b5c6f57f
Merge pull request #13899 from vnctdj/i18nImprovements
...
Improve some i18n things
2021-01-09 22:22:39 +01:00
Unknown W. Brackets
021f4adfad
irjit: Fix mtv for INF4.
2021-01-09 12:43:50 -08:00
Unknown W. Brackets
670334bd0c
irjit: Correct flags for SetCtrlVFPUReg.
...
Fixes #13897 . Caused the reg to be optimized out.
2021-01-09 12:33:08 -08:00
Unknown W. Brackets
d3c06266c5
jit: Fix conditional disable flags.
2021-01-09 11:50:32 -08:00
vnctdj
5dd71db818
Improve some i18n things
...
- reuse some translations
- move some strings to a more suitable category
I will adapt the lang .ini files accordingly.
2021-01-09 18:50:00 +01:00
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ård
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ård
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ård
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ård
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ård
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å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
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
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å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
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ård
98e82c5c63
Merge pull request #13764 from shenweip/savedata-date
...
Savedata:Fixes incorrect date of savedata.
2020-12-23 21:01:27 +01:00