sharpemu/src
Hadi Abdulrahman faf3a397a8
[VideoOut] Fall back to 8-bit RGBA for unknown pixel formats instead of silently failing (#294)
Changes MapPixelFormatToGuestTextureFormat to default to format 56 (8-bit
RGBA) when the game uses a pixel format not yet in the known list, with a
stderr warning that reports the exact format value for project issue reports.

Previously, unknown formats returned 0, which caused RegisterKnownDisplayBuffer
to skip registration entirely. The GPU backend then couldn't find the buffer
during flip, producing vk.flip_capture_failed, and some games later hit a
Debug.Assert in ExecuteOrderedGuestFlipWait.

The fallback produces wrong colors for the affected games but lets them render
and display output, which is strictly better than a black screen or access
violation crash. The pixel format is printed to stderr so developers can
identify it and add proper support.

Co-authored-by: meowman <haadii2005@gamil.com>
2026-07-17 04:35:57 +03:00
..
SharpEmu.CLI GUI: add cross-platform release updater (#243) 2026-07-16 14:01:42 +03:00
SharpEmu.Core CPU: avoid continuation emitter closure allocations (#306) 2026-07-17 04:17:58 +03:00
SharpEmu.GUI [GUI] Last commit SHA (id) displayed on about section (#279) 2026-07-17 02:25:01 +03:00
SharpEmu.HLE Fix macOS fixed-address allocation collisions (#246) 2026-07-16 16:45:08 +03:00
SharpEmu.Libs [VideoOut] Fall back to 8-bit RGBA for unknown pixel formats instead of silently failing (#294) 2026-07-17 04:35:57 +03:00
SharpEmu.Logging Update repo URL (#224) 2026-07-16 00:24:14 +03:00
SharpEmu.ShaderCompiler perf(shader): cache pixel export masks (#288) 2026-07-17 04:17:39 +03:00
SharpEmu.ShaderCompiler.Vulkan [AGC] Implement RDNA2 buffer/image/DS 32-bit atomic instructions (#222) 2026-07-16 17:28:39 +03:00
SharpEmu.SourceGenerators [SourceGenerators] Compile-time SysAbi export registry, analyzers, and build-generated aerolib.bin (#204) 2026-07-16 00:00:32 +03:00