Commit Graph

550 Commits

Author SHA1 Message Date
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
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
PJB3005 778c85c130 Fix setBusConnect OOB for "dolby mode" channels 2026-03-16 16:48:11 +01:00
PJB3005 5739a902e3 Fix NullTexData too small 2026-03-16 15:44:36 +01:00
Lurs bfe9746abf Fixes #82 2026-03-16 08:35:34 +01:00
Irastris d35d2f9af3 JAUSoundTable-related crash fix 2026-03-15 18:53:42 -04:00
PJB3005 496742bdd0 Oops 2026-03-15 18:41:48 +01:00
PJB3005 7b01de257c More minor naming 2026-03-15 17:59:11 +01:00
PJB3005 79ddc6815d Names mixed in with some BE fixes 2026-03-15 01:23:11 +01:00
Max Roncace 9bed8b863f Fix some Clang compile warnings 2026-03-14 18:37:18 -04:00
PJB3005 28f2905306 Use type-level operator delete overload when appropriate in jkrDelete
Found by Lars
2026-03-14 17:55:19 +01:00
PJB3005 3748d61156 Disable debug code in JASAramStream 2026-03-14 16:44:04 +01:00
PJB3005 8d06aa8837 Fix JAUSoundAnimation 2026-03-14 16:43:20 +01:00
PJB3005 7d95231ddc Fix OFFSET_PTR name conflicts 2026-03-14 16:42:41 +01:00
PJB3005 60141f9381 Don't make the DAC rate weird 2026-03-14 14:22:33 +01:00
PJB3005 dca0964f27 Assign names to threads
Visible in debuggers etc
2026-03-14 14:16:49 +01:00
PJB3005 002a34f18b We have audio!! 2026-03-14 14:03:10 +01:00
PJB3005 2ee0b8a27c More documenting for JASAramStream and JASDSPInterface 2026-03-14 14:03:09 +01:00
PJB3005 2a09783153 Fix another JASTaskThread::allocCallStack size 2026-03-14 14:02:15 +01:00
PJB3005 67a159eeef Make JASMemPool_MultiThreaded use ObjectLevelLockable
Shrug I wrote this in despair debugging the previous issue. Can't hurt I guess.
2026-03-14 14:02:15 +01:00
PJB3005 d41225980a Fix incorrect JASChannel size for JASPoolAllocObject_MultiThreaded
Despair
2026-03-14 14:02:14 +01:00