Commit Graph

125 Commits

Author SHA1 Message Date
Henrik Rydgård
95cb358fbf Change the "Retain changed textures" option into a compat.ini option.
This option benefits so few games and can hurt others, so that it's
better that we specifically enable it for known cases like Popolocrois.
2022-11-06 17:28:50 +01:00
bslenul
26a66dc37f [Libretro] Update core options to v2 + add a few new ones
Updated core options to v2 + added the following options: "Cache Full ISO in RAM", "PSP Model" and "Hardware Tesselation".
2022-11-02 20:34:24 +01:00
Henrik Rydgård
8c56abd3dc Remove setting "Disable slower framebuffer effects" 2022-09-03 11:06:43 +02:00
Henrik Rydgård
1cd34f9d2b Another buildfix attempt 2022-09-01 14:07:27 +02:00
Henrik Rydgård
7c5d36eca7 libretro buildfix 2022-09-01 13:33:46 +02:00
Henrik Rydgård
67d6549afd Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU. 2022-08-31 14:23:33 +02:00
Henrik Rydgård
f9a25458d5 Libretro fix 2022-07-24 14:10:12 +02:00
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
ANR2ME
43beb26896 Added psp.gameplayer.club public Adhoc Server. 2022-06-26 19:47:33 +07:00
jdgleaver
75bd828a5d (libretro) Add option to detect and notifiy frontend of internal frame rate changes (60 <-> 30 <-> 20 fps, etc.) + restore 'Duplicate Frames in 30 Hz Games' core option 2022-05-17 16:22:29 +01:00
Bram Verweij
2da2525414 Limit minimum timeout to [0, 100, 200, ..., 5000] 2022-05-15 11:06:34 +02:00
Bram Verweij
4dbeb5cd57 For Libretro -DUSE_DISCORD=1 is not added in CMakeLists.txt 2022-05-14 21:01:37 +02:00
Bram Verweij
f74b884526 Let port offset cover the entire range in steps of 1k 2022-05-14 19:44:59 +02:00
Bram Verweij
47a52d2db9 Remove options for network chat, since these only work for standalone 2022-05-14 11:17:28 +02:00
Bram Verweij
eab3320e20 Make MAC address configurable and randomize when not set 2022-05-14 00:34:25 +02:00
Bram Verweij
8a6c1f803f Fix update of chat screen position 2022-05-13 22:40:50 +02:00
Bram Verweij
25e380577a Disable UPnP by default 2022-05-13 20:21:20 +02:00
Bram Verweij
2b1d40706c Correct indentation and some strings 2022-05-13 16:59:21 +02:00
Bram Verweij
899efa4a45 Expose networking options in libretro core 2022-05-13 16:48:06 +02:00
Stuart Kenny
1a3fed4344 Expose 2xBRZ texture filter option. 2022-01-27 08:27:04 +00:00
jdgleaver
cdbebc1898 (libretro) Force enable g_Config.bRenderDuplicateFrames + minor audio buffer tweaks 2021-12-07 16:21:59 +00:00
twinaphex
df8dbd8861 (Libretro) Reimplement audio -
* Move audio callback to the main thread (fixes the longstanding hang
  issues when using OpenGL)
* 64ms on desktop isn't enough due to excess buffering going on in this
  emulator. Set default to 128ms instead.
* Different audio approach is necessary due to the following: it sets a
  fixed framerate of 60, then sends either too many or too few audio
samples per frame in order to force the frontend to run at the correct
speed (.e.g. making the frontend run in slow motion for games that run
at 30fps) - this is undesirable for libretro, we want a consistent
amount of audio samples per batch. See further comments in libretro.cpp
for more information
2021-12-05 17:31:36 +01:00
Unknown W. Brackets
5b5a8c9c05 libretro: Expose bool system properties. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets
9730251132 UI: Remove I/O on thread setting.
Still configurable in the ini if really needed, for now.
2021-10-12 20:40:24 -07:00
Unknown W. Brackets
be5c6306d2 libretro: Remove auto texture scaling option.
Functionality removed in 887f610.
2021-10-05 19:33:13 -07:00
Stuart Kenny
f442f4012c Expose texture shader core option. 2021-09-08 16:42:11 +01:00
Stuart Kenny
6350b41d3f Expose new texture filtering option and fix runtime changing texture upscale mode 2021-09-08 09:27:15 +01:00
Unknown W. Brackets
bac7def66b
libretro: Fix typo. 2021-09-06 19:47:39 -07:00
Henrik Rydgård
be87acf62b libretro: Fix defaults for texture_scaling_level and inflight_frames 2021-09-07 00:51:28 +02:00
Stuart Kenny
feade27cd3 Review style fixes. 2021-09-06 21:01:17 +01:00
Stuart Kenny
c593da050c Expose inflight frames as core option. 2021-09-06 20:14:08 +01:00
Stuart Kenny
0f45c95d17 Fix capitalization in core option labels. 2021-09-06 20:13:07 +01:00
Stuart Kenny
6db91abf17 Move core initialization code out of retro_load_game method 2021-09-06 20:10:13 +01:00
Stuart Kenny
3b39b6fcaa Do not fast forward by default. 2021-09-06 20:03:57 +01:00
bslenul
5ba544ebab [Libretro] Small core options cleanup + create a new git-version.cpp instead of appending stuff in it 2021-08-30 16:38:37 +02:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Autechre
308f74ddae
(Libretro) Switch back to earlier base_width/base_height values
We decided on fixing this issue at the frontend level instead of the core side. Our apologies for this secondary PR, we'd appreciate if it could be merged quickly.
2021-08-17 01:13:24 +02:00
Autechre
23f1443949
Set base_width/base_height to sane dimensions (480x272)
base_width/base_height should be set to the lowest/default PSP internal resolution, which in this case is 480x272. Setting base_width/height the same as max_width/max_height would create problems with windowed mode in RetroArch, it would try to create a huge window (often times far exceeding the desktop size).
2021-08-15 10:03:19 +02:00
Henrik Rydgård
d62899efcd
Merge pull request #14711 from unknownbrackets/reverb-volume
Sas: Add option to control reverb volume
2021-08-10 13:02:30 +02:00
Unknown W. Brackets
ff9b9f7321 Sas: Add option to control reverb volume.
This also allows you to turn it off.
2021-08-09 20:47:24 -07:00
Brian Blakely
379f075c85
Do not call methods on gpu if it is null. Fixes #13412 (sans video rewind). (#14674)
* Do not call methods on gpu if it is null. Fixes 13412 (sans video rewind).

* Do not call methods on gpu if it is null. Fixes #13412 (sans video rewind).

* Ensure PSP is init before measuring state size.

* Continue running core until GPU is ready.

* Libretro: Bypass state measure during init.

* Sync ffmpeg version with master.

* Do not call methods on gpu if it is null. Fixes #13412 (sans video rewind).

* Ensure PSP is init before measuring state size.

* Continue running core until GPU is ready.

* Libretro: Bypass state measure during init.

* Sync ffmpeg version with master.
2021-08-09 23:16:30 +02:00
Unknown W. Brackets
a1b88bedd9 SaveState: Validate size matches measured.
In #14653, a save state appears to have been generated truncated.
This attempts to detect that at generation time.
2021-08-07 13:55:29 -07:00
bslenul
0446608f4a Update libretro.cpp 2021-08-02 12:11:39 +02:00
Stuart Kenny
156ae2e81f Fix English language mapping after recent i18n additions. 2021-07-24 18:59:58 +01:00
opa
9d3caecc3f better formatting 2021-07-18 21:16:09 +09:00
opa
19721a0a5f Add i18n inifile load on libretro startup 2021-07-18 14:59:21 +09:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Stuart Kenny
02a24cdb7d Fix black screen on multiple libretro content loads.
Moves ThreadPool teardown to retro_unload_game. Gives ThreadPool threads some breathing room to terminate before game load starts spamming it with tasks.
2021-07-08 08:34:48 +01:00
bslenul
9539fb2ea0 [Libretro] Fix analog left direction for FFT 2021-07-01 12:18:57 +02:00
Henrik Rydgård
2d6a73792b Untested libretro fixes, misc 2021-06-12 23:42:52 +02:00