Commit Graph

202 Commits

Author SHA1 Message Date
ds22x 000aa6fa78
Fix Libretro netplay immediately disconnecting 2023-05-09 22:53:34 +02:00
OV2 33d84d31b8 libretro: remove unused S9xGetFilename, pass original rom filename when
loading (#836)
2023-03-28 18:10:18 +02:00
BearOso 16a45f7b92 libretro: Get rid of EndScreenRefreshCallback.
Just use S9xSyncSpeed, which was there all along.
2023-03-20 16:16:43 -05:00
BearOso d8eb6c7074 libretro: Fix CFLAGS including CXXFLAGS. 2023-03-13 16:47:08 -05:00
BearOso 49b7d45fd0 libretro: Try c++14 for macOS. 2023-03-07 14:01:29 -06:00
BearOso 38603e8a0d libretro: Add -std=c++17 to macOS target. 2023-03-07 14:01:29 -06:00
BearOso 7fa64f4781 See if this works for CI fixes. 2023-03-07 13:58:22 -06:00
BearOso 18b5a09a16 Fix libretro compilation. 2023-03-07 13:58:22 -06:00
BearOso 9ed560de2f Make SNES memory allocations static. 2023-03-07 13:58:21 -06:00
BearOso f3fafab8b3 Remove unused logger.cpp and logger.h. 2022-04-25 15:45:39 -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
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 aa6abace40 Create output buffer in core.
TODO: Fix Windows.
2022-04-10 16:41:16 -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
ds22x 054e2f55b1 Add missing translated entry 2022-02-14 13:49:35 +01:00
ds22x eb7ddae407 Create a separate aspect ratio option for '4:3 Preserved' 2022-02-14 13:44:49 +01:00
Nikos Chantziaras 1d1140db1c
libretro: Fix 4:3 aspect ratio to actually be 4:3 regardless of cropping 2022-02-02 20:13:17 +02:00
BearOso a4efafbd2e libretro: Fix interaction with Blargg filter and hires. 2022-01-30 20:03:34 -06:00
BearOso bb622bdf5b Add a compat.cpp file for compatibility symbols. 2020-09-07 10:57:17 -05:00
BearOso e705e71a97 Remove S9xChooseMovieFilename
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-07 14:08:51 -05:00
BearOso f04f1bbe44 Remove S9xChooseFilename
This is integration of the frontend with the core. Disable
the snapshot button mappings that use it. Any frontend should
implement those port commands its own.
2020-08-07 14:08:51 -05:00
BearOso 063b3a959c Move _splitpath and _makepath into core. 2020-08-07 14:08:51 -05:00
BearOso e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
Brandon Wright ab4b9513f2 libretro win32: Really fix build. 2019-10-18 16:50:57 -05:00
Brandon Wright 5908b78a21 libretro-win32: Fix build. 2019-10-17 11:14:20 -05:00
Yoshi Sugawara bd9246ddd7 (tvOS) support building using tvOS SDK 2019-10-11 22:00:26 -05:00
Aaron Kling d93d4c95cb libretro: allow mingw cross compile 2019-10-11 22:00:26 -05:00
jdgleaver 89a997a02b (Core Options) Fix UTF-8 compilation issues, update 'libretro_core_options.h' to v1.3 format 2019-10-11 22:00:26 -05:00
Ömercan Kömür 2803917397 Turkish Language Support 2019-10-11 22:00:26 -05:00
jdgleaver 97f11174b1 Use consistent 'Light Gun' naming 2019-10-11 22:00:26 -05:00
jdgleaver ae5af44e60 Further sanitise core options 2019-10-11 22:00:26 -05:00
jdgleaver a39fd1128b Sanitise order of core option values 2019-10-11 22:00:26 -05:00
Twinaphex 9ed2d39d3b Update Makefile 2019-10-11 22:00:26 -05:00
jdgleaver 28cfaefd0e Fix build warnings 2019-10-11 22:00:26 -05:00
jdgleaver c0205338d8 Add core option sublabels 2019-10-11 22:00:26 -05:00
Yoshi Sugawara 44401058a1 Lightgun support
move touchscreen lightgun input handling to its own method; support touch sensitivity

support reversing super scope trigger/cursor buttons for games like Operation Thunderbolt and T2: The Arcade Game where cursor is used for primary fire

removed debugging statements
2019-10-11 22:00:26 -05:00
Emery Hemingway 47e2cf8b73 Tupfile for super-repositories
- Add Tupfile
- Revert Genode Make rules
- Allow LIBRETRO_COMM_DIR override
2019-10-11 22:00:26 -05:00
Aaron Kling 11f02ad704 libretro: jni: Switch stl to c++ in preparation for ndk r20 2019-10-11 22:00:26 -05:00
Brandon Wright 1b7cd843e1 libretro: Use burst phase with NTSC blitter. 2019-09-14 19:59:09 -05:00
Dwedit b7ddb478d2 Update MSVC 2010 Project files
Add MSVC 2017 Project files
2019-08-08 11:05:00 -05:00
bearoso bf4e6f8b62
Merge pull request #523 from yoffy/unmacro-tile
Unmacro tile.cpp
2019-06-26 16:46:12 -05:00
funbars eecd44a724
libretro android makefile (fix) 2019-05-26 21:14:57 -05:00
Brandon Wright 969a9c601e libretro: Fix stupidity. 2019-05-18 17:13:00 -05:00
Ryan 'Swingflip' Hamlin 78afba0581 Added Classic Armv7 A7 and A8A35 2019-05-18 17:12:06 -05:00
bearoso 1e96cc74e1
Merge pull request #539 from funbars/uwp
libretro uwp
2019-05-15 19:32:48 -05:00
funbars 8be02bd5b5
libretro uwp 2019-05-15 13:30:24 -05:00
Brandon Wright 52f521160a libretro: Ensure RetroArch's texture width is multiple of 4. 2019-05-11 16:18:38 -05:00
Kenta Yoshimura 2898a9967a Fix build failure on libretro. 2019-05-04 15:45:36 +09:00