Commit Graph

194 Commits

Author SHA1 Message Date
Unknown W. Brackets
3df6cb704f Global: Fix some type conversion warnings.
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
7e814decc7 Headless: Improve total test time on Windows.
This improves it by almost 40%.
2022-01-30 08:27:22 -08:00
Unknown W. Brackets
e062c31a82 Headless: Improve test init time. 2022-01-30 08:04:35 -08:00
Unknown W. Brackets
9c695aea9a Headless: Remove stack corruption workaround.
This doesn't seem necessary anymore, was made static in 2013.
2022-01-29 14:07:26 -08:00
Unknown W. Brackets
1cbbd197b2 Headless: Return an exit code on test failure. 2022-01-22 00:14:16 -08:00
Unknown W. Brackets
85d868a369 Headless: Fix font tests on Linux. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
0ef1df79b9 headless: Enable softgpu jit for tests. 2021-11-28 15:54:48 -08:00
Unknown W. Brackets
b6c6a5bb3f GPU: Default vertex cache to off.
Previously, it was defaulted on only for OpenGL, where it didn't work.
2021-09-14 23:43:29 -07:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +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
Unknown W. Brackets
0a5a3d4ef4 Headless: Cleanup extraneous output. 2021-08-07 17:55:22 -07:00
Henrik Rydgård
81f0c3a8e4 Address feedback (except the mailbox refcount) 2021-06-13 10:16:53 +02:00
Henrik Rydgård
0fa27ff9d7 Autodetect number of threads (remove setting). Fix some bugs. 2021-06-12 21:06:59 +02:00
Unknown W. Brackets
f2b2f26e8e Common: Use Path for GetExeDirectory(). 2021-05-15 11:12:54 -07:00
Unknown W. Brackets
2558022afe Config: Move data path settings to Paths. 2021-05-15 11:11:37 -07:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02: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
ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

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ård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Henrik Rydgård
bd7b283399 Add iOS version detection, turn off JIT on bootup if >= 14.3. 2021-02-22 09:16:51 +01:00
Unknown W. Brackets
114e73ffc9 Headless: Allow connecting the web debugger. 2021-01-16 19:07:25 -08:00
Unknown W. Brackets
e2efc245db Android: Fix headless and unittest build. 2021-01-10 12:16:02 -08: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
Unknown W. Brackets
3c9ab13672 GPU: Remove NULL GPU.
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00
Unknown W. Brackets
83cae815b4 Headless: Always use at least software rendering. 2021-01-02 09:27:17 -08:00
Henrik Rydgård
fa466d2363
Merge pull request #13850 from unknownbrackets/warnings
Cleanup some warnings and a logger shutdown crash
2021-01-01 19:53:10 +01:00
Unknown W. Brackets
83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Unknown W. Brackets
c73d8ab1d0 Headless: Add specific GitHub Actions logging. 2020-12-31 00:21:09 -08:00
Unknown W. Brackets
af7c97d624 Headless: Cleanup TeamCity handling in test.py. 2020-12-31 00:21:09 -08:00
Henrik Rydgård
44ec286ba4 Framebuffer: Keep the render scale factor around, no need to recompute it. 2020-11-06 09:11:57 +01:00
Unknown W. Brackets
53ba351797 Headless: Define consistent memstick size. 2020-10-19 21:44:46 -07: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
821817e6d4 Move the profiler 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
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Unknown W. Brackets
c1ce8383ae Headless: Setup logman earlier.
So we can control all the GPU init logging.
2020-09-08 15:52:39 -07:00
Henrik Rydgård
c8a06d40c9 Buildfix 2020-08-16 10:00:26 +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
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Unknown W. Brackets
4ef63843d2 Display: Allow unthrottle to skip only flipping.
Before, it either flipped continuously, or forced frameskip on.  This
makes it so you can still draw frames, but skip actual flips.

This is useful when games draw things only in a single frame and reuse
later.  It's also useful when measuring speed improvements if you already
get 100% speed on a device.
2020-07-19 13:57:04 +02:00
Unknown W. Brackets
86c0418f14 Headless: Fix flash0/font path.
This was causing some automated tests to fail incorrectly, after the
assets/flash0/ change.
2020-05-23 10:40:32 -07:00
Henrik Rydgård
f77b78d429 Oops, need to pass an (invalid) slot number in headless too. 2020-05-16 18:38:30 +02:00
Unknown W. Brackets
580c74c3e7 Audio: Remove latency setting.
This setting only changes some internal values that are shown in tests not
to match PSP behavior.  Removed, it now matches how the PSP works.

This setting wasn't really affecting any actual audio latency.
See #11844.
2020-04-08 00:08:19 -07:00
Unknown W. Brackets
41dfe05de2 Headless: Fix compile on Android. 2020-04-05 15:23:13 -07:00
Unknown W. Brackets
6b453c4708 Net: Better simulate sceWlanGetEtherAddr timing.
Also, interestingly, this does not fail if the wifi switch is off.
2020-03-15 11:37:12 -07:00
Unknown W. Brackets
dfb10f197e Net: Handle memory allocation better. 2020-03-15 11:37:12 -07:00