Luke Street
9b7d5bd261
Add JKRThread::Run return value
2026-04-01 21:01:59 -06:00
Luke Street
2e920d510d
Allow threads to gracefully shutdown
2026-04-01 18:30:12 -06:00
Pieter-Jan Briers
007d787cfd
Merge branch 'main' into 26-03-28-movie-player
2026-04-01 15:15:08 +02:00
PJB3005
e61d7a19b8
Expand heap debug ImGui
...
Now allows seeing all blocks in ExpHeaps and running heap integrity checks.
2026-03-31 21:18:25 +02:00
PJB3005
4fd8d26bab
Heap allocation failure logs free blocks, always crashes even without DEBUG
2026-03-31 21:13:13 +02:00
PJB3005
aea7d97bb5
Fix heap corruption caused by JKRExpHeap::do_freeAll
...
Caused by a size that should've been sizeof(CMemBlock).
Simple way to repro was to open and close the full map on dpad, afterwards heap check would fail.
2026-03-31 21:11:19 +02:00
TakaRikka
57933f7150
Merge pull request #165 from TakaRikka/26-03-31-suspicious-assert
...
Disable suspicious assert causing cutscene crashes
2026-03-31 03:53:09 -07:00
Lurs
bf07cf4c5f
Minimap fixes (needs change for intensityI8 in aurora) and some other BE fixes
2026-03-31 11:38:59 +02:00
TakaRikka
53c915d627
remove unneeded ospanic
2026-03-31 01:08:11 -07:00
Luke Street
b109aa0273
Update GXSetArray usages (fixes & le arg)
2026-03-31 01:06:36 -06:00
PJB3005
3d81e633ff
Disable suspicious assert causing cutscene crashes
...
From my reading of the code this assert is likely incorrect. This throws on cases where usize has a sane-looking value (the length of the pContent null-terminated string), and from my understanding of how the data is parsed, this length is needed to figure out the location of the next "paragraph".
2026-03-31 04:36:33 +02:00
PJB3005
d00104285b
Fix JUTGamePad stopPatternedRumbleAtThePeriod division by zero
...
Happens for me when loading a save in Death Mountain Twilight. Confirmed in Dolphin with the same save file.
PowerPC does not raise an exception on division by zero, so I assume this is an original game "bug"
2026-03-31 01:12:45 +02:00
TakaRikka
4a7ea9d85b
Merge https://github.com/zeldaret/tp
2026-03-30 02:21:28 -07:00
TakaRikka
5685fa58c6
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
TakaRikka
cb6ee4b21e
d_path / d_vibration debug work ( #3138 )
...
* dpath debug
* dvibration debug
* d_meter2_info debug
* gcyl/gpsh debug
2026-03-29 16:43:00 -07:00
Max Roncace
d2c5614a47
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
bf5032b5fa
Merge remote-tracking branch 'origin/main' into 26-03-28-movie-player
2026-03-29 03:16:24 +02:00
PJB3005
76131c071f
Make the movie player work somewhat.
...
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.
Needs changes to thp.h which should be removed from Aurora, will do that later.
Also audio not implemented yet.
2026-03-28 18:29:58 +01:00
TakaRikka
adba1a3055
Merge pull request #135 from TakaRikka/pjb-audio
...
Audio
2026-03-27 20:36:06 -07:00
Irastris
3f443d6653
Fix MSVC RelWithDebInfo/Release compilation after upstream merge
2026-03-27 23:28:24 -04:00
PJB3005
248f3945b4
Merge branch 'main' into pjb-audio
2026-03-27 17:18:11 +01:00
PJB3005
0178ab35b3
Add replacement helpers for strncpy[_s]
...
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
Lurs
1faded3faf
fix stuck note e.g. in Hyrule field
2026-03-27 12:23:41 +01:00
Max Roncace
04df9d5397
Use stubs instead of including debug files for last upstream merge
2026-03-27 02:32:20 -04:00
Max Roncace
12966c3b12
Merge remote-tracking branch 'decomp/main'
2026-03-27 02:02:24 -04:00
Max Roncace
36d89c7bbf
object-particle debug almost matching ( #3136 )
2026-03-26 18:56:04 -07:00
Roman Sandu
0fc019dcfa
JAHostIO and friends ( #3131 )
2026-03-26 18:54:07 -07:00
PJB3005
e2923d3745
Fix shutdown crash
2026-03-26 15:03:48 +01:00
Max Roncace
105e856d4f
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
3b6582f1a2
Add even more heap debug names
2026-03-25 20:53:18 -04:00
Max Roncace
c92ebfe5f1
Improve exp heap alloc failure message
2026-03-25 20:53:18 -04:00
Max Roncace
c49b5ad857
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
7ac96d0251
Merge branch 'main' into pjb-audio
2026-03-25 16:43:59 +01:00
CraftyBoss
328102ef2e
Merge branch 'main' of https://github.com/TakaRikka/dusk
2026-03-21 00:56:15 -04:00
CraftyBoss
955a70db1e
more BE stuff, fix scissors for dmap/fmap
2026-03-21 00:56:01 -04:00
Max Roncace
2c7ae22167
Add more heap names for debug
2026-03-20 20:59:50 -04:00
PJB3005
d257229e9c
Stop compiling more DSP stubs
2026-03-20 18:50:47 +01:00
PJB3005
a6817f69d0
struct JASWaveArc forward declaration fix
2026-03-20 17:51:09 +01:00
PJB3005
e0ad41e3be
Merge remote-tracking branch 'origin/main' into pjb-audio
2026-03-19 20:16:57 +01:00
CraftyBoss
e0bbf3e575
add more be swap in J3DDeform data, stub TObject_sound::do_paragraph
2026-03-19 13:36:10 -04:00
PJB3005
3cd3514888
More imgui stuff!!!
2026-03-19 16:04:18 +01:00
Max Roncace
cfc3a5f483
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
5cb3a39f43
Merge remote-tracking branch 'decomp/main'
2026-03-18 01:56:47 -04:00
Max Roncace
6694c1b281
Fix a bunch of compiler warnings and document several more bugs ( #3130 )
2026-03-17 22:38:05 -07:00
Max Roncace
f6e22e40f8
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
b0644a3cd0
Disable JASAiCtrl safety kill code
...
Doesn't work properly and causes weird behavior
2026-03-16 23:35:57 +01:00
TakaRikka
4a56d02dae
Merge pull request #93 from TakaRikka/ira-crashfix1
...
JAUSoundTable-related crash fix
2026-03-16 14:27:43 -07:00
PJB3005
4590cd6419
Fix CUTOFF_TO_IIR_TABLE OOB
2026-03-16 16:48:45 +01:00
Irastris
32a6126490
Use DUSK_AUDIO_DISABLED instead of TARGET_PC
2026-03-16 11:48:45 -04:00
PJB3005
a4bec36b12
BE fix MixConfig
2026-03-16 16:48:38 +01:00