Commit Graph

2852 Commits

Author SHA1 Message Date
PJB3005 63a2c8db9f Fix d_a_obj_stone bound crashing due to accessing a field improperly
Different vtable layout on mwerks made this direct pointer cast not work. access the field instead.

Also I went searching if there's any other cases of this bug, didn't find any but did find something else to clean up.
2026-03-31 03:17:31 +02:00
TakaRikka 0678c31c39 unstub map rendering 2026-03-30 17:52:19 -07:00
PJB3005 01e88fbd85 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 f361be6dd6 fix pad rumble 2026-03-30 14:44:40 -07:00
TakaRikka 52111b6699 the rest of maddie's flower stuff 2026-03-30 13:08:29 -07:00
TakaRikka e3df42e393 fix camera shake 2026-03-30 03:33:15 -07:00
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
Lurs cda8f5dc67 Fix softlock when entering Faron cave (and maybe others) in Release 2026-03-30 09:33:54 +02:00
TakaRikka 3f3f70f164 bg obj sfx fix 2026-03-30 00:18:57 -07:00
TakaRikka f9a986cf28 fix flowers 2026-03-30 00:08:07 -07:00
Irastris 9bca40c062 Revert "Increase shadow resolution" 2026-03-30 02:26:12 -04:00
Irastris 23a8f30801 Update Aurora submodule 2026-03-30 02:25:52 -04:00
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
Max Roncace eed5df6912 Fix Clang compile error due to introduction of PCH 2026-03-29 22:23:44 -04:00
TakaRikka 76c9548e4a 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
Luzagar 84fcdf22a0 E ws work (#3137)
* e_ws work

* more doc

* add debug message

* move declaration

* more match

* test

* Revert "more match"

This reverts commit 3d910e6e913d84685aa40fe993a50402b3ee27a1.

* fix

* cleanup

* fix

* rename mIsHome
2026-03-29 16:27:52 -07:00
Luke Street f2c0ad8ab2 Update aurora 2026-03-29 15:42:26 -06:00
Luke Street e24de866f0 Update aurora 2026-03-29 15:08:27 -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 2711229946 Merge pull request #145 from TakaRikka/26-03-29-pch
Use PCH to massively speed up compile time
2026-03-29 04:36:46 -07: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
PJB3005 b6577ffa2c Move 2026-03-29 13:35:26 +02:00
PJB3005 3a8a288ae7 Use PCH to massively speed up compile time
A change to a common header goes from 90s to 20s on my system. Crazy.
2026-03-29 13:24:59 +02:00
TakaRikka 2c80348892 Merge pull request #142 from TakaRikka/26-03-29-include-cleanup
26 03 29 include cleanup
2026-03-29 01:04:16 -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
PJB3005 c196ded104 Don't include weak_bss_1109_to_1009.h on PC
Not relevant to us.
2026-03-29 04:34:45 +02:00
Irastris 880fc5e2f9 Update Aurora submodule 2026-03-28 19:18:28 -04: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
Max Roncace d63ffe6030 Fix Clang compiler error due to CRASH macro 2026-03-27 23:50:31 -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 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 5d24e1125f Re-add src == dst check in SafeStringCopyTruncate
Accidentally dropped this while iterating on the exact implementation.
2026-03-27 17:17:45 +01:00
PJB3005 a2b32c27c0 Do use strncpy in SafeStringCopy
I figured out how to mute the warnings.
2026-03-27 17:16:41 +01:00
PJB3005 54f4dddbde Fix CRASH() macro outside MSVC
Just add a CRASHF() overload that... isn't necessary anymore. Oh well.
2026-03-27 17:07:54 +01:00
PJB3005 abfe917008 Add replacement helpers for strncpy[_s]
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
PJB3005 f6f2f14a60 Remove SDL mixer
Didn't end up using it.
2026-03-27 15:10:31 +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