41235 Commits

Author SHA1 Message Date
Matt Borgerson 67cc79e663 apu: Add new DSP56300 emulator with JIT execution engine
- Fixes a few bugs in the existing C interpreter
- Adds a state abstraction layer to switch between engines at runtime
  and maintain snapshot compatibility
2026-06-11 19:27:21 -07:00
Reedzit e72e76bd1f hw/xbox: Transform assert(false) to assert(!"<diagnostic message>") 2026-05-23 13:42:13 -07:00
Erik Abair ebe34071b7 nv2a/vk: Skip finish stall when no reports are pending 2026-04-28 13:38:41 -07:00
Matt Borgerson 21f2a885f7 nv2a/vk: Relax and simplify surface to texture format check 2026-02-25 20:41:38 -07:00
Matt Borgerson 53e860bafb nv2a/vk: Support simple depth surface to texture copy 2026-02-25 20:41:38 -07:00
Matt Borgerson 5aeacacfeb xblc: Break out of packet loop if SDL_GetAudioStreamData returns 0 2026-02-19 00:41:13 -07:00
Matt Borgerson d6a3a78e80 xblc: Don't assert in control/data handlers 2026-02-19 00:41:13 -07:00
Matt Borgerson 49cd4ce5d0 xblc: Call usb_packet_skip to consume data when handling USB_TOKEN_OUT 2026-02-19 00:41:13 -07:00
Matt Borgerson 2056839b6b xblc: Drop unused headers 2026-02-19 00:41:13 -07:00
Matt Borgerson fcdfd29188 xblc: Drop call to audio_register_model 2026-02-19 00:41:13 -07:00
Matt Borgerson b2cfdc724a xblc: Use C style comments 2026-02-19 00:41:13 -07:00
Matt Borgerson 0557e32f8e xblc: Clear local err pointer after calling warn_report_err 2026-02-19 00:41:13 -07:00
Matt Borgerson addfc5c0c3 xblc: Drop unused auto_gain_control field for now 2026-02-19 00:41:13 -07:00
Matt Borgerson 12ab27c67a xblc: Drop desc_xblc initializer padding 2026-02-19 00:41:13 -07:00
Matt Borgerson 7593d334a1 xblc: Clean up some debug messages 2026-02-19 00:41:13 -07:00
Matt Borgerson 85fc00b44d xblc: Remove extra scope in xblc_handle_data 2026-02-19 00:41:13 -07:00
Matt Borgerson 547af91e8b xblc: Don't call usb_packet_copy with 0 bytes 2026-02-19 00:41:13 -07:00
Matt Borgerson f4dfa1c091 xblc: Update sample rate function names for clarity 2026-02-19 00:41:13 -07:00
Matt Borgerson 782820e3e4 xblc: Add post-load handler to set sample rate 2026-02-19 00:41:13 -07:00
Matt Borgerson 5a2ded0ebb xblc: Add VMStateField for sample_rate 2026-02-19 00:41:13 -07:00
Matt Borgerson 1d77397737 xblc: Remove unused device_index property 2026-02-19 00:41:13 -07:00
Matt Borgerson 12f48bb74d xblc: Remove unnecessary cast in xblc_audio_stream_set_rate 2026-02-19 00:41:13 -07:00
Matt Borgerson 1b7c236e3c xblc: Move audio spec generation to a function 2026-02-19 00:41:13 -07:00
Matt Borgerson 1718331f02 xblc: Add macro constants for values in USBDesc 2026-02-19 00:41:13 -07:00
Matt Borgerson 66c5433246 xblc: Drop usb_ prefix 2026-02-19 00:41:13 -07:00
Matt Borgerson 21c52dbd97 xblc: Drop no-stream dprintfs 2026-02-19 00:41:13 -07:00
Matt Borgerson a15e8fb98c xblc: Move index to sample rate lookup into a helper function 2026-02-19 00:41:13 -07:00
Matt Borgerson 6ff8dc23e3 xblc: Ensure input packets are always padded 2026-02-19 00:41:13 -07:00
Matt Borgerson 371c51cd2c xblc: Narrow local variable scope in usb_xblc_handle_control 2026-02-19 00:41:13 -07:00
Matt Borgerson dde45c8111 xblc: Remove unnecessary comments 2026-02-19 00:41:13 -07:00
Matt Borgerson e2b221c1cc xblc: Move [XBLC]..\n into DPRINTF macro def 2026-02-19 00:41:13 -07:00
Matt Borgerson d6c26aaa6c xblc: Cleanup xblc_audio_channel_init 2026-02-19 00:41:13 -07:00
Matt Borgerson b562800dea xblc: Replace assert(false) with more meaningful message 2026-02-19 00:41:13 -07:00
Matt Borgerson 3b202af58e xblc: Merge xblc_audio_stream_init into usb_xbox_communicator_realize 2026-02-19 00:41:13 -07:00
Matt Borgerson f09ad5dbe1 xblc: Use USB_XBLC for cast 2026-02-19 00:41:13 -07:00
Matt Borgerson b880159c49 xblc: Group init functions 2026-02-19 00:41:13 -07:00
Matt Borgerson c37a4cab27 xblc: Report SDL_OpenAudioDeviceStream errors with error_setg 2026-02-19 00:41:13 -07:00
Matt Borgerson e92faef161 xblc: Move devid closer to use 2026-02-19 00:41:13 -07:00
Matt Borgerson 7ee851c1a5 xblc: Eliminate single-field XBLCStream struct 2026-02-19 00:41:13 -07:00
Matt Borgerson f60cb68ae2 xblc: Remove format spec tracking from XBLCStream 2026-02-19 00:41:13 -07:00
Matt Borgerson 8841585279 xblc: Factor out sample rate updating from stream initialization 2026-02-19 00:41:13 -07:00
Matt Borgerson b939b727f1 xblc: Define a constant for default sample rate 2026-02-19 00:41:13 -07:00
Matt Borgerson 162f437100 xblc: Replace silence fill with usb_packet_skip 2026-02-19 00:41:13 -07:00
Matt Borgerson 0108d02dc7 xblc: Run clang-format 2026-02-19 00:41:13 -07:00
Fred Hallock 06448d5ce5 xblc: Migrate to SDL3 2026-02-18 22:46:57 -07:00
Matt Borgerson 3b13aed14c nv2a/gl: Use G_GNUC_PRINTF macro for debug function printf attribute 2026-02-16 02:21:37 -07:00
Matt Borgerson 16fb850a3c nv2a/vk: Use G_GNUC_PRINTF macro for debug function printf attribute 2026-02-16 02:21:37 -07:00
Matt Borgerson e4385e73fc nv2a/vk: Target Vulkan 1.1+ 2026-02-16 02:09:12 -07:00
Matt Borgerson 74ae576e26 nv2a/vk: Drop unnecessary include 2026-02-16 02:09:12 -07:00
Matt Borgerson 5af8779e6f nv2a/vk: Use vmaImportVulkanFunctionsFromVolk to initialize VmaVulkanFunctions 2026-02-16 02:09:12 -07:00