Commit Graph
100 Commits
Author SHA1 Message Date
Kelebek1 8da2a1edba Close reference to TimeZoneBinary on game close 2024-02-17 16:00:14 +00:00
Kelebek1 706cc35feb Fix firmware timezone boot load check. 2024-02-03 15:21:10 +00:00
Kelebek1 61b05f43ae Remove a few hacks for clock setups, which seem to no longer be needed, but fix network clock to local clock on every boot. Also fix some logging strings. 2024-01-31 01:41:59 +00:00
Kelebek1 760d085dbe Use the input process handle to get the correct application's memory 2024-01-28 18:51:43 +00:00
Kelebek1 05afa94a3b Move time services to new IPC.
Add some fixes/improvements to usage with the new IPC
2024-01-27 03:30:09 +00:00
Kelebek1 52c35521bd Rework time service to fix time passing offline. 2024-01-24 04:26:55 +00:00
Kelebek1 b490e69020 Have GetActiveChannelCount return the system channels instead of host device channels 2023-12-16 12:49:28 -05:00
Kelebek1 9dc9e91e2a Make system settings persistent across boots 2023-12-16 06:01:54 +00:00
Kelebek1 8203fba911 Skip git blame 2023-11-04 18:26:49 +00:00
Kelebek1 539b99379d Convert files to LF eol 2023-11-04 18:25:40 +00:00
Kelebek1 a32519ce34 Allow 0 stereo count 2023-11-03 11:45:40 -04:00
Kelebek1 5d26c3791b Add missing dowhile loops around FindBuffer calls 2023-10-23 15:08:56 +01:00
Kelebek1 90d99fbd00 Manually robust on Maxwell and earlier 2023-10-19 19:54:31 +01:00
Kelebek1 d7ba2c7064 Implement vertex array first and subsequent draws 2023-10-14 12:09:35 +01:00
Kelebek1 5fa3d987ad Transition MSAA images to general layout without uploading data 2023-10-11 23:27:23 +01:00
Kelebek1 b5576a3c9a Get out of render pass before query barriers, fix image names with samples > 1, remove image alias bit 2023-10-11 17:15:35 +01:00
Kelebek1 31c39fffc2 Do not set rescaled flag when rescaling is disabled 2023-10-11 10:29:19 +01:00
Kelebek1 02e6f4115f Clear DSP buffer after each execution 2023-10-10 18:22:08 +01:00
Kelebek1 2fe13a4d53 Not not allocate DeviceLocal buffers as mapped 2023-10-10 12:49:07 +01:00
Kelebek1 a1df96e84d Allow GPUs without rebar to open multiple RenderDoc captures 2023-10-06 07:52:06 +01:00
Kelebek1 5063305487 Implement X8_D24 format 2023-10-06 00:58:30 +01:00
Kelebek1 39bcdb4fe4 Rework nvidia architecture detection, disable push descriptor for Pascal and older 2023-10-05 03:13:42 +01:00
Kelebek1 294ffa29cc Mark a buffer GPU modified after the buffers are confirmed, do not double synch them 2023-10-05 00:19:11 +01:00
Kelebek1 cd93b07a50 Don't send a double focus change message 2023-09-28 23:47:10 +01:00
Kelebek1 dd2d450e3f Enable depth test on stencil clear path 2023-09-28 21:19:51 +01:00
Kelebek1 ac61186061 Fix DMA engine register offsets 2023-09-21 20:21:00 +01:00
Kelebek1 f9f340064f Reduce core timing mutex contention 2023-09-19 23:10:03 +01:00
Kelebek1 ae492d8a74 Do not consider voice commands in time estimation, fix adpcm estimate 2023-09-18 10:38:14 +01:00
Kelebek1 07b63b15ad Reimplement HardwareOpus 2023-09-16 11:56:25 -04:00
Kelebek1 517702f3f8 Look for the most recently modified image for present 2023-09-11 03:11:29 +01:00
Kelebek1 0d50c09352 Fix data source version 1 command looping 2023-09-08 15:03:21 +01:00
Kelebek1 4ef3915a8c Do not reset the command buffer command count each time 2023-09-07 20:53:48 +01:00
Kelebek1 de326e42bb Rework ADSP into a wrapper for apps 2023-09-04 17:12:16 +01:00
Kelebek1 007b1e9652 Fix node id index in DropVoices 2023-08-28 10:35:30 +01:00
Kelebek1 334a0eaa9c Mark decompiled macros as decompiled on dump, dump shaders after translation 2023-08-25 21:47:47 -04:00
Kelebek1 5c4e9a276f Pre-test opening a stream for audio backends, fall back to null if not suitable. 2023-08-23 08:33:26 +01:00
Kelebek1 5d1961ad67 Masked depthstencil clears 2023-08-19 03:29:46 +01:00
Kelebek1 5de54129b3 Mark accelerted DMA destination buffers and images as GPU-modified 2023-08-13 02:22:39 +01:00
Kelebek1 770130b6c2 Fix shader dumps with nvdisasm
skip fragment shaders when rasterizer is disabled
initialize env_ptrs
2023-08-03 15:30:27 +01:00
Kelebek1 f9848f29a0 Fix AudioRendererParameterInternal's size 2023-07-30 06:50:59 +01:00
Kelebek1 df8097de60 Debug SetIdleTimeDetectionExtension 2023-07-18 10:16:14 +01:00
Kelebek1 ba4569eab7 Fix ScratchBuffer moves 2023-07-04 16:02:58 +01:00
Kelebek1 42638691b5 Use spans over guest memory where possible instead of copying data. 2023-07-02 23:09:48 +01:00
Kelebek1 c80b6bfb83 Use safe reads in DMA engine 2023-06-26 11:34:02 +01:00
Kelebek1 c7430e51e3 Remove memory allocations in some hot paths 2023-06-22 08:05:10 +01:00
Kelebek1 6bd6e24d6e Use current GPU address when unmapping GPU pages, not the base 2023-06-19 00:19:50 +01:00
Kelebek1 547e837f78 Synchronize vertex buffer even when it doesn't require binding 2023-06-17 17:47:00 -04:00
Kelebek1 ac23abacac Combine vertex/transform feedback buffer binding into a single call 2023-06-08 12:13:27 +01:00
Kelebek1 f50f69f07c Fix incorrect id check and potential out of bounds lookup 2023-05-31 19:10:00 +01:00
Kelebek1 3da7eafba7 Skip BufferCache tickframe with no channel state set 2023-05-30 21:57:13 +01:00
Kelebek1 29e1cdf7e1 Audren wait as suggested by ByLaws 2023-05-27 17:38:07 +01:00
Kelebek1 62c747f8a1 Move buffer bindings to per-channel state 2023-05-27 17:04:18 +01:00
Kelebek1 eea071bf87 Fix buffer overlap checking skipping a page for stream score right expand 2023-05-26 10:35:46 +01:00
Kelebek1 ba0d258a3f Smooth out the DSP callback by adding a 5ms wait time limit 2023-05-18 13:03:32 +01:00
Kelebek1 8a5db1aeff Correctly track RT indexes for image aspect lookup during clears 2023-05-12 01:40:21 +01:00
Kelebek1 2e478a66cf Fix Tears of the Kingdom flickering clouds and depths. 2023-05-11 19:25:24 +01:00
Kelebek1 fc6c77f7ae Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path. 2023-05-11 06:42:38 +01:00
Kelebek1 b72b1f0a4e Use the rendertarget format of the correct RT rather than the first valid 2023-05-09 22:13:15 +01:00
Kelebek1 05dcdf5793 Swap order of checking/setting region modifications in the buffer_cache 2023-05-09 20:21:08 +01:00
Kelebek1 ac49a29b85 Fix address space allocator slow path to avoid OOB 2023-05-07 15:11:16 +01:00
Kelebek1 d43a18a6ef Log object names with debug renderer, add a GPU address to ImageViews 2023-05-06 04:48:32 +01:00
Kelebek1 3fc1615e28 Fix code resize to use word size rather than byte size 2023-05-02 23:52:21 +01:00
Kelebek1 967e5b2873 Wait for the terminate event before destroying a system instance 2023-05-01 00:27:12 +01:00
Kelebek1 dc9546fe26 Define SampleMask as an array 2023-04-30 18:37:37 +01:00
Kelebek1 325a8febfc Silence nifm spam 2023-04-22 14:29:58 +01:00
Kelebek1 477cbd067e Sort overlap_ids by modification tick before copy 2023-04-22 14:02:10 +01:00
Kelebek1 0397e174ae Account for a pre-added offset when using Corner sample mode for 2D blits 2023-04-21 19:08:21 +01:00
Kelebek1 de4fc71536 Only upload GPU-modified overlaps 2023-03-28 11:07:39 +01:00
Kelebek1 0a90adff87 Disable SRGB border color conversion for now, to fix shadows in Xenoblade. 2023-03-17 04:46:38 +00:00
Kelebek1 2f525864a8 Check all swizzle components for red, not just [0], pass float border color rather than int 2023-03-04 02:33:50 +00:00
Kelebek1 ed68646fa7 Fix a bug with the Reverb command in reading from the pre_delay line. 2023-03-02 06:00:55 +00:00
Kelebek1 2d86d111fa Reimplement the invalidate_texture_data_cache register 2023-02-14 19:34:10 +00:00
Kelebek1 6afc4a2134 Allow >1 cpu threads on video decoding, disable multi-frame decoding 2023-02-14 18:55:46 +00:00
Kelebek1 4aee835d49 Fix biquad filter command's state buffer offset 2023-02-13 16:21:29 +00:00
Kelebek1 b5421d05cd Add fallback for memory read/write in case the address goes over a 4K page 2023-02-11 16:27:43 +00:00
Kelebek1 5c8140092f Fix depop prepare receiving bad mix infos and writing out of bounds, and update aux a bit, may help 2023-02-11 10:21:25 +00:00
Kelebek1 b2a024c42a Remove fake vertex bindings when dynamic state is enabled 2023-02-05 22:28:03 +00:00
Kelebek1 7aad0b009b Change licenses 2023-01-21 06:19:43 +00:00
Kelebek1 1b8f2ddbe7 Demote maxwell3d Firmware4 call log to debug 2023-01-18 01:59:11 +00:00
Kelebek1 8fea4c21b2 Be careful of mangled out of bounds read 2023-01-14 19:53:55 +00:00
Kelebek1 a665621670 Move demangle impl to cpp 2023-01-14 05:12:41 +00:00
Kelebek1 90f546cba4 Add stacktrace symbol demangling 2023-01-14 04:43:21 +00:00
Kelebek1 6787d87e44 Remove unimplemented transform feedback geometry spam, it should be implemented 2022-12-16 22:52:29 +00:00
Kelebek1 501ea58598 Signal buffer event on audio in/out system stop, and force remove all registered audio buffers 2022-12-16 16:07:24 +00:00
Kelebek1 bb10e5e6eb Respect render mode override 2022-11-30 01:43:36 +00:00
Kelebek1 59c4dc2f32 Use the maximum input index for samples buffer span size, not just the input count 2022-11-22 15:32:11 +00:00
Kelebek1 a5b76126e1 Fix regs regression with OpenGL two-sided stencil, and re-add data invalidation reg 2022-11-11 04:04:36 +00:00
Kelebek1 2da6a39c19 Update audio_core for firmware 15.0.0 2022-10-19 06:16:15 +01:00
Kelebek1 bc29a3a188 Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong. 2022-10-10 20:59:57 +01:00
Kelebek1 8351d39dd0 Choose the SDL audio backend when Cubeb reports too high of a latency 2022-10-09 13:47:59 +01:00
Kelebek1 37845e1228 Update 3D regs 2022-10-07 14:13:45 +01:00
Kelebek1 c8f8b9e076 Do not try to pause core timing from the audio thread when using single-core 2022-09-22 01:23:57 +01:00
Kelebek1 c6d4071162 Remove pause callbacks from coretiming 2022-09-13 13:20:35 +01:00
Kelebek1 0c01ac7410 Remove a pragma once from a cpp file 2022-09-12 19:27:11 +01:00
Kelebek1 77a30f7286 Don't stall with nvdec 2022-09-04 05:41:06 +01:00
Kelebek1 c3e3874d8d Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads. 2022-09-02 04:43:04 +01:00
Kelebek1 f121da072a Demote services from warning/info to debug to reduce log spam:
GetCurrentFocusState
SetClockSpeed
EnableSixAxisSensorUnalteredPassthrough
IsSixAxisSensorUnalteredPassthroughEnabled
Get, GetOld
SetAndWait, SetAndWaitOld
IocParam
IocFree
2022-09-01 16:54:22 +01:00
Kelebek1 a0732144ba Silence std::aligned_storage warnings as it's deprecated in C++23,
replace it with alignas() and a C array
2022-09-01 16:50:41 +01:00
Kelebek1 15c4734b5b Implement AudRenU:RequestUpdateAuto, and use C descriptors when B reports as empty. 2022-08-24 18:14:21 +01:00
Kelebek1 26353451be Do some log memes to help perceived volume 2022-08-12 19:59:09 +01:00