Commit graph

88 commits

Author SHA1 Message Date
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
Henrik Rydgård
19bd943adc
Merge pull request #13865 from unknownbrackets/unthrottle
Display: Change default unthrottle mode on non-Windows
2021-02-16 08:42:56 +01:00
Henrik Rydgård
b0fdc7a300 Turn funcreplacments on in libretro builds. See #12322 2021-02-16 00:19:10 +01:00
Unknown W. Brackets
4df04056ba libretro: Always use SKIP_FLIP.
This was probably preventing fast forward.
2021-02-15 14:16:50 -08:00
Henrik Rydgård
978d8cff82 libretro: Remove "Unsafe FuncReplacements" option. See #12322
Also, fixes #14108 by adding a frame duplication option.
2021-02-15 09:35:35 +01:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård
37e939fcf2 Expose the "Lower resolution for effects" setting in libretro. Fixes #11099 2020-11-11 00:04:02 +01:00
Florin9doi
6531c7f4f8 [Android] Retrieve isMicStarted from AndroidAudio state 2020-10-24 20:16:22 +03:00
Unknown W. Brackets
53ba351797 Headless: Define consistent memstick size. 2020-10-19 21:44:46 -07:00
aliaspider
2a6e4dfe7d Libretro: set Memory Stick Size config value. fixes #13552. 2020-10-17 17:09:47 +01:00
aliaspider
b5f7f5350a Libretro: add SYSPROP_DISPLAY_SAFE_INSET* properties. fixes screen frame
size.
2020-10-15 00:10:36 +01:00
Henrik Rydgård
61567796a2 libretro: Fix screen size problem in Vulkan.
(Still something is slightly off, there are duplicated lines on screen.
Can't figure out what)
2020-10-11 20:26:39 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00