Commit Graph

80 Commits

Author SHA1 Message Date
TakaRikka adfa259ccb Merge https://github.com/zeldaret/tp 2026-03-30 02:21:28 -07:00
TakaRikka 885fad3312 Z2Audio player debug work / fix actor method returns (#3140)
* Z2Audio player debug work

* fix actor method returns

* wii build fix
2026-03-30 02:10:42 -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
TakaRikka bd33160bb9 Merge pull request #135 from TakaRikka/pjb-audio
Audio
2026-03-27 20:36:06 -07:00
Irastris 0b05eac79f Fix MSVC RelWithDebInfo/Release compilation after upstream merge 2026-03-27 23:28:24 -04: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
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
Max Roncace 4309cd2aa5 object-particle debug almost matching (#3136) 2026-03-26 18:56:04 -07:00
Roman Sandu b0cd70ce74 JAHostIO and friends (#3131) 2026-03-26 18:54:07 -07:00
PJB3005 2240c04cec Fix shutdown crash 2026-03-26 15:03:48 +01:00
Max Roncace 204f35f7ae Fix incorrect asserts in object-particle
This fixes a crash in the first King Bulblin sequence (in Ordon Spring)
as well as in the first cutscene in Renado's sanctuary, and probably
some other sequences too.

This is meant as a band-aid until the upstream fix here is merged:
https://github.com/zeldaret/tp/pull/3136
2026-03-25 20:57:31 -04:00
Max Roncace c6c6a6be33 Improve exp heap alloc failure message 2026-03-25 20:53:18 -04:00
Max Roncace 816d853002 Fix ctb::data::TBlockData endian issues
This fixes some buggy cutscene camera positions and potentially
related crashes.
2026-03-25 20:53:18 -04:00
PJB3005 7944437dcc Merge branch 'main' into pjb-audio 2026-03-25 16:43:59 +01:00
CraftyBoss da132863e9 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-21 00:56:15 -04:00
CraftyBoss 9510c94454 more BE stuff, fix scissors for dmap/fmap 2026-03-21 00:56:01 -04:00
Max Roncace 3fe39464f1 Add more heap names for debug 2026-03-20 20:59:50 -04:00
PJB3005 36e90df60c Stop compiling more DSP stubs 2026-03-20 18:50:47 +01:00
PJB3005 6c3d9d2e38 Merge remote-tracking branch 'origin/main' into pjb-audio 2026-03-19 20:16:57 +01:00
CraftyBoss 1aaa023e74 add more be swap in J3DDeform data, stub TObject_sound::do_paragraph 2026-03-19 13:36:10 -04:00
PJB3005 a2d00da978 More imgui stuff!!! 2026-03-19 16:04:18 +01:00
Max Roncace 49080f6119 Move aurora_begin_frame/aurora_end_frame calls to main loop
This fixes an issue when using SDL's X11 backend due to Dusk
attempting to render ImGui menus without an active frame.
2026-03-18 16:33:03 -04:00
Max Roncace bb061a1225 Merge remote-tracking branch 'decomp/main' 2026-03-18 01:56:47 -04:00
Max Roncace 8578874254 Fix a bunch of compiler warnings and document several more bugs (#3130) 2026-03-17 22:38:05 -07:00
Max Roncace f17c134aff Fix vertex data not being populated for non-textured models
This affects models loaded by d_a_bg such as Stage/bmde/model2.bmd.
2026-03-18 00:25:38 -04:00
PJB3005 c2879e735c Disable JASAiCtrl safety kill code
Doesn't work properly and causes weird behavior
2026-03-16 23:35:57 +01:00
TakaRikka 61d2ba1e33 Merge pull request #93 from TakaRikka/ira-crashfix1
JAUSoundTable-related crash fix
2026-03-16 14:27:43 -07:00
PJB3005 3bab77b59d Fix CUTOFF_TO_IIR_TABLE OOB 2026-03-16 16:48:45 +01:00
Irastris 451ebcbb3c Use DUSK_AUDIO_DISABLED instead of TARGET_PC 2026-03-16 11:48:45 -04:00
PJB3005 fae09942a4 Fix setBusConnect OOB for "dolby mode" channels 2026-03-16 16:48:11 +01:00
PJB3005 743e5b11d8 Fix NullTexData too small 2026-03-16 15:44:36 +01:00
Lurs f33923dc56 Fixes #82 2026-03-16 08:35:34 +01:00
Irastris ee2079bcf9 JAUSoundTable-related crash fix 2026-03-15 18:53:42 -04:00
PJB3005 8b63858d9d Oops 2026-03-15 18:41:48 +01:00
PJB3005 96dc827011 More minor naming 2026-03-15 17:59:11 +01:00
PJB3005 d759bcffbd Names mixed in with some BE fixes 2026-03-15 01:23:11 +01:00
Max Roncace 4fd2ddd67a Fix some Clang compile warnings 2026-03-14 18:37:18 -04:00
PJB3005 e86aebfcd8 Disable debug code in JASAramStream 2026-03-14 16:44:04 +01:00
PJB3005 602f69673b Don't make the DAC rate weird 2026-03-14 14:22:33 +01:00
PJB3005 82b4f6327c Assign names to threads
Visible in debuggers etc
2026-03-14 14:16:49 +01:00
PJB3005 7eaabe6ecc We have audio!! 2026-03-14 14:03:10 +01:00
PJB3005 ca467e62ab More documenting for JASAramStream and JASDSPInterface 2026-03-14 14:03:09 +01:00
PJB3005 9d1deb2a37 Fix another JASTaskThread::allocCallStack size 2026-03-14 14:02:15 +01:00
PJB3005 91069ae3b2 Fix incorrect JASChannel size for JASPoolAllocObject_MultiThreaded
Despair
2026-03-14 14:02:14 +01:00
PJB3005 66e2709290 Some more names 2026-03-14 14:02:14 +01:00
PJB3005 18a63d06bd Fix DVD command sizes 2026-03-14 14:02:14 +01:00
PJB3005 d48b8196eb Make JKRAramPiece trap on invalid pointers 2026-03-14 14:02:14 +01:00
PJB3005 3c83c98887 Fix BE in JASAramStream::load 2026-03-14 14:02:14 +01:00