Wunkolo
da9f030a0e
vk: Refactor swapchain format selection
...
Use a series of stable-partitions to sort the list of available formats
to find the best candidate surface-format/color-space that is a non-sRGB
format being presented in an sRGB color-space. Vulkan mandates that all
surface formats that have SRGB forms must also support a UNORM form.
This is basically just RGBA8/BGRA8 on all platforms still, but in a way
that is still capable of falling back to secondary formats in a stable
way in the case that the primary choice is not available. Mobile
devices especially have a LOT of secondary HDR surface formats and other
weird formats that can be used to present such as RGBA16 or RGBA565.
With stable partitions, if we can't get our best option then there is
always a "next best thing" to fall back on rather than relying on the
driver-order.
2025-01-22 18:28:55 +01:00
Wunkolo
a0e1eb0005
vulkan: Allow native `RGB8` screenshot framebuffers when available
...
Some notable devices support native RGB8 color-attachments:
https://vulkan.gpuinfo.org/listdevicescoverage.php?optimaltilingformat=R8G8B8_UNORM&featureflagbit=COLOR_ATTACHMENT
This removes the need to do a manual RGBA->RGB format conversion on the CPU in favor of a direct memcpy from the downloaded texture, when available.
2025-01-22 18:27:20 +01:00
Flyinghead
5cc15429cd
Force Native Depth Interpolation on UWP/Xbox. UWP build fix
2025-01-22 18:26:29 +01:00
Flyinghead
18656f5986
picoppp: terminate MiniUPnP in a background thread
2025-01-21 18:21:47 +01:00
Flyinghead
536be34853
dcnet: update emu network state when connected
2025-01-21 18:19:39 +01:00
Flyinghead
5b513cac5b
gl: use textureProj for palette texture sampling when possible/available
...
Fixes UV precision issue when doing the Z-divide manually.
Issue #1804
2025-01-21 18:18:05 +01:00
Flyinghead
5efdf58e85
custom texture: skip updating a texture if its hash hasn't changed
...
Some textures are frequently updated because of their location in vram,
close to a hotspot. This causes the custom texture to never be loaded.
This change will skip the unneeded texture update, allowing the custom
tex to replace it when available.
Issue #1812
2025-01-21 18:12:10 +01:00
github-actions[bot]
a93f3697d6
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-17 22:20:48 +00:00
Flyinghead
b98e833c57
uwp: define _WIN32_WINNT to avoid compile issues with asio
2025-01-17 17:46:49 +01:00
github-actions[bot]
2e89848041
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-10 22:20:35 +00:00
Flyinghead
bb4ba3ed89
dcnet: libretro support
2025-01-09 19:01:50 +01:00
Flyinghead
a5a338d408
experimental DCNet cloud service
2025-01-09 18:48:29 +01:00
Edward Li
3114344414
[macOS] Fix booting game stuck at "Starting..." when Video Routing is enabled with OpenGL
2025-01-09 13:59:54 +01:00
oltolm
20ba79668f
fix compiler warnings
2025-01-09 13:59:21 +01:00
oltolm
7a4f9d8667
CMake: fix build on Windows
2025-01-06 19:46:52 +01:00
Wunkolo
22bff1b017
cmake: Use `set_target_properties` to set C++ standard
...
This stops dependencies from inheriting a global C++20 standard setting
and instead designates the flycast target alone to be a C++20 project.
2025-01-05 22:06:37 +01:00
Wunkolo
9344856c7e
ggpo: Fix malformed template constructor
...
This form is not needed for a template-class's constructor.
Fix for C++20 builds
2025-01-05 22:06:37 +01:00
Wunkolo
b2c1d134e1
deps: Update luabridge to 2.8
...
From 2.6 to 2.8. Includes some C++20 fixes.
2025-01-05 22:06:37 +01:00
Wunkolo
160d3e7ef3
cmake: C++20 enablement
...
Enables the C++ 20 standard
2025-01-05 22:06:37 +01:00
Flyinghead
3cf4808033
fix perf regression on macOS and iOS. Add Silent Scope (JP) identifier.
...
Regression introduced in f3a3364
CopyToVRAM wasn't enabled for Silent Scope (JP). Issue #1796
2025-01-05 22:06:37 +01:00
Flyinghead
1bd894f941
rend: reset scissoring before drawing final modvol quad
...
See d618abc320
Issue #1797
2025-01-05 22:06:37 +01:00
Edward Li
8dc55721d0
Generate Xcode project which can support both iOS and iOS Simulator
2025-01-05 22:06:37 +01:00
scribam
c94deaee9d
build: drop unsupported architectures
2025-01-05 22:06:37 +01:00
scribam
95583583ca
ci: force ubuntu-22.04 on libretro-x86_64-pc-linux-gnu target
2025-01-05 22:06:37 +01:00
Flyinghead
42752acef5
Fix crash when reading 2448-byte sectors
...
Fixes MINIDUMP-5J0, MINIDUMP-5M7, MINIDUMP-5M8, MINIDUMP-5MA,
MINIDUMP-5MF
2025-01-05 22:06:37 +01:00
github-actions[bot]
45c700ab60
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-05 22:06:37 +01:00
Flyinghead
a3902fc278
sdl: disable rumble when rumble power is set to 0
...
Issue #1766
Issue #1783
2025-01-05 22:06:37 +01:00
Flyinghead
0606f3e63e
ios: make the keyboard remappable
2025-01-05 22:06:37 +01:00
Flyinghead
0558c957e8
libretro: set an SDL hint to keep flycast SIGSEGV handler
...
Thanks to mrfixit2001 for helping troubleshoot the issue.
2025-01-05 22:06:37 +01:00
github-actions[bot]
2ca9187137
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-05 22:06:37 +01:00
Flyinghead
5add29cbed
fix perf regression on macOS and iOS. Add Silent Scope (JP) identifier.
...
Regression introduced in f3a3364
CopyToVRAM wasn't enabled for Silent Scope (JP). Issue #1796
2025-01-05 10:21:54 +01:00
Flyinghead
5a1c3f80f5
msvc32 build fix
2025-01-02 13:55:39 +01:00
Flyinghead
a0e8e9a9df
libretro: windows build fix
2025-01-02 12:11:45 +01:00
Flyinghead
45f4378184
network: use asio for modem/bba. DirectPlay4 support
...
DirectPlay4 support: StarLancer, PBA Bowling
miniupnp: remove unused stuff
2025-01-02 11:27:11 +01:00
Flyinghead
c7d030c2e6
uwp: enable vmem. fix dynarec crash. windows: dll loading utility
...
uwp: Fix crash in x64 dynarec when rewriting due to wrong unprotect
range.
uwp: load MapViewOfFileEx dynamically to map regions at a given address.
dll load and function lookup utility.
2025-01-02 11:13:25 +01:00
Flyinghead
2bee6b1ce4
picotcp: fix msvc build. reduce logging
2025-01-02 11:01:58 +01:00
Flyinghead
522505273e
miniupnpc: minissdpc.c: fix memory allocation error
...
backport
9698973600
2025-01-02 10:57:38 +01:00
Flyinghead
0481f5464d
misc non-functional changes
2025-01-02 10:54:19 +01:00
Flyinghead
7478476f9c
multithreading utilities (periodic, worker thread)
2025-01-02 10:50:46 +01:00
Flyinghead
76c3695f6e
log: support udp log server
2025-01-02 10:35:27 +01:00
Flyinghead
e18ada7225
rend: reset scissoring before drawing final modvol quad
...
See d618abc320
Issue #1797
2024-12-31 18:22:07 +01:00
Edward Li
f3a33642f8
Generate Xcode project which can support both iOS and iOS Simulator
2024-12-30 12:23:27 +01:00
scribam
2f03c1b147
build: drop unsupported architectures
2024-12-30 12:22:59 +01:00
scribam
b7e2f5e489
ci: force ubuntu-22.04 on libretro-x86_64-pc-linux-gnu target
2024-12-30 12:22:28 +01:00
Flyinghead
d01cbde41c
Fix crash when reading 2448-byte sectors
...
Fixes MINIDUMP-5J0, MINIDUMP-5M7, MINIDUMP-5M8, MINIDUMP-5MA,
MINIDUMP-5MF
2024-12-30 12:20:29 +01:00
Flyinghead
11068012fe
picotcp: support threads with msvc. Fix msvc pragma push issue
...
Enable threading support with msvc, similar to posix.
Fix missing pragma pop after picotcp include files
2024-12-30 12:15:36 +01:00
Flyinghead
a06791780d
Merge remote-tracking branch 'origin/dev'
2024-12-29 10:59:49 +01:00
Flyinghead
ee1a7167f6
dreamconn: open pause menu when LT+RT+Start is pressed
...
Issue #1305
2024-12-28 15:39:11 +01:00
Flyinghead
10aaec1619
dreamconn: send data with socket to avoid fragmentation. Build fix
...
Issue #1305
2024-12-28 12:21:26 +01:00
github-actions[bot]
32d8d9a8c3
Fetch translations & Recreate libretro_core_options_intl.h
2024-12-27 22:20:31 +00:00