Commit Graph
4291 Commits
Author SHA1 Message Date
Florin9doi 83277680da Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
The speed is now close to the value obtained on original hardware but
the altitude on original hardawre is too imprecise to tell if we're good
2020-01-26 14:19:45 +02:00
Henrik Rydgård 9394f0f7e0 Merge pull request #12592 from Florin9doi/iosCam
Camera updates (iOS/Android)
2020-01-26 10:58:48 +01:00
Florin9doi 63196897e4 Do not stop camera if unnecessary 2020-01-26 10:04:12 +02:00
Florin9doi 2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Florin9doi 5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
shenweip 3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
Florin9doi 09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
Henrik Rydgård d79abaa9c5 Add DEFLATE and MD5 to HLE module blacklist. Replaces #12576, fixes #12570
And possibly #12571
2020-01-16 21:59:15 +01:00
Henrik Rydgård 96e7281b20 Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
shenweip f39aa47e9b Oops 2020-01-14 17:30:15 +08:00
shenweip d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
Henrik Rydgård c2e8577756 Loader: If the module range is bad, don't get stuck trying to scan for functions.
Better crash immediately (although that's also not ideal).
2020-01-13 23:28:46 +01:00
shenweip 034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
Henrik Rydgård e2845363e9 Async I/O: Don't delay on close. Fixes #12549 (MGS:PW crash).
Also sneak in a small change in logging.
2020-01-12 18:42:28 +01:00
Henrik Rydgård a881d78d64 Warning fix 2020-01-12 18:42:28 +01:00
Henrik Rydgård 42bfcc7fa6 Merge pull request #12559 from DaveeFTW/prxdecrypt
Expand PRX decryption capabilities
2020-01-11 23:31:15 +01:00
Davee Morgan 4c9e7b7424 PRX Decryption: add pauth decryption 2020-01-11 20:43:38 +00:00
Davee Morgan 3a5aa915e4 PRX Decryption: add support for gzip compressed executables 2020-01-11 15:05:48 +00:00
Davee Morgan 1d7bbdd006 PRX Decryption: add support for type 0/1/2/5/6 decryption 2020-01-11 15:00:07 +00:00
shenweip 8ccc7996b0 Don't check auAddr. 2020-01-05 22:37:29 +08:00
shenweip 4bc0274d53 Check invalid address in sceMpegAtracDecode.
Fixes #11026.
2020-01-05 22:11:43 +08:00
Henrik Rydgård 78e36ece51 Merge pull request #12545 from shenweip/UMD-switch
UMD switch: Code clean up and fix a out of range error in thread queue.
2020-01-05 08:48:32 +01:00
Unknown W. Brackets 3474339109 Io: Correct async priority default on async open. 2020-01-04 08:48:04 -08:00
shenweip 9be8fc6c69 Oops. 2020-01-04 11:14:32 +08:00
shenweip 9fa4ae7b15 fix 2020-01-04 09:11:15 +08:00
Unknown W. Brackets 507b01a93e Io: Return a better error code for sceIoCancel.
This is very rarely used and doesn't seem to work.
2020-01-03 14:24:52 -08:00
Unknown W. Brackets 593e48b865 Io: Update async priority more correctly.
When an operation finishes, whether it uses the priority from the first
operation or the current thread's priority depends on sdk version, it
seems.

This also makes it resolve the default priority on open, so that changing
the default afterward doesn't affect already open descriptors.
2020-01-03 14:24:52 -08:00
shenweip 44660bd9ae Change async priority to current thread'priority if priority = -1. 2020-01-03 14:33:32 +08:00
shenweip 458f8cfac3 minor fix 2020-01-02 16:45:01 +08:00
shenweip 28bfc4c05d Avoid thread queue out of range by a offset.
This case will happen if thread priority is -1.
2020-01-02 16:03:48 +08:00
shenweip d09543ebd7 Move umd replace to loaders. 2020-01-02 14:56:24 +08:00
Henrik Rydgård 0a5ec48382 Merge pull request #12533 from unknownbrackets/io-async
Io: Allow adjusting default async thread priority
2019-12-26 22:19:51 +01:00
Henrik Rydgård 4a0d7d67dc Merge pull request #12532 from unknownbrackets/io-minor
Io: Correct leak on save state
2019-12-26 22:19:00 +01:00
Unknown W. Brackets 7e345dad11 Io: Allow adjusting default async thread priority. 2019-12-26 11:26:31 -08:00
Unknown W. Brackets 499431c1ed Io: Correct leak on save state.
This was breaking things a bit more every time you saved state.
2019-12-26 11:05:36 -08:00
shenweip c3a489fa90 Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
Use a error 1 to mean the uccessful mapping but carry with  SCE_KERNEL_ERROR_NOCWD error.
2019-12-13 17:59:55 +08:00
shenweip a6d511d123 IO:Add an extra delay to simulate umd delay in file seek whence.
Pangya(KS) seems want to check something base on this delay and system time.Anyhow, the game work now.
2019-12-13 08:19:17 +08:00
Henrik Rydgård 9c40381db0 Remove the I/O on Thread option - treat it as always on. 2019-11-04 22:21:20 +01:00
Henrik Rydgård 86c781e434 Hack around most of the problems with the save/load dialog. Software stretch gets enabled in non-wide mode, so wallpapers work at a cost of speed. 2019-10-27 20:55:32 +01:00
Henrik Rydgård e09296b9b1 Merge pull request #12433 from unknownbrackets/io-minor
Io: Return error code for write attempt to UMD
2019-10-20 22:38:36 +02:00
Unknown W. Brackets 913121cf2b Io: Consistently use error codes with OpenFile().
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile().  Also fixed the sequence rollover, which could've
returned 0.

0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets f63daf8185 Io: Change async thread priority if running.
Really thought I'd already done this, must've made a mistake...
Fixes #12400.
2019-10-20 10:26:37 -07:00
Unknown W. Brackets 4065fae262 Io: Destroy async threads on reset.
Oops, this left us in a different state on exit.
2019-10-20 10:25:57 -07:00
Henrik Rydgård 29950c0ad5 Update last commit to use IsValidRange instead of IsValidAddress. 2019-10-13 16:21:52 +02:00
Henrik Rydgård d64f9c44f3 Code analysis: Skip invalid code sections. May help #12414. 2019-10-13 13:25:18 +02:00
Henrik Rydgård eb2109a0f1 Merge pull request #12328 from unknownbrackets/io-async
Use PSP threads for async IO
2019-10-07 21:50:57 +02:00
Unknown W. Brackets cc6115d875 Io: Join loading/manager threads more explicitly. 2019-09-28 11:18:42 -07:00
Henrik Rydgård 553ea23c34 Add memory range checks to a few little-used sysclib functions. Might help #12359. 2019-09-27 22:58:18 +02:00
Unknown W. Brackets c53acfcac9 Io: Correct result on async file not found. 2019-09-01 09:43:01 -07:00
Unknown W. Brackets c26becb545 Io: Wait async thread on IO completion.
So it doesn't exit early.
2019-09-01 09:32:58 -07:00