Commit Graph

63 Commits

Author SHA1 Message Date
Irastris fb9178cac9 Implement unlocked framerates via interpolation (#315)
* Disable waitForTick and waitBlanking

* Initial frame interpolation implementation

* Initial batch of speed fixes

* Fix Iron Boots

* Strip dead code once used for debugging

* Interpolate shadows

* Revert overzealous/redundant lookups

* Fix JUTFader

* Fix field map cursor

* Fix various particle effects

* Fix Midna when riding Wolf Link

* Fix title logo

* Title Logo 2: Electric Boogaloo

* Fixed grass and flowers

* "Unlock Framerate" config option (WIP)

* Wrap more things in TARGET_PC

* Finish wrapping things in TARGET_PC

* Missed one

* Disable dComIfGd_drawXluListInvisible when interpolating

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-11 01:06:25 -06:00
PJB3005 74942f3c76 Fix JUTResFont performance
Just store the GXTexObjs in a separately allocated hashmap, so they can be persisted cross-frame. Easy.

Fixes #227
2026-04-07 21:43:38 +02:00
PJB3005 63ade15e2c Cleanly shut down JKRDecomp thread
Properly join the thread to ensure it's shut down before we try to exit.

Fixes #268
2026-04-07 20:06:52 +02:00
Max Roncace 479d444066 Fix a couple more BE issues in J3DMaterialFactory_v21 2026-04-04 01:36:16 -04:00
madeline c869320471 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-03 22:33:41 -07:00
madeline 350e99e8ab fix getDopplerPower fixes #213 2026-04-03 22:33:38 -07:00
Max Roncace 5bb36dfb20 Fix crashes when entering Henna's shop 2026-04-04 01:30:24 -04:00
Luke Street 7642d72a52 Allow threads to gracefully shutdown 2026-04-01 18:30:12 -06:00
PJB3005 9e298f9228 Expand heap debug ImGui
Now allows seeing all blocks in ExpHeaps and running heap integrity checks.
2026-03-31 21:18:25 +02:00
Luke Street 2ce83d3026 Update GXSetArray usages (fixes & le arg) 2026-03-31 01:06:36 -06: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
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
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 81d0312f2b Merge branch 'main' into pjb-audio 2026-03-27 17:18:11 +01:00
Max Roncace 73a8ba0577 Use stubs instead of including debug files for last upstream merge 2026-03-27 02:32:20 -04: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
Max Roncace 0de67a8320 Add even more heap debug names 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
Max Roncace 3fe39464f1 Add more heap names for debug 2026-03-20 20:59:50 -04:00
PJB3005 c940e04b56 struct JASWaveArc forward declaration fix 2026-03-20 17:51:09 +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
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
PJB3005 3bab77b59d Fix CUTOFF_TO_IIR_TABLE OOB 2026-03-16 16:48:45 +01:00
PJB3005 6f2b730143 BE fix MixConfig 2026-03-16 16:48:38 +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 2f38d70db8 Use type-level operator delete overload when appropriate in jkrDelete
Found by Lars
2026-03-14 17:55:19 +01:00
PJB3005 73d1d20d89 Fix JAUSoundAnimation 2026-03-14 16:43:20 +01:00
PJB3005 6f68ce3531 Fix OFFSET_PTR name conflicts 2026-03-14 16:42:41 +01:00
PJB3005 82b4f6327c Assign names to threads
Visible in debuggers etc
2026-03-14 14:16:49 +01:00
PJB3005 ca467e62ab More documenting for JASAramStream and JASDSPInterface 2026-03-14 14:03:09 +01:00
PJB3005 dd9155dc30 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 66e2709290 Some more names 2026-03-14 14:02:14 +01:00
PJB3005 29b316f8ae Fix JASTrackNodeOffset missing offset 2026-03-14 14:02:14 +01:00
PJB3005 2228241c2b Fix JASAramStream layout 2026-03-14 14:02:14 +01:00
PJB3005 977cbf1b63 BE JASSeqReader.h 2026-03-14 14:02:14 +01:00
PJB3005 4db5684d3e BE JASAramStream 2026-03-14 14:02:14 +01:00
PJB3005 ffd2c47420 BE JAUSoundTableItem 2026-03-14 14:02:13 +01:00
PJB3005 45e55f1384 Constant for DSP_SUBFRAME_SIZE 2026-03-14 14:02:13 +01:00
PJB3005 4f09fc65ac Remove JASAudioThread race condition fixing code
I'm not planning on using JASAudioThread anymore
2026-03-14 14:02:13 +01:00
PJB3005 5235bb03fe Fix JAISoundID endianness issues 2026-03-14 13:59:26 +01:00
PJB3005 fa139ecf5c Implement JASCriticalSection with a regular mutex 2026-03-14 13:49:16 +01:00
PJB3005 11d90302f1 Fix build
Heck
2026-03-14 13:45:58 +01:00
PJB3005 303a21a4a3 JAudio field name/comment pass
HUGE thanks to XAYRGA for their work documenting JAudio file formats
2026-03-14 13:45:55 +01:00