Commit graph

10736 commits

Author SHA1 Message Date
Henrik Rydgård
d775bf4e4c
Merge pull request #14442 from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Henrik Rydgård
7141a01a27
Merge pull request #14443 from unknownbrackets/libzip
Update libzip to 1.7.3
2021-05-10 09:13:44 +02:00
Henrik Rydgård
b89a27d587
Merge pull request #14441 from unknownbrackets/path-cpp-file
Remove File::OpenCPPFile()
2021-05-10 09:12:16 +02:00
Unknown W. Brackets
ba4fb398ca UWP: Order includes, avoid file attrs to buildfix.
Not sure why CREATEFILE2_EXTENDED_PARAMETERS isn't being found.
2021-05-09 21:56:34 -07:00
Unknown W. Brackets
18a51b8e97 Update libzip to 1.7.3. 2021-05-09 20:45:53 -07:00
Unknown W. Brackets
774b0e07e0 Common: Cleanup AssetReader extension filter. 2021-05-09 17:57:07 -07:00
Henrik Rydgård
cc3868db97 Loaders: Look for PSP/GAME/ not /PSP/GAME/.
Because upcoming Path changes will affect path string comparisons.
2021-05-09 17:50:59 -07:00
Henrik Rydgård
ac68dac029 Loaders: Avoid fileToStart compare with "". 2021-05-09 17:38:39 -07:00
Henrik Rydgård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Henrik Rydgård
939dd200c3 Loaders: Remove fileLoader->Extension(). 2021-05-09 17:17:13 -07:00
Henrik Rydgård
9480b6672b Loaders: Rename Path() to GetPath().
Path is going to be a struct name.
2021-05-09 17:10:14 -07:00
Unknown W. Brackets
0f3f74408f Cheats: Parse files using C files for Path compat. 2021-05-09 17:00:48 -07:00
Unknown W. Brackets
8544bd0c3e Windows: Avoid C++ files for consistency.
There's already the mingw thing, and we're avoiding these for Android
paths too.  Let's be consistent.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
fada6583c9 Core: Fix virtual disc index reading.
Otherwise it thought the newline was part of the path.
2021-05-09 17:00:48 -07:00
Henrik Rydgård
2999e1cb86 Core: Remove some uses of OpenCPPFile. 2021-05-09 17:00:48 -07:00
Unknown W. Brackets
e0afdfe9be Core: Leave delay slot when re-entering jit.
If stepping, we may get into a delay slot within interpreted code, and
then try to run (i.e. Step Out), which won't clear the delay slot
properly.

This can cause weird behavior when interp is used again later, in addition
to immediate wrong branching behavior.
2021-05-09 08:52:38 -07:00
Unknown W. Brackets
4462b0c612
http: Add progress to missing request.
Oops, I guess I had things still cached.
2021-05-02 11:31:40 -07:00
Unknown W. Brackets
1459c16fb8 http: Skip processing response body for void.
No need to decompress or copy between buffers.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
20443571bd Store: Retain cancel/speed on resize or switch. 2021-05-01 11:20:05 -07:00
Unknown W. Brackets
2f08fb6583 Store: Show a rough speed indicator.
Some of the homebrew are a bit larger, it's nice to see a speed and not
just the progress bar.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
3379f33882 http: Always use/require progress in requests.
This fixes several cases where we weren't passing cancel flags
consistently.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
af5618705c http: Remove timeoutless requests.
Let's always have timeouts.  This timeout is reset even when a single byte
is sent, so it's pretty generous.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
1e22966984 http: Separate out net buffer code from formatting. 2021-05-01 11:20:05 -07:00
Unknown W. Brackets
8a8328c431 Common: Move ColorConv to a more appropriate place. 2021-05-01 11:20:05 -07:00
Henrik Rydgård
05b3395543
Merge pull request #14420 from unknownbrackets/threadpool-cleanup
Cleanup some of the threadpool and net code a bit
2021-05-01 08:43:52 +02:00
Unknown W. Brackets
a140ec037a Usb: Stub sceUsbstorBootSetCapacity().
Apparently many Lua based homebrew call this on startup and hang if it
fails, but often otherwise don't use sceUsb.
2021-04-30 23:22:01 -07:00
Unknown W. Brackets
a35b21a5d7 http: Set a more useful user agent. 2021-04-30 23:12:42 -07:00
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Henrik Rydgård
e6aa841b78 Common: Get rid of Executor.cpp/h.
There was only one implementation.
2021-04-30 22:33:34 -07:00
Henrik Rydgård
6dbfa2fb52
Merge pull request #14413 from unknownbrackets/savedata
Savedata: Eat less cycles in savedata init
2021-04-26 08:52:25 +02:00
Henrik Rydgård
59ecff13fb
Merge pull request #14412 from unknownbrackets/reloc-fix
Core: Correct thread dependency in relocations
2021-04-26 07:21:51 +02:00
Unknown W. Brackets
a84df2536a Core: Fix vrot cos(2) typo. 2021-04-25 19:26:16 -07:00
Unknown W. Brackets
c3da85234c Savedata: Eat less cycles in savedata init.
Other threads do get scheduled more, but I'm not sure what factors this is
based off of.  Hoping this helps #14382.
2021-04-25 18:38:30 -07:00
Unknown W. Brackets
4f6aaea1e8 Core: Correct thread dependency in relocations.
Didn't realize it was looking at the later value before relocation.
This still remains about as much faster as before and still beneficial to
thread.
2021-04-25 16:49:52 -07:00
Unknown W. Brackets
58d46274ef Common: FileUtil rename buildfix. 2021-04-25 14:51:39 -07:00
Henrik Rydgård
a2a0551a83 Buildfix, and more renaming while we're at it. 2021-04-25 22:25:29 +02:00
Henrik Rydgård
d8583cd0d6 Buildfixes 2021-04-25 21:13:25 +02:00
Henrik Rydgård
77b8a14770 Merge GetFileInfo/GetFileDetails into GetFileInfo 2021-04-25 20:52:29 +02:00
Henrik Rydgård
08843673d9 Rename a couple of functions. 2021-04-25 20:39:32 +02:00
Henrik Rydgård
1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Henrik Rydgård
0ccc63b43e
Merge pull request #14406 from unknownbrackets/vfpu-sincos
Apply integer math narrowing before VFPU sin/cos
2021-04-25 16:55:09 +02:00
Unknown W. Brackets
07cb37c2c1 Compat: Remove single/double sincos path.
New implementation should work for both cases.
2021-04-25 07:09:50 -07:00
Unknown W. Brackets
ad876f06f3 Core: Special case 1/-1 for cosine.
It still gets these off from zero, so let's just special case.
2021-04-24 16:29:20 -07:00
Unknown W. Brackets
8f41c78ed7 Core: Strip off lower bits of sin/cos results. 2021-04-24 16:29:20 -07:00
Unknown W. Brackets
cb8745bca8 Core: Switch to double precision VFPU sin/cos. 2021-04-24 16:29:20 -07:00
Unknown W. Brackets
ad9ad0f70b Core: Apply custom narrowing before VFPU sin/cos.
This makes the results much more accurate to the PSP's results.
Could narrow a bit further swapping sin/cos/neg, which might be what the
hardware does given vrot.
2021-04-24 16:29:20 -07:00
Unknown W. Brackets
e9076c90bb Core: Cleanup VFPU float bit handling.
Just to use a common union.
2021-04-24 15:49:22 -07:00
Unknown W. Brackets
86585e9551 unittest: Fix jit harness init. 2021-04-24 15:48:17 -07:00
Unknown W. Brackets
56bcf04c49 Debugger: Try harder to validate UTF-8.
When sending this in the websocket debugger, it needs to be valid utf-8 or
it will cause clients to abort the connection.  We want to reject invalid
utf-8 anyway.
2021-04-23 23:24:47 -07:00
Unknown W. Brackets
f987c715aa MemMap: Map 0xC0000000 into virtual memory.
Technically, it should be 0xA0000000, but that causes problems for how we
manage 32-bit address space.  This at least makes things consistent.
2021-04-23 23:21:51 -07:00