Skip to content

Commit 57ce889

Browse files
Merge branch 'libretro:master' into master
2 parents 34987a4 + e8950fc commit 57ce889

574 files changed

Lines changed: 85116 additions & 107541 deletions

File tree

Some content is hidden

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

.gitlab-ci.yml

Lines changed: 93 additions & 47 deletions
Large diffs are not rendered by default.

CHANGES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
- ANDROID: Preserve OpenGL context when app is paused
66
- ANDROID: Fix double launch issue when changing games from external launcher
77
- ANDROID: Allow launchers to pass content:// URIs to RetroArch
8+
- ANDROID: Enable network commands
9+
- ANDROID: Fix dual-motor rumble for USB-connected DS4 and DualSense controllers
810
- AUDIO/MICROPHONE: Fix resampling, apple drivers
911
- APPLE: Use coreaudio3 resampling
1012
- APPLE: Add coreaudio3 driver to iOS/TVOS
1113
- APPLE: Add jollycv, skyemu, gearlynx, amiarcadia, o2em, uzem , applewin, azahar cores to App Store builds
1214
- APPLE: Add Apple on-device OCR / translation to AI service
15+
- APPLE: Add avfoundation record driver
1316
- COMMAND: Fix null pointer exception in COMMAND_GET_STATUS
1417
- COMMAND: Only allow pause when there is a core running
1518
- CHEEVOS: Update to rcheevos 12.3
@@ -43,6 +46,10 @@
4346
- LIBRETRO: RETRO_ENVIRONMENT_SET_SAVE_STATE_DISABLE_UNDO allows cores to disable frontend's save state undo feature to decrease memory usage
4447
- LIBRETRO: Performance improvements for nbio and archive handling in libretro-common
4548
- LIBRETRO: Performance improvements for utf encoding in libretro-common
49+
- LIBRETRO: Performance improvements for crc32 computation
50+
- LIBRETRO: Enable Linux ARM64 compilation for RetroArch (and several cores)
51+
- LIBRETRO: Fix CHD handling of MODE1/RAW MODE2/RAW tracks
52+
- LOCALIZATION: Add Thai language
4653
- MACOS: Fix OpenGL color on wide gamut displays
4754
- MENU: Do hard reset when pushing RetroPad Start on Restart menu item
4855
- MENU: Remove "Missing firmware check" option
@@ -67,6 +74,7 @@
6774
- MENU/OZONE: Fix occasional left mouse click selection error
6875
- MENU/XMB: Current menu icon refactor
6976
- MENU/XMB: Left thumbnail and handheld mode fixes
77+
- MENU/XMB: Tab change possible by gestures
7078
- OVERLAY: Allow overlays to position the viewport
7179
- OVERLAY: Hold button function
7280
- OVERLAY: Allow interaction during next overlay swap
@@ -82,10 +90,14 @@
8290
- SCAN: Improve Philips CD-i content recognition
8391
- SCAN: Improve scan performance by caching playlist updates
8492
- SCAN: Interpret M3U files during scanning
93+
- SCAN: Merge manual and automatic scan into a more flexible setup
94+
- SCAN: Improve GDI content recognition
8595
- SHADER: Display on-screen error when preset load fails
8696
- SHADER: Add gyroscope / accelerometer uniforms for shaders
97+
- VIDEO: Throttle framerate when VSync is enabled but window is not focused
8798
- VIDEO/GL: Fix some issues with GLSL shaders when using GLCore driver
8899
- VIDEO/SDL2: Add shared context
100+
- VIDEO/D3D9: Various rendering fixes and improvements
89101
- VIDEO/D3D11/D3D12/VULKAN: Major HDR update. Inverse tone mapping uses RGB maxing instead of luminance, better full-spectrum remapping of SDR space to HDR, Contrast option remove. Performance improved. HDR menu settings exposed to shaders, fast HDR single-pass scanline simulation added.
90102
- VIDEO/D3D11/D3D12/VULKAN: Multi-mode HDR Expand Gamut selection
91103
- VIDEO/D3D11/D3D12/VULKAN: scRGB (HDR16) support
@@ -105,6 +117,7 @@
105117
- WIN32: Fix Windows version detection
106118
- XBOX: Fix menu and achievement sounds
107119
- XBOX: Update UWP Mesa
120+
- XBOX: Add zstd support
108121

109122
# 1.22.1
110123
- ANDROID: OnNewIntent handler to allow launchers start new content without closing first

Makefile.common

Lines changed: 19 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ OBJ += \
347347
$(LIBRETRO_COMM_DIR)/queues/message_queue.o
348348

349349
ifeq ($(HAVE_MENU), 1)
350-
OBJ += \
351-
gfx/gfx_thumbnail_path.o \
352-
gfx/gfx_thumbnail.o
350+
OBJ += gfx/gfx_thumbnail.o
353351
endif
354352

355353
ifeq ($(HAVE_MICROPHONE), 1)
@@ -434,6 +432,7 @@ OBJ += \
434432
$(LIBRETRO_COMM_DIR)/playlists/label_sanitization.o \
435433
$(LIBRETRO_COMM_DIR)/time/rtime.o \
436434
manual_content_scan.o \
435+
tasks/task_database.o \
437436
disk_control_interface.o
438437

439438
ifeq ($(HAVE_CONFIGFILE), 1)
@@ -526,34 +525,21 @@ endif
526525

527526
ifeq ($(HAVE_QT), 1)
528527
OBJ += ui/drivers/ui_qt.o \
529-
ui/drivers/qt/gridview.o \
530-
ui/drivers/qt/qt_dialogs.o \
531-
ui/drivers/qt/qt_widgets.o \
532-
ui/drivers/qt/qt_playlist.o \
533-
ui/drivers/qt/qt_downloads.o
534-
ifeq ($(HAVE_MENU), 1)
535-
OBJ += ui/drivers/qt/qt_options.o
536-
endif
528+
ui/drivers/ui_qt_widgets.o
537529

538530
MOC_HEADERS += ui/drivers/ui_qt.h \
539-
ui/drivers/qt/ui_qt_load_core_window.h \
540-
ui/drivers/qt/gridview.h \
541-
ui/drivers/qt/qt_dialogs.h \
542-
ui/drivers/qt/qt_widgets.h
543-
ifeq ($(HAVE_MENU), 1)
544-
MOC_HEADERS += ui/drivers/qt/qt_options.h
545-
endif
531+
ui/drivers/ui_qt_widgets.h
546532

547533
DEFINES += -DHAVE_MAIN
548534
ifeq ($(HAVE_QT6), 1)
549-
CXXFLAGS += -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 $(QT6CORE_CFLAGS) $(QT6GUI_CFLAGS) $(QT6WIDGETS_CFLAGS) $(QT6CONCURRENT_CFLAGS) $(QT6NETWORK_CFLAGS)
535+
CXXFLAGS += -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 $(QT6CORE_CFLAGS) $(QT6GUI_CFLAGS) $(QT6WIDGETS_CFLAGS)
550536
#DEF_FLAGS += $(QT6WEBENGINE_CFLAGS)
551-
LIBS += $(QT6CORE_LIBS) $(QT6GUI_LIBS) $(QT6WIDGETS_LIBS) $(QT6CONCURRENT_LIBS) $(QT6NETWORK_LIBS)
537+
LIBS += $(QT6CORE_LIBS) $(QT6GUI_LIBS) $(QT6WIDGETS_LIBS)
552538
#LIBS += $(QT6WEBENGINE_LIBS)
553539
else
554-
DEF_FLAGS += $(QT5CORE_CFLAGS) $(QT5GUI_CFLAGS) $(QT5WIDGETS_CFLAGS) $(QT5CONCURRENT_CFLAGS) $(QT5NETWORK_CFLAGS)
540+
DEF_FLAGS += $(QT5CORE_CFLAGS) $(QT5GUI_CFLAGS) $(QT5WIDGETS_CFLAGS)
555541
#DEF_FLAGS += $(QT5WEBENGINE_CFLAGS)
556-
LIBS += $(QT5CORE_LIBS) $(QT5GUI_LIBS) $(QT5WIDGETS_LIBS) $(QT5CONCURRENT_LIBS) $(QT5NETWORK_LIBS)
542+
LIBS += $(QT5CORE_LIBS) $(QT5GUI_LIBS) $(QT5WIDGETS_LIBS)
557543
#LIBS += $(QT5WEBENGINE_LIBS)
558544
endif
559545

@@ -583,7 +569,6 @@ ifeq ($(HAVE_LIBRETRODB), 1)
583569
libretro-db/rmsgpack.o \
584570
libretro-db/rmsgpack_dom.o \
585571
database_info.o \
586-
tasks/task_database.o \
587572
tasks/task_database_cue.o
588573

589574
ifeq ($(HAVE_MENU), 1)
@@ -960,6 +945,12 @@ ifeq ($(HAVE_WASAPI), 1)
960945
LIBS += -lole32 -lksuser
961946
endif
962947

948+
ifeq ($(HAVE_ASIO), 1)
949+
OBJ += audio/drivers/asio.o
950+
DEFINES += -DHAVE_ASIO
951+
LIBS += -lole32
952+
endif
953+
963954
ifeq ($(HAVE_XAUDIO), 1)
964955
OBJ += audio/drivers/xaudio.o
965956
DEFINES += -DHAVE_XAUDIO
@@ -1238,8 +1229,8 @@ endif
12381229

12391230
ifeq ($(TARGET), retroarch_orbis)
12401231
OBJ += input/drivers/ps4_input.o \
1241-
input/drivers_joypad/ps4_joypad.o \
1242-
audio/drivers/psp_audio.o
1232+
input/drivers_joypad/ps4_joypad.o \
1233+
audio/drivers/psp_audio.o
12431234
endif
12441235

12451236
ifeq ($(TARGET), retroarch_vita)
@@ -1460,6 +1451,7 @@ ifneq ($(findstring Win32,$(OS)),)
14601451
ifeq ($(HAVE_WINRAWINPUT), 1)
14611452
DEFINES += -DHAVE_WINRAWINPUT
14621453
OBJ += input/drivers/winraw_input.o
1454+
OBJ += input/drivers_joypad/winraw_joypad.o
14631455
endif
14641456
endif
14651457

@@ -1601,8 +1593,6 @@ ifeq ($(HAVE_GL_CONTEXT), 1)
16011593

16021594
ifeq ($(HAVE_FFMPEG), 1)
16031595
ifneq ($(HAVE_OPENGLES), 1)
1604-
OBJ += cores/libretro-ffmpeg/ffmpeg_fft.o
1605-
DEFINES += -DHAVE_GL_FFT
16061596
INCLUDE_DIRS += -I$(DEPS_DIR)
16071597
endif
16081598
endif
@@ -1786,17 +1776,10 @@ endif
17861776
ifeq ($(HAVE_D3D9), 1)
17871777
HAVE_D3D_COMMON = 1
17881778
DEFINES += -DHAVE_D3D9
1789-
ifeq ($(HAVE_D3DX9), 1)
1790-
HAVE_D3DX_COMMON = 1
1791-
endif
17921779
ifneq ($(HAVE_DYLIB), 1)
17931780
LIBS += $(D3D9_LIBS)
1794-
ifeq ($(HAVE_D3DX9), 1)
1795-
LIBS += $(D3DX9_LIBS)
1796-
endif
17971781
endif
17981782
HAVE_DX_COMMON = 1
1799-
OBJ += gfx/drivers_font/d3d9x_w32_font.o
18001783
ifeq ($(HAVE_CG), 1)
18011784
LIBS += -lcgD3D9
18021785
OBJ += gfx/drivers/d3d9cg.o
@@ -1832,21 +1815,11 @@ ifeq ($(HAVE_D3D8), 1)
18321815
HAVE_D3D_COMMON = 1
18331816
HAVE_DX_COMMON = 1
18341817
DEFINES += -DHAVE_D3D8
1835-
ifeq ($(HAVE_D3DX8), 1)
1836-
HAVE_D3DX_COMMON = 1
1837-
endif
18381818
ifneq ($(HAVE_DYLIB), 1)
18391819
LIBS += $(D3D8_LIBS)
1840-
ifeq ($(HAVE_D3DX8), 1)
1841-
LIBS += $(D3DX8_LIBS)
1842-
endif
18431820
endif
18441821
endif
18451822

1846-
ifeq ($(HAVE_D3DX_COMMON), 1)
1847-
DEFINES += -DHAVE_D3DX
1848-
endif
1849-
18501823
ifeq ($(HAVE_DX_COMMON), 1)
18511824
LIBS += -ldxguid
18521825
endif
@@ -1886,8 +1859,6 @@ ifeq ($(HAVE_SLANG),1)
18861859
DEFINES += -DHAVE_SLANG
18871860
OBJ += gfx/drivers_shader/slang_process.o
18881861
OBJ += gfx/drivers_shader/glslang_util.o
1889-
OBJ += gfx/drivers_shader/glslang_util_cxx.o
1890-
OBJ += gfx/drivers_shader/slang_reflection.o
18911862
endif
18921863

18931864
ifeq ($(HAVE_SHADERS_COMMON), 1)
@@ -2022,7 +1993,8 @@ ifeq ($(HAVE_ZSTD),1)
20221993
$(DEPS_DIR)/zstd/lib/decompress/zstd_decompress.o \
20231994
$(DEPS_DIR)/zstd/lib/decompress/zstd_decompress_block.o
20241995

2025-
OBJ += $(ZSOBJ)
1996+
OBJ += $(LIBRETRO_COMM_DIR)/file/archive_file_zstd.o \
1997+
$(ZSOBJ)
20261998
endif
20271999

20282000
ifeq ($(HAVE_IBXM), 1)
@@ -2568,8 +2540,6 @@ endif
25682540
ifeq ($(HAVE_FFMPEG), 1)
25692541
OBJ += record/drivers/record_ffmpeg.o \
25702542
cores/libretro-ffmpeg/ffmpeg_core.o \
2571-
cores/libretro-ffmpeg/packet_buffer.o \
2572-
cores/libretro-ffmpeg/video_buffer.o \
25732543
$(LIBRETRO_COMM_DIR)/rthreads/tpool.o
25742544

25752545
LIBS += $(AVCODEC_LIBS) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(SWSCALE_LIBS) $(SWRESAMPLE_LIBS) $(FFMPEG_LIBS) $(AVDEVICE_LIBS)

Makefile.msvc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ HAVE_VIDEO_FILTER := 1
1616
HAVE_SCREENSHOTS := 1
1717
HAVE_REWIND := 1
1818
HAVE_AUDIOMIXER := 1
19-
HAVE_D3DX := 1
2019
HAVE_D3D8 := 0
2120
HAVE_D3D9 := 1
2221
HAVE_D3D10 := 1
@@ -71,16 +70,10 @@ HAVE_CORE_INFO_CACHE := 1
7170

7271
ifeq ($(HAVE_D3D8), 1)
7372
D3D8_LIBS := -ld3d8
74-
ifeq ($(HAVE_D3DX), 1)
75-
D3DX8_LIBS := -ld3dx8
76-
endif
7773
endif
7874

7975
ifeq ($(HAVE_D3D9), 1)
8076
D3D9_LIBS := -ld3d9
81-
ifeq ($(HAVE_D3DX), 1)
82-
D3DX9_LIBS := -ld3dx9
83-
endif
8477
endif
8578

8679
include Makefile.common

Makefile.win

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,10 @@ endif
6666

6767
ifeq ($(HAVE_D3D8), 1)
6868
D3D8_LIBS := -ld3d8
69-
ifeq ($(HAVE_D3DX), 1)
70-
D3DX8_LIBS := -ld3dx8
71-
endif
7269
endif
7370

7471
ifeq ($(HAVE_D3D9), 1)
7572
D3D9_LIBS := -ld3d9
76-
ifeq ($(HAVE_D3DX), 1)
77-
D3DX9_LIBS := -ld3dx9
78-
endif
7973
endif
8074

8175
ifeq ($(HAVE_RSOUND), 1)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Latest binaries are currently hosted on the [buildbot](http://buildbot.libretro.
3434

3535
## Support
3636

37-
To reach developers, either make an issue here on GitHub, make a thread on the [forum](https://www.libretro.com/forums/), chat on [Discord](https://discord.gg/C4amCeV), or visit our IRC channel: #retroarch @ irc.freenode.org. You could create a post in [Reddit](https://www.reddit.com/r/RetroArch/) with *Technical Support* flair.
37+
To reach developers, either make an issue here on GitHub, make a thread on the [forum](https://www.libretro.com/forums/), chat on [Discord](https://discord.gg/C4amCeV). You could create a post in [Reddit](https://www.reddit.com/r/RetroArch/) with *Technical Support* flair.
3838

3939
## Documentation
4040

0 commit comments

Comments
 (0)