Commit graph

108 commits

Author SHA1 Message Date
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
Henrik Rydgård
a2fa724d8e Convert GetFileSize to use Path 2021-06-07 00:24:51 +02:00
Henrik Rydgård
0328816870 Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.
Also make currentDirectory a Path, and add support for Path config
parameters.

Buildfixes

More Qt buildfixes

Oops, didn't mean to change zstd ver
2021-05-30 00:49:47 +02:00
Unknown W. Brackets
7b175627b3 VFS: Use Path for DirectoryAssetReader. 2021-05-15 11:12:04 -07:00
Unknown W. Brackets
2558022afe Config: Move data path settings to Paths. 2021-05-15 11:11:37 -07:00
Unknown W. Brackets
15038bb663 Common: Remove File funcs redundant with Path.
Shouldn't use these anymore anyway.
2021-05-15 11:11:37 -07:00
Henrik Rydgård
a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Stuart Kenny
1846c62a85 Fix defaults for io threading and vertex cache 2021-04-15 13:22:59 +01:00
Stuart Kenny
24d20d3d2e Remove duplicate from hardcoded settings 2021-04-15 11:05:12 +01:00
Stuart Kenny
b51bd3b974 whitespace nit 2021-04-14 23:28:07 +01:00
Stuart Kenny
d2967962cc Reorder core options 2021-04-14 23:14:52 +01:00
Stuart Kenny
238c5d0cd7 Further core options and defaults 2021-04-13 23:01:46 +01:00
Stuart Kenny
916176bd5d Add defaults and core options 2021-04-13 21:07:48 +01:00
Stuart Kenny
c06035aa31 Enable save encryption to bring libreto in line with standalone configuration defaults.
Fixes issue with saving in Toca Race Drive 2 and 3
2021-04-11 11:52:10 +01:00
Unknown W. Brackets
13ec384dbe Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it.  Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
e4ef9cd4f5 libretro: Always use CONTINUOUS flipping. 2021-02-17 21:08:55 -08:00