Commit Graph

249 Commits

Author SHA1 Message Date
刘皓 5716cbd41d Use the libretro VFS interface in libretro builds 2026-01-01 00:24:01 -05:00
刘皓 a018cfc017 Update libretro-common and remove redundant libretro header files 2025-12-30 23:06:58 -05:00
Eric Warmenhoven a4a1752f61 libretro: fix mac build 2025-11-11 09:39:39 -05:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård 5aeab28e9b Remove the "Percentage of framerate" frameskip type 2025-10-20 11:49:41 +02:00
Henrik Rydgård 176c55da25 Remove unused "interval" concept from presentation mode 2025-10-19 18:18:06 +02:00
Henrik Rydgård b472eb8b8b Remove a lot of unnecessary string constructors 2025-08-31 15:49:29 +02:00
Henrik Rydgård 380fa19d3c Another std::string_view change, buildfix 2025-08-31 15:24:33 +02:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård a1d0f405b1 Remove quantization error thingy. Other cleanup 2025-08-22 21:21:19 +02:00
Bobby Smith b717de67e9 [Libretro] Display a warning message if assets are missing 2025-08-07 12:14:55 +02:00
helloimhana123 5986c0148c Fixed RetroArch auto save states not working 2025-06-21 20:56:20 +02:00
Henrik Rydgård a630790d69 libretro: Fix the combination of Force Real Clock Sync and fastforward 2025-06-07 01:28:22 +02:00
sonninnos 08a1c10525 Libretro: Fix reset hang 2025-05-22 00:58:44 +03:00
Henrik Rydgård d77725bc26 libretro: Fix GPU init. Had to revert to the old way for libretro, something is ordering-sensitive here.
Fixes #20350
2025-05-17 10:18:07 +02:00
Henrik Rydgård 80147f318e Remove PSP_CancelBoot, assorted cleanup 2025-05-13 13:58:28 +02:00
Henrik Rydgård 879ec7ed06 Various libretro fixes. 2025-04-09 10:32:53 +02:00
Henrik Rydgård 6b37c8895d libretro buildfix 2025-04-05 09:18:56 +02:00
Henrik Rydgård 24b30cc709 Mostly remove coreState management from System.cpp 2025-04-05 09:18:56 +02:00
Henrik Rydgård 940e2375aa Libretro: Correctly update the boot process
Made untested changes after #20183 - surprise, it didn't work.

Thanks @Duarte475 for reporting.

Fixes #20189
2025-03-31 14:16:17 +02:00
Henrik Rydgård a131fb6149 Libretro fixes 2025-03-30 15:34:01 +02:00
Henrik Rydgård d3600ca127 Libretro buildfix 2025-03-30 11:28:14 +02:00
Henrik Rydgård 8d9b3f28f2 Reintroduce "cache ISO in RAM" 2025-03-27 00:46:31 +01:00
Henrik Rydgård 4eaad7d5af Remove the "Cache full ISO in RAM" feature
It's been broken for years and nobody has even noticed enough to report
it.
2025-03-26 09:06:33 +01:00
Henrik Rydgård 5fcf0c6276 Swap the Cancel and No functions in the assert dialog. Plus a function rename and some safety checks. 2025-03-25 00:01:14 +01:00
Henrik Rydgård d6d1b5bbdc Add mechanism to run any closure on the main thread 2025-03-03 13:59:39 +01:00
Henrik Rydgård cf90b24431 Add UI volume setting (affecting navigation sounds and preview audio). Convert alt speed volume into a 100-step percentage. 2025-02-11 17:42:09 -06:00
Henrik Rydgård 9b923b72c1 Refactor audio output, preparing for better volume control 2025-02-11 16:43:29 -06:00
Nukem d3aeff861e libretro: Restore Vulkan MSAA video option 2025-01-10 16:13:16 -05:00
Nukem 02857afba4 libretro: Fix buffered frames option values 2025-01-09 21:22:57 -05:00
Bobby Smith c522e53e79 [Libretro] Crash fix 2024-12-19 12:43:55 +01:00
Henrik Rydgård 96cab3f267 Rework the log manager to be more robust 2024-12-16 12:33:58 +01:00
Henrik Rydgård df91f699fc Move the core loop to Core.cpp 2024-12-08 11:47:12 +01:00
Henrik Rydgård 3ffff831c7 Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows. 2024-12-03 21:39:42 +01:00
Henrik Rydgård 0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård 96c4a10e8c Add two new core states, rename RUNNING to RUNNING_CPU and similar for stepping. 2024-12-01 21:04:21 +01:00
Bobby Smith 25e6c16bd2 [Libretro] Fix deadzone and sensitivity 2024-11-29 00:49:27 +01:00
Bobby Smith 41d47710ad [Libretro] Fix crash on boot 2024-11-28 16:15:38 +01:00
Henrik Rydgård 59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård 758faac445 Be more consistent about thread naming 2024-11-05 12:53:21 +01:00
Henrik Rydgård 1f8549045d Default Discord rich presence to off 2024-11-02 21:36:30 +01:00
Nejsplitter e6b84a7f71 [libretro] Expose "analog deadzone" and "analog sensitivity" options (#19540)
* [libretro] Expose "analog deadzone" option

* [libretro] Expose "analog deadzone" option

* Update libretro.cpp

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro.cpp

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h

* Update libretro_core_options.h
2024-10-22 23:20:17 +00:00
Henrik Rydgård 9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård 96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
sonninnos 4c1b50a394 libretro: Do internal fastforward toggling only with ForceLagSync 2024-06-05 16:40:47 +03:00
sonninnos 4aa8d3a818 libretro: Add autostateload unserialize crash safeguard 2024-06-05 16:36:43 +03:00
sonninnos 0b677dcfdf libretro: Logging correction 2024-06-05 16:36:38 +03:00
sonninnos 49b9319570 libretro: Revised software rendering option 2024-06-04 14:25:46 +03:00