Commit graph

9455 commits

Author SHA1 Message Date
shenweip
9be8fc6c69 Oops. 2020-01-04 11:14:32 +08:00
shenweip
9fa4ae7b15 fix 2020-01-04 09:11:15 +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
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
Unknown W. Brackets
c9c34c4ca1 SaveState: Handle compression thread better.
Was leaking before.
2019-09-28 11:43:44 -07:00
Unknown W. Brackets
1307273dd7 UI: Cleanup install threads from UI thread. 2019-09-28 11:39:58 -07:00
Unknown W. Brackets
cc6115d875 Io: Join loading/manager threads more explicitly. 2019-09-28 11:18:42 -07:00
Unknown W. Brackets
e639dc801f http: Ensure webserver shutdown on exit. 2019-09-28 11:12:12 -07:00
Unknown W. Brackets
c8c0cd51c7 Core: Avoid detach for game loading thread. 2019-09-28 11:07:57 -07:00
Unknown W. Brackets
bce25bcaed Reporting: Use a single message posting thread.
This could cause a short delay when quitting a game, because it now waits
for them all to finish posting on exit.  Only when reporting enabled.
2019-09-28 10:45:45 -07:00
M4xw
15a9a0ac8f Switch: Cleanup some includes.
Disable dlopen and tty checks too.
2019-09-28 09:22:38 -07:00
Unknown W. Brackets
2eee84b5ce Switch: Add basic defines for checks/reporting. 2019-09-28 09:00:20 -07:00
Unknown W. Brackets
bdd2029623 Core: Fix memory range guard check.
Was allowing sizes with the high bits set, which could cause all kinds of
weird issues and crashes.
2019-09-28 08:40:41 -07:00