Commit Graph

26530 Commits

Author SHA1 Message Date
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
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
102a70b4a5 Scissor fix 2019-10-27 20:55:32 +01:00
Henrik Rydgård
a84f4a0caa Even more speed. 2019-10-27 20:55:32 +01:00
Henrik Rydgård
eb53609cb0 More speed 2019-10-27 20:55:32 +01:00
Henrik Rydgård
bbbd7f8acc Buildfix 2019-10-27 20:55:32 +01:00
Henrik Rydgård
714f83f614 Further specialization. 2019-10-27 20:54:36 +01:00
Henrik Rydgård
290e9971a7 More specialization work. 2019-10-27 20:54:36 +01:00
Henrik Rydgård
4f7c23fe79 DarkStalkers: Fix display on OpenGL ES. 2019-10-27 20:54:36 +01:00
Henrik Rydgård
796539ad7f DarkStalkers: Fix display in the D3D backends. Still broken in OpenGL. 2019-10-27 20:54:36 +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
2dd7a9aa12 More darkstalkers work 2019-10-27 20:54:36 +01:00
Henrik Rydgård
c7f6724f7e Detect sprite drawing (1:1 texture mapping), run a simpler function without the triangle state tracking.
This will allow further simplification and specialization.
2019-10-27 20:54:36 +01:00
Henrik Rydgård
510229b68b SoftGPU: Detect through-mode rectangles from triangle strips 2019-10-27 20:54:36 +01:00
Henrik Rydgård
58568632e8 Software renderer: Use hardware color conversion on Vulkan in 5551 16-bit mode 2019-10-27 20:54:36 +01:00
Henrik Rydgård
3a0804a7dd Start slowly migrating from macros 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
86de0a49f2
Merge pull request #12449 from hrydgard/reintroduce-cardboard
Reintroduce Cardboard VR
2019-10-25 16:03:33 +02:00
Henrik Rydgård
0d76906b39 Buildfix 2019-10-25 16:03:00 +02: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
5dc9acf839 Cardboard VR: Add an on-screen VR OFF button. Enable Cardboard on iOS. 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
3be09e619d Update lang submodule, adding Croatian, thanks to HilmBrala 2019-10-25 13:35:32 +02:00
Henrik Rydgård
71adef9d75
Merge pull request #12448 from hrydgard/gl-dataformat-cleanup
Code cleanup: OpenGL texture format cleanup
2019-10-24 23:24:26 +02:00
Henrik Rydgård
4d6a4beae1 Text drawing fixes 2019-10-24 23:07:57 +02:00
Henrik Rydgård
46447c9e90 Correct the wrong GL DataFormat enums 2019-10-24 23:01:45 +02:00
Henrik Rydgård
9e607fdeb1 GL: remove another unused format 2019-10-24 22:49:36 +02:00
Henrik Rydgård
fcfeda653d Reduce GL texture format support to the ES minimum. We have to handle these anyway so let's only have one path. 2019-10-24 22:47:22 +02:00
Henrik Rydgård
8c2e318416 OpenGL dataformat cleanup - pass Draw::DataFormat to the GLRenderManager.
Avoids triple GLenum all over the place, and also clearly shows that the
mapping is wrong.
2019-10-24 22:41:41 +02:00
Henrik Rydgård
aa04c57633
Merge pull request #12441 from hrydgard/lin-buildfix
Fix the build - there's a Vec3 name collision, fixed it using a namespace.
2019-10-22 23:16:25 +02:00
Henrik Rydgård
767b1e45b2 Fix the build - there's a Vec3 name collision, fixed it using a namespace. 2019-10-22 22:58:10 +02:00
Henrik Rydgård
ae286aef86 Vulkan+SoftwareRenderer: Fix screen rotation on Android.
(Missed this because software rendering is normally disabled on Android)
2019-10-22 22:08:21 +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
Henrik Rydgård
1856dabb24
Merge pull request #12432 from unknownbrackets/io-async
Fix change async priority when thread already running
2019-10-20 19:56:46 +02: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