Commit Graph
12026 Commits
Author SHA1 Message Date
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 5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
Unknown W. Brackets 46464d2722 Windows: Resolve module/full paths for long paths. 2020-01-04 09:02:10 -08: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
Henrik Rydgård 70ddfc7c86 Merge pull request #12517 from iota97/snapgrid
Touch control grid snap
2019-12-25 22:30:47 +01:00
shenweip fb696f8a71 Just return error if current directory not be setted. 2019-12-25 11:16:56 +08:00
iota97 f99a651c6a Touch controll grid snap 2019-12-19 00:41:32 +01: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 fd6b0554d6 IO:Re-grab SCE_KERNEL_ERROR_NOCWD.
Fix issue#12492,the issue occur since commit e09296b9b1
2019-12-13 11:15:58 +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 714205d699 Vulkan: Enable renderpass merging for all games (was introduced in 1.9 for GoW games). A number of other games can also benefit. 2019-11-30 22:44:59 +01: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
kotcrab b7a64750ed Fix vcrs disassembly 2019-10-30 22:35:13 +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 9099441973 Darkstalkers: Gross hack to avoid the game's own stretch, and present the raw buffer instead for a sharper image. 2019-10-27 20:54:36 +01:00
Henrik Rydgård 19a1fa8430 Add a compat.ini flag for software rendering, use it to force on in Darkstalkers 2019-10-27 20:54:36 +01:00
Henrik Rydgård 3924e457be Also rename the config setting to make sure it starts out off. 2019-10-25 16:03:00 +02:00
Henrik Rydgård 9b8533c936 Revert "Remove Google Cardboard support. Fixes #11668"
This reverts commit e284d9f00d.
2019-10-25 16:03:00 +02: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 45516783f6 Io: Return error code for write attempt to UMD.
Previously, we were returning file not found (because 0), which was not
correct.  We were also allowing write handles to sce_lbn.
2019-10-20 10:36:13 -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 0b17dd04e6 Merge pull request #10393 from hrydgard/compute-upload
Vulkan: Texture upload through compute, experimental texture scaling too
2019-10-08 09:11:25 +02:00
Unknown W. Brackets a1ee226c39 SDL: Switch audio device when plugged in. 2019-10-07 20:16:20 -07:00
Unknown W. Brackets 8751316051 SDL: Use a configurable output device. 2019-10-07 20:15:25 -07: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
Henrik Rydgård 13f87301cf Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Henrik Rydgård 8e44230d70 Merge pull request #12394 from unknownbrackets/remote-iso
Allow pinning URLs to game browser
2019-10-07 20:04:40 +02:00
Henrik Rydgård cb8c57f8e3 Merge pull request #12370 from unknownbrackets/switch
Pull some base parts of the Switch PR
2019-10-07 20:01:36 +02:00
Unknown W. Brackets 2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Unknown W. Brackets e36f894f66 HLE: Replace Motorstorm pixel read func.
Helps with some lighting, see #12363.
2019-10-05 08:37:18 -07:00
Unknown W. Brackets 41a6831333 Vulkan: Add a setting for hardware scaling. 2019-09-30 00:35:50 -07:00
Unknown W. Brackets 5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00