Commit Graph

456 Commits

Author SHA1 Message Date
rz5
5fbf0b0a92 (ugui) Move all files to deps folder 2019-06-30 04:25:58 +01:00
rz5
432feab541 Force SW renderer when firmware is missing. Allows showing ugui error message when 'renderer' is set to 'hardware'. 2019-06-16 21:00:13 +01:00
rz5
0e0c2dbc41
Merge pull request #504 from rz5/master
Cherrypick changes done between versions 1.21.3 and 1.22.2. Closes #487
2019-06-16 02:18:31 +01:00
rz5
aae54be182 Hide HW options in non-HW core 2019-06-03 20:00:42 +01:00
r5
c57cb067fb Cherrypick changes done between versions 1.21.3 and 1.22.2 2019-05-14 02:37:57 +01:00
David Walters
e20b8179ce Dynamic port count reporting; Fix player counter with 1 multi-tap. 2019-02-03 17:55:28 +00:00
retro-wertz
8c0f9d3b52
Fix crash when loading Audio CD 2019-01-22 09:43:30 +08:00
Hans-Kristian Arntzen
b88758e5bd Add MSAA option. 2018-12-15 17:34:59 +01:00
Hans-Kristian Arntzen
bc9ec6de83 Add MDEC YUV Chroma filter.
Removes some pixellation from certain MDEC sequences which feature stark
red or blue detail (RE1 for example).

This filtering is done in one pass, so it's rather heavy, but the
resolution is low enough it shouldn't matter.
2018-12-13 13:17:25 +01:00
Hans-Kristian Arntzen
6966638c76 parallel-psx: Add (OG)SSAA scanout mode.
Looks a bit more coherent with mixed 2D and 3D in cases where adaptive
smoothing fails.

Also allows CRT-style shaders to work better as they expect 240p input
usually.

Also fixes a small regression in which shaders are built for
downsampling and cleans up some ugly code w.r.t filters.
2018-12-13 12:06:41 +01:00
orbea
c86cf6e020 Don't expose 32x resolution.
Almost no GPU will support this.

Fixes https://github.com/libretro/beetle-psx-libretro/issues/456
Reverts 3c853b340d
2018-12-05 16:11:17 -08:00
r5
74bd7550ff (GL renderer) Allow showing dither pattern on all color depths
Also, enforce enabling/disabling dither attribute on core option
changes.
2018-11-03 01:11:37 +00:00
FrozenFish24
b6cfa5ec51 Prevent crash when cue sheet references a non-existant file 2018-10-18 18:06:21 +08:00
hizzlekizzle
d3d895f5ba
[squash and merge] runtime update for vulkan texture filtures (#417)
* make texture filter a runtime setting

* only init texture pipelines if the primitive is actually textured

* don't init_pipelines constantly, only when necessary

* these are declared elsewhere so no need to do it here, too

* cleanups courtesy of r5

* flip logic to be more intuitive

* switch back to temporary var
2018-09-01 17:44:42 -05:00
hunterk
cc3b2db364 fix up lineRender core option 2018-08-27 22:19:57 -05:00
hunterk
7ed2a2d7cd initial line-to-quad option 2018-08-26 21:36:01 -05:00
jdgleaver
0cf078cd3c Refine NegCon analog response 2018-08-21 17:07:54 +01:00
hizzlekizzle
4abdf04b94
move texture filtering to include vulkan renderer 2018-08-11 14:09:02 -05:00
Brad Parker
a1e9b13a2a only use uGUI with sw renderer for now 2018-06-30 19:59:45 -04:00
Brad Parker
63f855b5bd remove debug prints 2018-06-30 19:54:07 -04:00
Brad Parker
dad4387663 initial uGUI message box for missing firmware, only works with software renderer currently 2018-06-30 19:32:16 -04:00
Dwedit
582e1d6750 Ensure fast savestates are used even when we are not using the default buffer size 2018-04-23 20:20:17 -05:00
Dwedit
32fc5d370b Fixes for Savestates
* Savestate Performance Fix - no longer does giant memory allocations and copies
* Loadstate Performance Fix - no longer does N^2 string comparisons
* Fast Savestates (excludes text labels from the savestates, 20% speedup)
* Minor Savestate Performance Fix, no longer uses snprintf when strncpy will do.  Only applies to the text labels, no effect on fast savestates.
2018-04-23 20:16:53 -05:00
Dwedit
9086bf32c0 MSVC code fixes for the GL/VULKAN build 2018-04-18 17:54:32 -05:00
twinaphex
a24ca2cba7 Update libretro-common code 2018-04-13 01:09:46 +02:00
twinaphex
9076fde395 Add renderer core options for software-only core too 2018-04-06 17:31:05 +02:00
twinaphex
8dd93d7e99 Renderer core option now has two options: hardware and software 2018-04-06 17:28:18 +02:00
Lionel Flandrin
590c040c8b
Use a macro to derive the option name 2018-03-13 12:28:29 +01:00
Lionel Flandrin
b537b04866 Remove C++11 dependency 2018-02-21 23:45:25 +01:00
Lionel Flandrin
b505f54aec Update CPU code to match upstream 2018-02-21 23:17:22 +01:00
Lionel Flandrin
641e851dce
Improve Internal FPS counter stability 2018-02-09 15:06:18 +01:00
Lionel Flandrin
4826c06e4d
Added GPU rasterizer overclock option 2018-02-09 11:09:28 +01:00
Lionel Flandrin
a304761f44 Change ordering of CPU downclocking options for better usability 2018-02-09 10:41:21 +01:00
twinaphex
0aee2054bd Extra CPU frequency scaling steps 2018-02-09 00:39:57 +01:00
Lionel Flandrin
7e585cb4c0 Fix internal FPS counter 2018-02-08 22:18:58 +01:00
Lionel Flandrin
8e7ae9c61f Implement true CPU frequency scaling/overclocking 2018-02-08 22:06:35 +01:00
Lionel Flandrin
ac3fec5c36 Rename "CPU Overclock" option into "GTE Overclock"
It's still not very accurate (it's not really an overclock and it also
removes instruction cache/memory access latencies) but it's probably
easier to understand that way and it won't clash with true CPU
overclock.
2018-02-08 19:22:53 +01:00
retro-wertz
37ffbeba56
PBP: CD_SelectedDisc cannot be < 0
should probably fix this issue, assuming that he is using single-disc game.
https://github.com/libretro/beetle-psx-libretro/issues/297

When a game is only using 1 disk to play, loading state will deduct -1 from CD_SelectedDisc which will make this < 0 causing emulation to stop during disk access.

This PR will check how many discs are there (PBP_DiscCount) and only deducts CD_SelectedDisc when its greater than 0.
2018-01-19 08:28:34 +08:00
Tommy Nguyen
9c3dca18cf
Use const bool parameter 2018-01-13 05:02:33 -05:00
Tommy Nguyen
64671ab9ba
Refactor SetDisc calls into function
The line was duplicated/long. Combined with the two ternary operators
in the same call makes it hard to read. This minor patch should ease
maintainability.
2018-01-13 03:46:38 -05:00
twinaphex
0299788a5a Only call filestream_get_size once 2017-12-19 03:21:52 +01:00
twinaphex
f18c48e7b2 Get rid of file.c - use plain filestream 2017-12-19 03:19:58 +01:00
twinaphex
78836b5d1c Start using filestream directly where possible 2017-12-19 01:42:59 +01:00
Alberto Fustinoni
347495030a Fix crash: loading any game after the first one crashes core. 2017-12-18 23:20:17 +09:00
Alberto Fustinoni
8a226e3d51 Removed dependency on file_path 2017-12-18 22:35:54 +09:00
twinaphex
4eb0c636de Update - prevent memsets 2017-12-17 18:42:32 +01:00
twinaphex
77c9ef3bcb Update retro_serialize_size/retro_serialize 2017-12-17 18:36:29 +01:00
twinaphex
7a66d0c6bd Update core - use VFS interface 2017-12-15 23:20:53 +01:00
David Walters
07db5840d7 Merge branch 'master' into new_lightgun_api_wip 2017-11-24 12:45:16 +00:00
David Walters
2ebd4e5023 Gun crosshair shapes 2017-11-23 13:08:26 +00:00