Commit Graph

26278 Commits

Author SHA1 Message Date
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
Henrik Rydgård
c7b3a08cf3 Vulkan: Add checks so we don't try to write NULL objects to a descriptor set.
(Shouldn't happen, but bad rendering is better than a crash in descriptor writing)
2019-10-20 17:05:42 +02:00
Henrik Rydgård
d3b74d1554
Merge pull request #12431 from LunaMoo/GOWBloomHack
Change Bloom Hack aggressive detection to include GOW games bloom.
2019-10-20 16:07:25 +02:00
LunaMoo
c23f11cf0a Change Bloom Hack aggressive detection to include GOW games bloom. 2019-10-19 19:10:39 +02:00
Henrik Rydgård
90e91e24b3
Merge pull request #12424 from sbingner/jitfix
Use old jit enablement method if clean method fails
2019-10-17 00:27:59 +02:00
Sam Bingner
967c6f86b5 Use old jit enablement method if clean method fails 2019-10-16 12:19:47 -10:00
Henrik Rydgård
73bf6098e0
Merge pull request #12421 from sbingner/jitfix
Update iOS JIT hack
2019-10-15 09:35:00 +02:00
Sam Bingner
e3971dccbd
Fix fork logic 2019-10-14 17:33:04 -10:00
Sam Bingner
169473b7d0 Replace horrible hack with less horrible hack 2019-10-14 15:24:06 -10:00
Henrik Rydgård
aca18a188f
Merge pull request #12419 from hrydgard/vk-scissor-rotation-clamp
Vulkan: Move viewport/scissor rotation to the QueueRunner instead of RenderManager.
2019-10-13 22:29:26 +02:00
Henrik Rydgård
70c0a12b2b Fix name collision on iOS build 2019-10-13 21:25:16 +02:00
Henrik Rydgård
5adb61a5f2 Move the viewport clamping back to rendermanager to avoid a struct copy in the common case. 2019-10-13 21:25:16 +02:00
Henrik Rydgård
7c0470e061 Fix misplaced break 2019-10-13 21:25:16 +02:00
Henrik Rydgård
87c1ce6fa2 Vulkan: Move viewport/scissor rotation to the QueueRunner instead of RenderManager. Add some checks. 2019-10-13 21:25:16 +02:00
Henrik Rydgård
1e3711ee66 Vulkan blend factor: Bugfix and minor optimization 2019-10-13 21:17:29 +02:00
Henrik Rydgård
29950c0ad5 Update last commit to use IsValidRange instead of IsValidAddress. 2019-10-13 16:21:52 +02:00
Unknown W. Brackets
8a6a494599
Merge pull request #12418 from hrydgard/skip-invalid-code-sections
ScanForFunctions: Skip invalid code sections. May help #12414.
2019-10-13 06:59:42 -07: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
94339b2280
Merge pull request #12410 from hrydgard/wasapi-crashfix
WASAPI: Discovered by chance that pwstrDeviceId can be null in OnDefaultDeviceChanged.
2019-10-11 20:23:40 +02:00
Henrik Rydgård
420e26b69d
Merge pull request #12412 from hrydgard/gameicon-crash-fix
UI: Better way of showing game/savedata images.
2019-10-11 20:20:23 +02:00
Henrik Rydgård
1f742fd07a UI: Better way of showing game/savedata images. Fixes #12408 2019-10-11 17:34:38 +02:00
Henrik Rydgård
cb463b569a WASAPI: Discovered by chance that pwstrDeviceId can be null. Treating it as a new device. 2019-10-11 14:29:02 +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
Henrik Rydgård
56e2e0845e
Merge pull request #12327 from unknownbrackets/audio-device
Use SDL2 audio device API, switch on new device
2019-10-08 07:38:01 +02:00
Unknown W. Brackets
c0aa75917c
Merge pull request #12397 from TotalCaesar659/center-window
Move window to center
2019-10-07 20:33:40 -07:00
Unknown W. Brackets
622fc38c1f
Merge pull request #12398 from DuIslingr/master
[iOS] Resolve SDK 13 Generation
2019-10-07 20:27:38 -07:00
Unknown W. Brackets
a1ee226c39 SDL: Switch audio device when plugged in. 2019-10-07 20:16:20 -07:00
Unknown W. Brackets
c30bc4ee7d SDL: Add UI to reset audio device at runtime. 2019-10-07 20:16:19 -07:00
Unknown W. Brackets
8751316051 SDL: Use a configurable output device. 2019-10-07 20:15:25 -07:00
Unknown W. Brackets
141258c366 SDL: Use SDL2 audio API for output. 2019-10-07 20:15:25 -07:00
Unknown W. Brackets
daf07032a6 cmake: Ignore if madbundle.sh fails. 2019-10-07 20:15:25 -07:00
Unknown W. Brackets
7fd96c9912 cmake: Remove old qmake options. 2019-10-07 20:15:25 -07:00
DuIslingr
fc65dc3c24
[iOS] Resolve SDK 13 Generation
With XCode 11/SDK 13 you now have to set a blank code signing identity along with disabling code signing in order for the project to generate.
2019-10-07 22:33:51 -04:00
TotalCaesar659
b014ecc335
Move window to center 2019-10-08 04:53:06 +03:00
Henrik Rydgård
1c8ac05b06 MainScreen: Prevent grid game buttons from becoming too wide if the png has the wrong dimensions.
Happens with Doom Legacy homebrew.
2019-10-07 23:58:23 +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
Henrik Rydgård
83c349a92b
Merge pull request #12334 from hrydgard/vulkan-gpu-profile-cpu
Vulkan GPU profiler: Measure the CPU time spent on the render thread recording command buffers.
2019-10-07 21:43:48 +02:00
Henrik Rydgård
3bed866c3c
Merge pull request #12396 from hrydgard/vulkan-point-size
Vulkan: Always write gl_PointSize, fixes #12364.
2019-10-07 21:43:27 +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
Henrik Rydgård
e67a0606ef Vulkan: Always write gl_PointSize, fixes #12364. Remove unnecessary predeclaration of gl_Position.
Replaces #12393.

The predeclaration used to be required by early versions of glslang but is no longer. Since the GLSL compiler is controlled by us, we don't need to fear incompatibilities.
2019-10-07 19:57:13 +02:00
Henrik Rydgård
e0f60eba60
Merge pull request #12395 from unknownbrackets/android-minor
Android: Setup UI callback earlier if possible
2019-10-07 19:48:52 +02:00
Unknown W. Brackets
b75291375a Android: Setup UI callback earlier if possible. 2019-10-06 16:11:15 -07:00
Unknown W. Brackets
d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets
e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets
8d3da2ce88 UI: Cleanup browse button check. 2019-10-06 09:34:23 -07: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
3e12734b80 http: Use relative paths for remote isos. 2019-10-06 08:50:35 -07:00