Commit Graph

26515 Commits

Author SHA1 Message Date
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
b2dd3c7e18
Merge pull request #12541 from unknownbrackets/sdl-minor
SDL: Ignore audio switch events in first second
2020-01-01 17:43:34 +01:00
Henrik Rydgård
2ec99ec47d compat.ini: Add Japanese Game ID for DarkStalkers (Vampire Chronicles) 2020-01-01 17:41:55 +01:00
Unknown W. Brackets
9989c51f21 SDL: Ignore audio switch events in first second.
We get new device events right on start, which makes auto switch away from
the preferred / most recent device otherwise.  Fixes #12536.
2020-01-01 07:47:26 -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
Henrik Rydgård
08ca4ee235
Merge pull request #12509 from shenweip/Pangya-fix
Fix Pangya(KS).
2019-12-25 16:14:09 +01:00
Henrik Rydgård
767ff10d77
Merge pull request #12526 from unknownbrackets/softgpu
SoftGPU: Convert from 16-bit if unsupported
2019-12-25 14:48:13 +01:00
shenweip
fb696f8a71 Just return error if current directory not be setted. 2019-12-25 11:16:56 +08:00
Unknown W. Brackets
072041a63d SoftGPU: Convert from 16-bit if unsupported.
Should help #12455, but not actually tested on an affected device.
2019-12-24 11:08:44 -08:00
iota97
e53895f687 Hide "Control" label on top 2019-12-19 11:56:42 +01:00
iota97
7a8c39d7bf Disabled grid size if snap is disabled 2019-12-19 09:05:08 +01:00
iota97
d7be4f883e Fix 2019-12-19 01:26:23 +01:00
iota97
f99a651c6a Touch controll grid snap 2019-12-19 00:41:32 +01:00
Henrik Rydgård
608d716413 Update build.gradle.. again. 2019-12-18 00:04:07 +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
e847881384
Merge pull request #12462 from hrydgard/always-merge-renderpasses
Vulkan: Enable renderpass merging for all games
2019-12-01 01:12:31 +01:00
Henrik Rydgård
26ab81c102 vulkan: The GPU profiler could end up writing massive amounts of text, fix some bugs around that. 2019-11-30 23:03:30 +01:00
Henrik Rydgård
fc34a93ac2 vulkan: ApplyRenderPassMerge; Add copy / blit destinations to touched buffers. 2019-11-30 23:02:08 +01: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
f03417c08c Update lang submodule 2019-11-26 23:49:38 +01:00
Henrik Rydgård
1439421fa4
Merge pull request #12490 from CookiePLMonster/discord-fixup
Do not assert in Discord::Shutdown
2019-11-18 22:41:26 +01:00
Silent
c754da6491
Do not assert in Discord::Shutdown
Discord::Shutdown runs on app exit unconditionally,
and thus it's valid to try to call it even when Discord RPC
is not running.
2019-11-18 21:46:51 +01:00
Henrik Rydgård
a8d2e513b9
Merge pull request #12478 from fr500/patch-2
Update CMakeLists.txt
2019-11-10 20:30:15 +01:00
Andrés
67c0c36efb
Update CMakeLists.txt
SDL2 is not required for the libretro target
2019-11-10 13:47:15 -05:00
Henrik Rydgård
168c6b6995
Merge pull request #12471 from vnctdj/consistentStyle
Make style more consistent
2019-11-08 09:37:57 +01:00
Henrik Rydgård
c9378d422d
Merge pull request #12467 from fr500/patch-1
Update libretro.cpp
2019-11-05 09:32:29 +01:00
Henrik Rydgård
492e81ae67
Merge pull request #12466 from hrydgard/remove-io-thread-option
Remove the I/O on Thread option - treat it as always on.
2019-11-05 09:30:00 +01:00
Henrik Rydgård
057bc924c3 libretro buildfix 2019-11-05 01:57:39 +01:00
Andrés
11db3a4a8f
Update libretro.cpp
The libretro core still has issues with context resets.
This would allow internal resolution changes to work without crashing, it would require a restart which is inconvenient but the current issue is worse.
2019-11-04 19:41:39 -05: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
6b2425567f Yet another gradle update 2019-11-04 22:21:08 +01:00
Unknown W. Brackets
9a5766bcfd
Merge pull request #12457 from kotcrab/fix-vcrs
Fix vcrs disassembly
2019-11-03 06:01:23 -08:00
kotcrab
b7a64750ed Fix vcrs disassembly 2019-10-30 22:35:13 +01:00
Unknown W. Brackets
4a757db571
Merge pull request #12452 from hrydgard/softgpu-rectangle-cleanup
Isolate most of the softgpu specialization code to RasterizerRectangle.
2019-10-30 04:03:19 -07:00
Henrik Rydgård
54823a87cc Oops 2019-10-28 13:13:52 +01:00
Henrik Rydgård
970adfbcc9 Isolate most of the softgpu specialization code to RasterizerRectangle.
See comments.
2019-10-28 09:33:30 +01:00
Henrik Rydgård
b4438c5742
Merge pull request #12443 from hrydgard/darkstalkers-work
Darkstalkers Chronicle: Add specializations and speedhacks to get it kinda playable
2019-10-27 21:19:53 +01:00
Henrik Rydgård
1966c8fe75 Fix a backwards check 2019-10-27 20:55:32 +01:00
Henrik Rydgård
6c8186d046 Remove unused textureswizzle support (we use shaders instead). Universally support presenting 5551 format directly. 2019-10-27 20:55:32 +01:00