Skip to content

Commit 6e40d23

Browse files
authored
Merge branch 'libretro:master' into master
2 parents 2b9b7a0 + c404e22 commit 6e40d23

File tree

709 files changed

+118351
-37159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

709 files changed

+118351
-37159
lines changed

.dir-locals.el

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
;;; Directory Local Variables
2+
;;; See Info node `(emacs) Directory Variables' for more information.
3+
4+
(
5+
(c-mode . ((c-basic-offset . 3)
6+
(c-file-offsets . ((arglist-intro . ++)
7+
(arglist-cont-nonempty . ++)))
8+
(eval . (setq-local c-cleanup-list
9+
(cl-set-difference c-cleanup-list
10+
'(brace-else-brace
11+
brace-elseif-brace))))))
12+
(objc-mode . ((c-basic-offset . 3)))
13+
)

.github/workflows/webOS.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,23 @@ jobs:
5151
with:
5252
repository: "openlgtv/buildroot-nc4"
5353
latest: true
54-
fileName: "arm-webos-linux-gnueabi_sdk-buildroot.tar.gz"
54+
fileName: "arm-webos-linux-gnueabi_sdk-buildroot-x86_64.tar.gz"
5555
out-file-path: "/tmp"
5656

5757
- name: Extract webOS NDK
5858
shell: bash
5959
working-directory: /tmp
6060
run: |
61-
tar xzf arm-webos-linux-gnueabi_sdk-buildroot.tar.gz
61+
tar xzf arm-webos-linux-gnueabi_sdk-buildroot-x86_64.tar.gz
6262
./arm-webos-linux-gnueabi_sdk-buildroot/relocate-sdk.sh
6363
6464
- name: Compile RA
6565
shell: bash
6666
run: |
6767
. /tmp/arm-webos-linux-gnueabi_sdk-buildroot/environment-setup
6868
make -f Makefile.webos ipk PACKAGE_NAME=${PACKAGE_NAME} ADD_SDL2_LIB=1 -j$(getconf _NPROCESSORS_ONLN)
69+
env:
70+
DEBUG: ${{ github.event_name == 'release' && '0' || '1' }}
6971

7072
- name: Get short SHA
7173
id: slug

.gitignore

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ wiiu/wut/elf2rpl/elf2rpl
148148
/pkg/android/phoenix/bin/
149149
/pkg/android/phoenix/gen/
150150
/pkg/android/phoenix/local.properties
151-
/pkg/android/phoenix/gradle.properties
152151
/pkg/android/phoenix/.gradle
153152
/pkg/android/phoenix/.externalNativeBuild
154153
/pkg/android/phoenix/build
@@ -264,3 +263,18 @@ param.sfo
264263

265264
# Clazy
266265
*.clazy.yaml
266+
267+
# PSL1GHT
268+
*.SELF
269+
EBOOT.BIN
270+
pkg/psl1ght/*.pkg
271+
modern_alpha_blend_fpo.h
272+
modern_alpha_blend_vpo.h
273+
modern_opaque_fpo.h
274+
modern_opaque_vpo.h
275+
gfx/drivers/rsx_shaders/modern_alpha_blend.fpo
276+
gfx/drivers/rsx_shaders/modern_alpha_blend.vpo
277+
gfx/drivers/rsx_shaders/modern_opaque.fpo
278+
gfx/drivers/rsx_shaders/modern_opaque.vpo
279+
pkg/psl1ght/pkg/USRDIR/shaders_cg/
280+
!pkg/psl1ght/pkg/USRDIR/system/

CHANGES.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,69 @@
11
# Future
2+
- APPLE: Include sameduck, gearcoleco, geargrafx cores in App Store builds
3+
- APPLE: Include reminiscence, virtualjaguar, vitaquake2 cores in App Store builds
4+
- APPLE: Bundle identifier added to Information menu
5+
- APPLE: Option to control the usage of Metal argument buffers
6+
- APPLE: Don't force fullscreen, allow multitasking on iPad
7+
- AUDIO: Microphone CoreAudio driver for iOS and macOS
8+
- CAMERA: Use ffmpeg libavfilter virtual input device as default
9+
- CHEEVOS: Show additional message for unsupported achievements
10+
- CLOUDSYNC: Enable icloud_drive cloud sync backend on MacOS / iOS
11+
- CLOUDSYNC: Don't always trust the server hash
12+
- CLOUDSYNC: Enable WebDAV support for Android
13+
- CLOUDSYNC: Speed up cloudsync on Apple
14+
- DATABASE: Improve multidisk game scanning
215
- EMSCRIPTEN: Support suspend screensaver
316
- EMSCRIPTEN/RWEBCAM: Fix camera driver
417
- EMSCRIPTEN/RWEBINPUT: Add accelerometer/gyroscope support
518
- EMSCRIPTEN/RWEBPAD: Add rumble support
19+
- EMSCRIPTEN/RWEBAUDIO: Rewrite driver, set as default audio driver
20+
- INPUT: Default key and mouse binds for lightgun Start and Select buttons
21+
- INPUT: Turbo mode corrections
22+
- INPUT: Turbo fire settings are now saved to remaps, not to overrides
23+
- INPUT: Fix menu usage when OK/Cancel has mouse binds
24+
- INPUT: Ignore menu mouse startup position before moving
25+
- INPUT: Fix heavy slowdown when using Bluetooth XInput controllers with rumble
26+
- INPUT/UDEV: Fix lost terminal settings after restart from menu
27+
- INTL: Add Irish Gaelic to selectable languages
28+
- IOS: Fix crash on iOS9 when fetching refresh rate
29+
- LINUX: Add full complement of key/value pairs to desktop entry
30+
- MENU: Common Thumbnail Background option for all menu drivers
31+
- MENU: Move core options reset from Settings/Configuration to Main Menu / Configuration Files
32+
- MENU: Use right analog stick for thumbnail cycling in playlists
33+
- MENU: Option to always suggest cores, even when a core is already loaded
34+
- MENU: Option to show Favorites before History
35+
- MENU: Media history playlists are now visible in playlist manager
36+
- MENU: Import Content visibility defaults reverted
37+
- MENU: Update CRTSwitchRes menu options for future use
38+
- MENU: Debug builds are indicated in Information menu
39+
- MENU: Save As / Save Main options for configuration file
40+
- MENU: Unwanted input is prevented when menu is triggered by toggle combo
41+
- MENU: 32-bit values in cheats and rumble are not presented as huge lists
42+
- MENU: Less important widgets are now sized like task notifications
43+
- MENU/XMB: Select button toggles thumbnails in playlists
44+
- MENU/XMB,OZONE: Fix content icons when playlist tabs are hidden
45+
- MENU/OZONE: Horizontal padding factor option
46+
- MENU/OZONE: Custom font selection and scaling factor
47+
- NETWORK: Fixes for nmcli wifi driver
48+
- NETWORK: Network command interface enabled for Android, iOS, TVOS
49+
- OTHER: ZStandard support and libchdr update for support of chd files converted with createdvd option
50+
- OVERLAY: Speed limit on touch pointer tracking
51+
- PLAYLIST: Built-in playlists are now stored under playlists/builtin
52+
- PLAYLIST: Fix subsystem information in playlists
53+
- REPLAY: Bugs fixed regarding rewind
54+
- REPLAY: Same timeline check and future state check for replays vs. savestates
55+
- SAVESTATES: Savestate thumbnails are default enabled for x86_64 builds
56+
- VIDEO: Fix auto swap interval setup
57+
- VIDEO: Improvements for integer scale half scaling
58+
- VIDEO: Frame delay improvements for the automatic setting
59+
- VIDEO/D3D11/D3D12: snappy extra vsync presentation mode
60+
- VIDEO/SHADER: Shader hold function, useful for some lightguns and shader comparison
61+
- VIDEO/SWITCHRES: Horizontal and vertical geometry adjustment options added
62+
- VIDEO/SWITCHRES: Game overrides
63+
- VIDEO/WAYLAND: Support for xdg-toplevel-icon-v1
64+
- WEBOS: Various fixes and tunings
65+
- WEBOS: Disable core dumps
66+
- WEBOS: Debug builds enabled
667

768
# 1.21.0
869
- 3DS: Fix unique IDs for newer cores

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ endif
112112

113113
ifneq ($(CXX_BUILD), 1)
114114
ifneq ($(C89_BUILD),)
115-
CFLAGS += -std=c89 -ansi -pedantic -Werror=pedantic -Wno-long-long -Werror=declaration-after-statement
115+
CFLAGS += -std=c89 -ansi -pedantic -Werror=pedantic -Wno-long-long -Werror=declaration-after-statement -Wno-variadic-macros
116116
else ifeq ($(HAVE_C99), 1)
117117
CFLAGS += $(C99_CFLAGS)
118118
endif

Makefile.common

Lines changed: 56 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ endif
351351

352352
ifeq ($(HAVE_MICROPHONE), 1)
353353
DEFINES += -DHAVE_MICROPHONE
354-
OBJ += audio/microphone_driver.o
355354
endif
356355

357356
ifeq ($(HAVE_REWIND), 1)
@@ -861,10 +860,6 @@ ifeq ($(HAVE_ALSA), 1)
861860
OBJ += audio/drivers/alsa.o \
862861
audio/common/alsa.o
863862

864-
ifeq ($(HAVE_MICROPHONE), 1)
865-
OBJ += audio/drivers_microphone/alsa.o
866-
endif
867-
868863
ifneq ($(HAVE_HAKCHI), 1)
869864
ifneq ($(HAVE_SEGAM), 1)
870865
ifneq ($(DINGUX), 1)
@@ -875,12 +870,7 @@ ifeq ($(HAVE_ALSA), 1)
875870

876871
ifneq ($(MIYOO), 1)
877872
ifeq ($(HAVE_THREADS), 1)
878-
OBJ += audio/drivers/alsathread.o \
879-
audio/common/alsathread.o
880-
881-
ifeq ($(HAVE_MICROPHONE), 1)
882-
OBJ += audio/drivers_microphone/alsathread.o
883-
endif
873+
OBJ += audio/drivers/alsathread.o
884874
endif
885875
endif
886876

@@ -928,10 +918,6 @@ ifeq ($(HAVE_PIPEWIRE), 1)
928918
OBJ += audio/drivers/pipewire.o \
929919
audio/common/pipewire.o
930920

931-
ifeq ($(HAVE_MICROPHONE), 1)
932-
OBJ += audio/drivers_microphone/pipewire.o
933-
endif
934-
935921
ifeq ($(HAVE_PIPEWIRE_STABLE), 1)
936922
OBJ += camera/drivers/pipewire.o
937923
endif
@@ -959,14 +945,9 @@ endif
959945

960946
ifeq ($(HAVE_WASAPI), 1)
961947
HAVE_MMDEVAPI = 1
962-
OBJ += audio/drivers/wasapi.o \
963-
audio/common/wasapi.o
948+
OBJ += audio/drivers/wasapi.o
964949
DEFINES += -DHAVE_WASAPI
965950
LIBS += -lole32 -lksuser
966-
967-
ifeq ($(HAVE_MICROPHONE), 1)
968-
OBJ += audio/drivers_microphone/wasapi.o
969-
endif
970951
endif
971952

972953
ifeq ($(HAVE_XAUDIO), 1)
@@ -1638,14 +1619,9 @@ endif
16381619
ifeq ($(HAVE_SDL2), 1)
16391620
HAVE_SDL_COMMON = 1
16401621
OBJ += gfx/drivers/sdl2_gfx.o \
1641-
gfx/common/sdl2_common.o
1622+
gfx/common/sdl2_common.o
16421623
DEF_FLAGS += $(SDL2_CFLAGS)
16431624
LIBS += $(SDL2_LIBS)
1644-
1645-
ifeq ($(HAVE_MICROPHONE), 1)
1646-
OBJ += audio/drivers_microphone/sdl_microphone.o
1647-
# Microphones are not supported by SDL 1.x
1648-
endif
16491625
else ifeq ($(HAVE_SDL), 1)
16501626
HAVE_SDL_COMMON = 1
16511627
OBJ += gfx/drivers/sdl_gfx.o
@@ -1711,11 +1687,15 @@ ifeq ($(HAVE_VULKAN), 1)
17111687
endif
17121688

17131689
ifeq ($(HAVE_OPENGL_CORE), 1)
1714-
OBJ += gfx/drivers/gl3.o \
1715-
gfx/drivers_shader/shader_gl3.o
1690+
OBJ += gfx/drivers/gl3.o
17161691

17171692
DEFINES += -DHAVE_OPENGL_CORE
1718-
NEED_CXX_LINKER = 1
1693+
1694+
ifeq ($(HAVE_SLANG), 1)
1695+
OBJ += gfx/drivers_shader/shader_gl3.o
1696+
1697+
NEED_CXX_LINKER = 1
1698+
endif
17191699
endif
17201700

17211701
ifeq ($(HAVE_OMAP), 1)
@@ -1777,22 +1757,19 @@ endif
17771757

17781758
ifeq ($(HAVE_D3D10), 1)
17791759
HAVE_D3D_COMMON = 1
1780-
OBJ += gfx/drivers/d3d10.o \
1781-
gfx/common/d3d10_common.o
1760+
OBJ += gfx/drivers/d3d10.o
17821761
DEFINES += -DHAVE_D3D10
17831762
endif
17841763

17851764
ifeq ($(HAVE_D3D11), 1)
17861765
HAVE_D3D_COMMON = 1
1787-
OBJ += gfx/drivers/d3d11.o \
1788-
gfx/common/d3d11_common.o
1766+
OBJ += gfx/drivers/d3d11.o
17891767
DEFINES += -DHAVE_D3D11
17901768
endif
17911769

17921770
ifeq ($(HAVE_D3D12), 1)
17931771
HAVE_D3D_COMMON = 1
1794-
OBJ += gfx/drivers/d3d12.o \
1795-
gfx/common/d3d12_common.o
1772+
OBJ += gfx/drivers/d3d12.o
17961773
DEFINES += -DHAVE_D3D12
17971774
endif
17981775

@@ -1972,6 +1949,34 @@ ifeq ($(HAVE_7ZIP),1)
19721949
$(7ZOBJ)
19731950
endif
19741951

1952+
ifeq ($(HAVE_ZSTD),1)
1953+
INCLUDE_DIRS += -I$(DEPS_DIR)/zstd/lib
1954+
DEFINES += -DHAVE_ZSTD -DZSTD_DISABLE_ASM
1955+
ZSOBJ = $(DEPS_DIR)/zstd/lib/common/entropy_common.o \
1956+
$(DEPS_DIR)/zstd/lib/common/error_private.o \
1957+
$(DEPS_DIR)/zstd/lib/common/fse_decompress.o \
1958+
$(DEPS_DIR)/zstd/lib/common/zstd_common.o \
1959+
$(DEPS_DIR)/zstd/lib/common/xxhash.o \
1960+
$(DEPS_DIR)/zstd/lib/compress/fse_compress.o \
1961+
$(DEPS_DIR)/zstd/lib/compress/hist.o \
1962+
$(DEPS_DIR)/zstd/lib/compress/huf_compress.o \
1963+
$(DEPS_DIR)/zstd/lib/compress/zstd_compress.o \
1964+
$(DEPS_DIR)/zstd/lib/compress/zstd_compress_literals.o \
1965+
$(DEPS_DIR)/zstd/lib/compress/zstd_compress_sequences.o \
1966+
$(DEPS_DIR)/zstd/lib/compress/zstd_compress_superblock.o \
1967+
$(DEPS_DIR)/zstd/lib/compress/zstd_double_fast.o \
1968+
$(DEPS_DIR)/zstd/lib/compress/zstd_fast.o \
1969+
$(DEPS_DIR)/zstd/lib/compress/zstd_lazy.o \
1970+
$(DEPS_DIR)/zstd/lib/compress/zstd_ldm.o \
1971+
$(DEPS_DIR)/zstd/lib/compress/zstd_opt.o \
1972+
$(DEPS_DIR)/zstd/lib/decompress/huf_decompress.o \
1973+
$(DEPS_DIR)/zstd/lib/decompress/zstd_ddict.o \
1974+
$(DEPS_DIR)/zstd/lib/decompress/zstd_decompress.o \
1975+
$(DEPS_DIR)/zstd/lib/decompress/zstd_decompress_block.o
1976+
1977+
OBJ += $(ZSOBJ)
1978+
endif
1979+
19751980
ifeq ($(HAVE_IBXM), 1)
19761981
DEFINES += -DHAVE_IBXM
19771982
OBJ += $(DEPS_DIR)/ibxm/ibxm.o
@@ -2124,6 +2129,13 @@ ifeq ($(HAVE_ZLIB_COMMON), 1)
21242129
DEFINES += -Dcdlz_codec_init=retroarch_internal_cdlz_codec_init
21252130
DEFINES += -Dcdlz_codec_free=retroarch_internal_cdlz_codec_free
21262131
DEFINES += -Dcdlz_codec_decompress=retroarch_internal_cdlz_codec_decompress
2132+
2133+
DEFINES += -Dzstd_codec_init=retroarch_internal_zstd_codec_init
2134+
DEFINES += -Dzstd_codec_free=retroarch_internal_zstd_codec_free
2135+
DEFINES += -Dzstd_codec_decompress=retroarch_internal_zstd_codec_decompress
2136+
DEFINES += -Dcdzs_codec_init=retroarch_internal_cdzs_codec_init
2137+
DEFINES += -Dcdzs_codec_free=retroarch_internal_cdzs_codec_free
2138+
DEFINES += -Dcdzs_codec_decompress=retroarch_internal_cdzs_codec_decompress
21272139
endif
21282140
OBJ += $(LIBRETRO_COMM_DIR)/formats/libchdr/libchdr_bitstream.o \
21292141
$(LIBRETRO_COMM_DIR)/formats/libchdr/libchdr_cdrom.o \
@@ -2140,6 +2152,10 @@ ifeq ($(HAVE_ZLIB_COMMON), 1)
21402152
ifeq ($(HAVE_7ZIP), 1)
21412153
OBJ += $(LIBRETRO_COMM_DIR)/formats/libchdr/libchdr_lzma.o
21422154
endif
2155+
2156+
ifeq ($(HAVE_ZSTD), 1)
2157+
OBJ += $(LIBRETRO_COMM_DIR)/formats/libchdr/libchdr_zstd.o
2158+
endif
21432159
endif
21442160
endif
21452161

@@ -2373,6 +2389,10 @@ ifeq ($(HAVE_NETWORKING), 1)
23732389
deps/rcheevos/src/rhash/aes.o \
23742390
deps/rcheevos/src/rhash/cdreader.o \
23752391
deps/rcheevos/src/rhash/hash.o \
2392+
deps/rcheevos/src/rhash/hash_disc.o \
2393+
deps/rcheevos/src/rhash/hash_encrypted.o \
2394+
deps/rcheevos/src/rhash/hash_rom.o \
2395+
deps/rcheevos/src/rhash/hash_zip.o \
23762396
deps/rcheevos/src/rapi/rc_api_common.o \
23772397
deps/rcheevos/src/rapi/rc_api_info.o \
23782398
deps/rcheevos/src/rapi/rc_api_runtime.o \

0 commit comments

Comments
 (0)