Commit Graph

2053 Commits

Author SHA1 Message Date
Michael Buckley c9b0d104f8 Mac: Fix a crash when enumerating USB devices without a name. Closes #810 2023-01-17 07:55:59 -08:00
Michael Buckley aa5f80c34e
Merge pull request #808 from UltraHDR/patch-1
macOS: Set LSApplicationCategoryType to games
2023-01-10 21:10:19 -08:00
UltraHDR 406383a02e
macOS: Set LSApplicationCategoryType to games
https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype
macOS will auto-add it to the agmes folder in macOS Launchpad
2023-01-10 21:08:10 +00:00
OV2 c23ba00aec win32: update directx sdk download link 2022-12-31 13:51:38 +01:00
OV2 3c4982eddd msu1: return minimum available samples in resamplers 2022-11-06 02:14:49 +01:00
OV2 4b8d3c6c6b msu1: revert to start for invalid loop positions (#778) 2022-11-06 02:11:37 +01:00
OV2 5c889d9488 win32: add st to rom file extensions (#793) 2022-11-06 00:44:45 +01:00
Michael Buckley 6ac52499ba Mac: Fix port leak 2022-11-05 12:08:09 -07:00
bearoso 96983736ad
Merge pull request #795 from kbrighton/msu-1-gtk-fix
Fixes issue where non-archive msu-1 files would have improper file extensions
2022-11-03 12:06:23 -05:00
Nick Burtner 86ab38408c Fixes issue where non-archive msu-1 files would have improper file extensions 2022-11-01 17:50:21 -04:00
Michael Buckley 55d50c7fbd Mac: Wait for metal command buffer to finish before presenting drawable, properly this time 2022-10-30 20:58:11 -07:00
Michael Buckley 2956be7559 Revert "Mac: Wait for metal command buffer to finish before presenting drawable"
This reverts commit a2ebe3f09f.
2022-10-30 20:57:55 -07:00
Michael Buckley a2ebe3f09f Mac: Wait for metal command buffer to finish before presenting drawable 2022-10-30 20:02:11 -07:00
BearOso ae12429a0d Move AddCycles to be consistent with other OPs. 2022-10-22 14:51:44 -05:00
BearOso a33f0f3540 Adjust opcode timing as reported by pi1541. 2022-10-21 17:42:40 -05:00
Michael Buckley 28be1a196d Mac: Remove logger.cpp from project 2022-09-08 08:01:13 -07:00
Michael Buckley 6b9f79a9e3 Mac: Cheat entry 2022-09-08 07:57:27 -07:00
OV2 8685db48a7 Reset save timer before loading new rom (fixes #782) 2022-09-01 16:08:22 +02:00
BearOso 8c0a4a4168 Gtk: Fix replacing last directory component instead adding filename 2022-04-30 12:37:07 -05:00
BearOso f3fafab8b3 Remove unused logger.cpp and logger.h. 2022-04-25 15:45:39 -05:00
BearOso 3c729a9763 Gtk: Remove option to disable OpenGL.
OpenGL is the optimal display mode until Vulkan is in, and it's
mandatory on Wayland. Don't let it be disabled.
2022-04-19 17:22:42 -05:00
BearOso 1085ed6fad Remove Settings.SupportHires
There's no point in disabling it at this point, so it's always supported.
2022-04-13 15:06:13 -05:00
BearOso 7cbe92afa0 Use MAX_SNES_HEIGHT, not SNES_HEIGHT_EXTENDED. 2022-04-12 18:45:33 -05:00
bearoso 730b933126
Merge pull request #760 from realnc/fix-libretro-runahead-audio
libretro: Fix audio not being submitted when rendering is disabled
2022-04-12 10:19:06 -05:00
Nikos Chantziaras 1ea6ef5061
libretro: Fix audio when video rendering is disabled
In commit 6628042fe3, audio upload was
moved from retro_run() to S9xDeinitUpdate(). This breaks audio when
runahead is enabled in RetroArch.

With second-instance runahead, S9xDeinitUpdate() is not called when
video rendering is disabled and thus the core instance responsible for
audio is not uploading the audio. With single-instance runahead, audio
is uploaded twice because video rendering is always enabled and thus
S9xDeinitUpdate() gets called twice per frame.

Fix this by introducing a callback that gets called at the end of every
screen refresh, regardless of whether or not rendering is active for
this frame. We can then decide in the callback whether or not audio
should be uploaded.
2022-04-12 16:08:54 +03:00
BearOso 6628042fe3 libretro: Get audio samples during frame callback. 2022-04-11 16:04:29 -05:00
BearOso ba472fe3ef Actually use buffer_size. 2022-04-10 21:04:56 -05:00
BearOso 4f634fcfb2 Adapt to non-contiguous GFX.Screen. 2022-04-10 18:31:36 -05:00
BearOso cd3aba52dd Add cast. 2022-04-10 18:20:59 -05:00
BearOso 568991681d Attempt to blindly fix MacOS. 2022-04-10 18:16:16 -05:00
BearOso a953721967 win32: Adapt to GFX.Screen in core. 2022-04-10 17:26:32 -05:00
BearOso aa6abace40 Create output buffer in core.
TODO: Fix Windows.
2022-04-10 16:41:16 -05:00
BearOso 784667f5b2 Gtk: Update gtk_file.cpp for modern C++
Uses std::filesystem and std::string.
2022-04-09 17:19:01 -05:00
BearOso 78d006ffdb cirrus.yml: Add cmake dep to Gtk build. 2022-03-24 16:41:39 -05:00
BearOso b759ebbf19 Gtk: Lower meson required version. 2022-03-24 16:37:35 -05:00
BearOso 8b0cc9ae52 Gtk: Add missing CMake options. 2022-03-24 16:33:20 -05:00
BearOso a4cf41e879 Gtk: Add CMake as build option. 2022-03-24 12:21:52 -05:00
BearOso 17cb084df0 Gtk: Experiment with symlink. 2022-03-22 14:09:30 -05:00
BearOso 0a20681778 libretro: Send all samples at frame end. 2022-03-21 18:31:28 -05:00
BearOso 2262544c4e libretro: Sound buffering change. 2022-03-21 14:53:21 -05:00
BearOso 93d538dfaf Fix errant h. 2022-03-18 16:12:15 -05:00
BearOso 470e55650a win32: Adjust to moved external deps. 2022-03-18 15:50:05 -05:00
BearOso fe5fbb0c80 Gtk: Fix compile with moved deps. 2022-03-18 15:49:54 -05:00
BearOso 88f4d66de8 Move GPU related submodules to external. 2022-03-18 15:49:29 -05:00
BearOso a8fafcd94c Gtk: Clean up a couple sound drivers.
Make them more idiomatic C++.
2022-03-12 11:19:39 -06:00
BearOso 0a94eaa6dc Revert "LoROM: Don't map SRAM if size is 0."
This reverts commit 386bfe0aa9.
2022-03-07 11:28:19 -06:00
bearoso 7e97bb59a1
Merge pull request #738 from ds22x/master
[Libretro] Create a separate aspect ratio option for "4:3 Preserved"
2022-03-03 10:41:25 -06:00
BearOso 1041ff3e24 Gtk: Add Ukrainian translation from StanleyKid-22. 2022-03-01 18:22:03 -06:00
bearoso 29d319ad78
Merge pull request #735 from jSTE0/microopt
Microoptimisations from jSTE0
2022-02-21 17:47:02 -06:00
bearoso f9687e5350
Update changes.txt
Fix typo.
2022-02-19 13:28:33 -06:00