Commit Graph

78 Commits

Author SHA1 Message Date
Luke Street 7dba5738b6 Widescreen rework & IR scaling 2026-04-17 23:11:43 -06:00
CraftyBoss 97f1fdf297 change ANDROID define to TARGET_ANDROID 2026-04-14 03:18:21 -07:00
CraftyBoss 27dff12c78 Merge branch 'main' into android-building 2026-04-14 03:17:07 -07:00
CraftyBoss 028f0f910e fix compilation error
GlyphTextures no longer exists
2026-04-14 03:07:47 -07:00
CraftyBoss c0e31ad125 Merge branch 'main' into android-building 2026-04-14 02:48:24 -07:00
PJB3005 1dac80f3a9 Make JUTResFont load all texture data into one texture
Together with the previous change, this enables entire blocks of text to be rendered in one draw call.
2026-04-13 19:09:16 +02:00
PJB3005 0a95a9e538 Enable some draw call merging in text rendering
Don't set state between characters if possible.

Next step is page merging so it can do full lines of text at once.
2026-04-13 13:27:21 +02:00
CraftyBoss 245e69c04c Merge remote-tracking branch 'origin/main' into android-building 2026-04-13 01:05:16 -07:00
Jasper St. Pierre 233307a5d2 fixes and cleanups for j3d material 2026-04-12 20:14:24 -07:00
CraftyBoss c9661daf61 Merge remote-tracking branch 'origin/main' into android-building 2026-04-12 20:02:23 -07:00
Lurs 6d17a86f29 Let's replace the hack through a hack? Should fix the double swapping of #208 (and maybe more) 2026-04-12 22:39:05 +02:00
Irastris bd496e5662 Frame interp: Refactor JUTFader
Now works regardless of interpolation being on/off
2026-04-12 13:56:00 -04:00
CraftyBoss 8d16edf4e3 Merge remote-tracking branch 'origin/main' into android-building 2026-04-12 02:53:05 -07:00
Luke Street 4879f2d340 BE swap J3DMaterialFactory::newIndTexMtx/newFog 2026-04-11 20:13:39 -06:00
Irastris eaec6487a3 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
CraftyBoss 417360b1ce building for android impl
currently builds a "Metaforce" apk, will need to change name of course. Running the apk using Android Studio's emulator can get in game, however running on a samsung phone does not seem to work.
2026-04-10 03:53:57 -07:00
PJB3005 9cf6f3497d 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 208f2aba9f 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 bc5c5ceeb7 Fix a couple more BE issues in J3DMaterialFactory_v21 2026-04-04 01:36:16 -04:00
madeline 9a8a312081 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-03 22:33:41 -07:00
madeline f340def9af fix getDopplerPower fixes #213 2026-04-03 22:33:38 -07:00
Max Roncace ef35ae882b Fix crashes when entering Henna's shop 2026-04-04 01:30:24 -04:00
Luke Street 2e920d510d Allow threads to gracefully shutdown 2026-04-01 18:30:12 -06: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
Luke Street b109aa0273 Update GXSetArray usages (fixes & le arg) 2026-03-31 01:06:36 -06: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 248f3945b4 Merge branch 'main' into pjb-audio 2026-03-27 17:18:11 +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
Max Roncace 3b6582f1a2 Add even more heap debug names 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
Max Roncace 2c7ae22167 Add more heap names for debug 2026-03-20 20:59:50 -04: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
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
PJB3005 4590cd6419 Fix CUTOFF_TO_IIR_TABLE OOB 2026-03-16 16:48:45 +01:00
PJB3005 a4bec36b12 BE fix MixConfig 2026-03-16 16:48:38 +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 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