Commit Graph

416 Commits

Author SHA1 Message Date
Henrik Rydgård
9bd67df5b2 Achievement savestate fixes 2023-07-08 21:47:16 +02:00
Henrik Rydgård
8fa7cb2122 iOS buildfix, cleanup 2023-06-20 16:10:13 +02:00
Henrik Rydgård
688042c036 Unrelated warning fix 2023-06-04 23:02:34 +02:00
Henrik Rydgård
5d028cb004 Upgrade SDL for Mac
This removes the option to use system SDL, which seems like a trap.

Also simplifies the macbundle.sh script accordingly.

Buildfix

Buildfix fix

Moar buildfix
2023-04-25 11:45:20 +02:00
Henrik Rydgård
d996fb74d4 MSVC: Set language standard to c++17.
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Unknown W. Brackets
839bc1fc87 headless: Fix screenshot failure.
Needs to output to the collected output for it to actually show as a
failure.
2023-03-31 23:51:04 -07:00
Unknown W. Brackets
00d84695d8 headless: Rename collectEmuLog for clarity.
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Unknown W. Brackets
76ef95a841 headless: Remove printfEmuLog, simplify output. 2023-03-26 10:17:34 -07:00
Unknown W. Brackets
42f64e34e8 headless: Rename StubHost to HeadlessHost.
It's had that weird name forever, get rid of it.
2023-03-25 17:49:05 -07:00
Unknown W. Brackets
0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Unknown W. Brackets
4e3ec384fb headless: Use requests for debug output.
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Henrik Rydgård
143f499d11 Remove a few of the Host implementations 2023-03-25 10:37:49 +01:00
Henrik Rydgård
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård
adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +01:00
Henrik Rydgård
5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård
349b73acec
Move the resampler usage to a common file, AudioCommon. (#17176)
* Move the resampler usage to a common file, AudioCommon.

Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.

* Android.mk typo

* libretro makefile fix

* libretro buildfix

* libretro: try a different approach for the temporary solution

* duh

* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård
8804c3c69f
Merge pull request #17166 from unknownbrackets/headless-cleanup
headless: Avoid ugly casts
2023-03-23 07:22:32 +01:00
Unknown W. Brackets
d8986af367 headless: Avoid ugly casts. 2023-03-22 22:51:00 -07:00
Henrik Rydgård
b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård
de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård
47f063550a Remove InitGraphics/ShutdownGraphics from Host, except for headless 2023-03-21 22:47:20 +01:00
Henrik Rydgård
f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Henrik Rydgård
5fae4f36db Move SkipUI function 2023-03-21 13:39:02 +01:00
Henrik Rydgård
f60f5ccaea Move SetDebugMode notification 2023-03-21 13:39:00 +01:00
Henrik Rydgård
fc1732cc22 Move NotifySwitchUMDUpdated 2023-03-21 13:37:19 +01:00
Henrik Rydgård
c92a4acb40 Move NotifySymbolMapUpdated to System_Notify 2023-03-21 13:37:19 +01:00
Henrik Rydgård
dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +01:00
Henrik Rydgård
06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård
d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Unknown W. Brackets
9f04d09fb4 Headless: Use a single method for assets paths.
There were multiple ways and this likely makes more sense.
2023-03-12 16:46:51 -07:00
Unknown W. Brackets
c127ff47a3 Headless: Load assets from parent dir on Windows.
This is the default debug setting in our MSVC project, so make it easy.
2023-03-12 13:34:41 -07:00
Unknown W. Brackets
7e910b7d65 Headless: Allow @listfile to run multiple.
Just for easy debugging of a long list of tests.
2023-03-12 13:34:10 -07:00
Henrik Rydgård
a43b62537a Buildfixes 2023-03-07 20:22:28 +01:00
Henrik Rydgård
a8bdf11fdc Headless buildfix 2023-03-06 16:56:16 +01:00
Henrik Rydgård
53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00
Henrik Rydgård
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård
cb16f193ec Fix the problem. Still need to leave the loop with SDL even if we supply a swap function. 2023-01-30 15:45:05 +01:00
Henrik Rydgård
b62572a78f Refactor the framedata/GPU thread management. 2023-01-30 11:49:31 +01:00
Unknown W. Brackets
1480b4eda4 headless: Shutdown SDL at the end. 2023-01-07 06:54:37 -08:00
Unknown W. Brackets
f6c26ecac0 Headless: Prevent crash on errors in graphics init. 2022-12-24 17:43:32 +00:00
Unknown W. Brackets
f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
7950a00c14 Headless buildfix. Crashfix in shader generator test. 2022-12-01 22:49:00 +01:00
Henrik Rydgård
a0f27c7442 Implement depth/stencil resolve. (We probably only need depth resolve since we don't texture from stencil, but whatever). 2022-12-01 22:49:00 +01:00
Henrik Rydgård
75dc856e2c Test fix 2022-11-23 08:52:46 +01:00
Henrik Rydgård
c91e7912bf Change "Simulate block transfer" to "Skip GPU Readbacks". Group the speed hacks together 2022-11-06 19:30:38 +01:00
Henrik Rydgård
519db766b6 Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations. 2022-11-06 19:26:56 +01:00
Unknown W. Brackets
21573f4302 headless: Fix crash running some tests on Vulkan.
If there's no frame display, tests were crashing because no backbuffer
present blit happened.  This allows those tests to run.
2022-10-18 21:34:59 -07:00
Unknown W. Brackets
f009d15078 headless: Allow screenshot to not be 512x272.
Ended up with a cropped screenshot for a frame dump, which just silently
crashed.  Could reject, but easy enough to support.
2022-10-18 21:33:47 -07:00
Henrik Rydgård
d30d8bf35c Removes the option, autodetect instead - only enable if the GPU doesn't support bitwise ops. 2022-10-11 16:09:57 +02:00