Commit Graph
614 Commits
Author SHA1 Message Date
Brian BlakelyandGitHub 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
Henrik RydgårdandGitHub ff340b8183 Merge pull request #14561 from archanox/master
RISC-V Port
2021-08-07 13:36:13 +02:00
bslenul 0446608f4a Update libretro.cpp 2021-08-02 12:11:39 +02:00
Pierce Andjelkovic 8541c446d6 Merge branch 'master' of github.com:archanox/ppsspp-riscv 2021-07-28 21:59:11 +10:00
Pierce Andjelkovic d9a3741fcb RISC-V CPU detect 2021-07-28 21:58:56 +10: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
Henrik Rydgård 98372c465f Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
Additionally, break out the analog stick mapping to the same file.

This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +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 446c2c027e Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager. 2021-06-12 13:03:53 +02:00
Henrik Rydgård 73871b9b7e Implement new thread manager, port stuff to it. 2021-06-12 13:03:53 +02:00
Henrik Rydgård 9b32ea2f55 Split out AndroidStorage.cpp from android/jni/app-android.cpp, move to Common 2021-06-07 00:26:24 +02:00
Henrik Rydgård a2fa724d8e Convert GetFileSize to use Path 2021-06-07 00:24:51 +02:00
Unknown W. Brackets 64678e0114 Reporting: Move message report interface to Common.
This makes it so we can call reporting from Common.
2021-06-06 09:22:03 -07: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
Henrik RydgårdandGitHub 6dc602ad40 Merge pull request #14469 from unknownbrackets/dep-update
Update zstd and libpng
2021-05-16 22:58:13 +02:00
Unknown W. Brackets f6a1ffdd14 Update zstd to 1.5.0.
This improves GE frame dump compression speed and ZIM load speed.
2021-05-16 11:15:24 -07: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 025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik RydgårdandGitHub d775bf4e4c Merge pull request #14442 from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Unknown W. Brackets 18a51b8e97 Update libzip to 1.7.3. 2021-05-09 20:45:53 -07:00
Henrik RydgårdandUnknown W. Brackets a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Unknown W. Brackets 1e22966984 http: Separate out net buffer code from formatting. 2021-05-01 11:20:05 -07:00
Unknown W. Brackets 8a8328c431 Common: Move ColorConv to a more appropriate place. 2021-05-01 11:20:05 -07:00
Henrik RydgårdandUnknown W. Brackets f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Henrik RydgårdandUnknown W. Brackets e6aa841b78 Common: Get rid of Executor.cpp/h.
There was only one implementation.
2021-04-30 22:33:34 -07:00
Henrik Rydgård eb07a3e111 Buildfixes 2021-04-18 00:34:18 +02: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
twinaphex 6d9879769b Fix libretro build 2021-04-12 20:00:49 +02:00
Henrik RydgårdandGitHub a7d7631feb Merge pull request #14369 from unknownbrackets/zstd
Use zstd for save states, GE frame dumps, and ZIMs
2021-04-12 08:35:58 +02:00
Unknown W. Brackets d3e2aa6d28 Build: Add libzstd to build. 2021-04-11 09:13:10 -07: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
twinaphex 35e743c685 (Libretro/Gitlab) Add osx x64 target 2021-03-26 18:06:36 +01:00
Unknown W. Brackets ff98d81e33 Build: Simplify by always including FakeCPUDetect. 2021-03-20 17:25:50 -07:00
Henrik Rydgård dc873bbd42 Add missing -DWITH_UPNP in a couple more places. 2021-03-20 13:46:45 +01:00
Unknown W. Brackets d9aecffd72 Build: Remove old ARM define. 2021-03-02 21:26:03 -08:00
Unknown W. Brackets 5119d79082 Build: Remove IOS define. 2021-03-02 21:04:03 -08:00