Commit Graph

1862 Commits

Author SHA1 Message Date
Luke Street a2b69d1e52 Avoid allocating RAM for shadow textures 2026-03-29 23:08:53 -06:00
Luke Street 7ea9bb1ec4 Increase shadow resolution 2026-03-29 23:03:00 -06:00
Luke Street e298f04e0d d_a_obj_brg: Fix out-of-bounds brg_init_pos 2026-03-29 14:59:27 -06:00
PJB3005 253196510f Fix Midna portal spawning after boss
#140
2026-03-29 18:22:45 +02:00
PJB3005 bafde816eb Fix bad DSP assert
Fixes #150
Fixes #133
2026-03-29 18:22:12 +02:00
PJB3005 d0d906fab4 Add fullscreen checkbox to game menu 2026-03-29 18:21:36 +02:00
PJB3005 4091e3d155 Fix stub log memory leaking if imgui rendering is disabled 2026-03-29 18:21:27 +02:00
TakaRikka 223ce87ea8 Merge pull request #144 from TakaRikka/fix/dvd-heap-exhaustion
Use separate heap for DVD decompression
2026-03-29 04:35:51 -07:00
Max Roncace b309b6c6ad Use separate heap for DVD decompression
This fixes crashes when first entering North Faaron cave and
Renado's Sanctuary due to system heap exhaustion resulting from
multiple threads allocating on the heap at once.

There's some sort of weird contention going on - for some reason the
game gobbles up seemingly any amount of memory you throw at it when
the two threads are competing for heap space. Using a separate heap
in the async thread sidesteps the issue.
2026-03-29 01:20:25 -04:00
PJB3005 3ad643f397 Don't include logging infrastructure in m_Do_graphic.h
This ends up wasting a ton of compile time because it pulls in all of Aurora's log infrastructure and fmt and all the noise into a thousand game files
2026-03-29 04:35:44 +02:00
Irastris daf2954d43 Revert d_s_logo speedup, skip logos entirely instead 2026-03-28 19:18:06 -04:00
CraftyBoss 8cb91016d9 increase d_a_coach_2D heap size 2026-03-28 10:47:55 -04:00
CraftyBoss ce12d168f0 Fix uninitialized field causing occasional crash in d_camera::lockonCamera, fix wolf howling scissors 2026-03-28 00:56:10 -04:00
TakaRikka bd33160bb9 Merge pull request #135 from TakaRikka/pjb-audio
Audio
2026-03-27 20:36:06 -07:00
PJB3005 c4d0189175 Fix map loader gameRegions literally being 2.7 MiB of recursive arrays
Just moving it to std::vector, easy enough.
2026-03-27 17:34:05 +01:00
PJB3005 81d0312f2b Merge branch 'main' into pjb-audio 2026-03-27 17:18:11 +01:00
PJB3005 abfe917008 Add replacement helpers for strncpy[_s]
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
PJB3005 c9d81c924c Audio channels are sorted with a stable sort 2026-03-27 14:54:27 +01:00
PJB3005 0ef39ae045 Show new audio channels as green on the debug tool 2026-03-27 14:54:17 +01:00
PJB3005 50303bba1b Implement master volume & volume interpolation
Does not fix clicking :(

Fixes https://github.com/TakaRikka/dusk/issues/132
Fixes https://github.com/TakaRikka/dusk/issues/128
2026-03-27 14:54:03 +01:00
PJB3005 21ce0d35b0 Replace ugly cast in dusk::audio::DspRender 2026-03-27 13:35:33 +01:00
PJB3005 962193d73c Skip oscillator channels properly I think 2026-03-27 12:42:37 +01:00
Lurs 258d42b49e fix stuck note e.g. in Hyrule field 2026-03-27 12:23:41 +01:00
Max Roncace ef1cfc5d28 Merge remote-tracking branch 'decomp/main' 2026-03-27 02:02:24 -04:00
YunataSavior f398cf04ad Add "Selected Layer" to Map Loader 2026-03-26 20:18:18 -07:00
Roman Sandu b0cd70ce74 JAHostIO and friends (#3131) 2026-03-26 18:54:07 -07:00
Max Roncace 6764a60364 Fix UB in search_ground_1 in d_a_e_yg
This could cause a crash and was previously fixed by 7d3795f7, but
it's a band-aid solution. This fix addresses the underlying bug that
actually causes the crash.

The workaround remains in place for now because similar bugs related
to NaNs have been encountered, and it's not currently known how many
places in the codebase are affected as well.
2026-03-26 20:11:39 -04:00
PJB3005 2240c04cec Fix shutdown crash 2026-03-26 15:03:48 +01:00
TakaRikka 803eb07341 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-26 04:52:52 -07:00
TakaRikka e212ccd417 save editor inventory menu wip 2026-03-26 04:52:09 -07:00
Lurs 4a90460ba0 Fix audio memory leak 2026-03-26 11:02:24 +01:00
YunataSavior 488ceb8136 Fix "switch case passes initialization" in d_a_peru 2026-03-25 21:28:58 -07:00
Max Roncace 0de67a8320 Add even more heap debug names 2026-03-25 20:53:18 -04:00
Max Roncace 9c0110d0fa Map loader: Reset room/point values when region is changed 2026-03-25 20:53:18 -04:00
madeline 85d3b982b2 fixes #107 2026-03-25 12:05:50 -07:00
PJB3005 7944437dcc Merge branch 'main' into pjb-audio 2026-03-25 16:43:59 +01:00
Lurs 5fbf8e4a7f removing Z2Creature::startCreatureVoice stub 2026-03-25 09:35:16 +01:00
madeline 2618da7453 properly scale deku toad camera detection range 2026-03-24 18:34:12 -07:00
madeline c31fde8221 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-24 18:25:05 -07:00
madeline 5fd5882881 fix trimming viewport scissoring fixes #121 2026-03-24 18:25:01 -07:00
Lurs 47402f56c8 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-24 11:20:12 +01:00
Lurs 42a0fbbf44 Add toggle for water projection offset. Potentially fixes #77 2026-03-24 11:19:58 +01:00
madeline a1f78609d8 turn on background input 2026-03-23 23:17:26 -07:00
madeline 2a02ab7f09 fuck interrupts 2026-03-23 22:16:57 -07:00
PJB3005 0148d913e1 Add a bunch of missing imgui close buttons 2026-03-23 13:46:46 +01:00
PJB3005 946d1ae9b7 Threading cleanup: remove MallocAllocator stuff
Not necessary anymore now that JKRHeap is isolated
2026-03-23 13:34:20 +01:00
TakaRikka 364400d56f save editor wip 2026-03-23 05:01:42 -07:00
TakaRikka 68df239197 enable cs fades again 2026-03-22 00:20:37 -07:00
TakaRikka 58c406173a aeralfos UB fix 2026-03-21 22:56:44 -07:00
TakaRikka aefdbd9ab1 fix fopAcM_createItemFromEnemyID fix 2026-03-21 20:30:41 -07:00