Commit Graph

2774 Commits

Author SHA1 Message Date
PJB3005 7ac96d0251 Merge branch 'main' into pjb-audio 2026-03-25 16:43:59 +01:00
Lurs 3ad7e70963 removing Z2Creature::startCreatureVoice stub 2026-03-25 09:35:16 +01:00
PJB3005 acf3844f1f Add note about DUSK_SELECTED_OPT to README 2026-03-23 13:53:23 +01:00
PJB3005 ff7a80c7b4 Add a bunch of missing imgui close buttons 2026-03-23 13:46:46 +01:00
PJB3005 d5786356e2 Threading cleanup: remove MallocAllocator stuff
Not necessary anymore now that JKRHeap is isolated
2026-03-23 13:34:20 +01:00
TakaRikka 4a2294c40b save editor wip 2026-03-23 05:01:42 -07:00
TakaRikka b0e3a4e0d2 enable cs fades again 2026-03-22 00:20:37 -07:00
TakaRikka 793e09b95c aeralfos UB fix 2026-03-21 22:56:44 -07:00
TakaRikka 6d4f41b50d fix fopAcM_createItemFromEnemyID fix 2026-03-21 20:30:41 -07:00
TakaRikka 82172e2ee5 fix fopAcM_createItemFromEnemyID 2026-03-21 19:06:51 -07:00
TakaRikka 7ce4c444ec fix d_a_peru animation data 2026-03-21 18:05:29 -07:00
TakaRikka 9bc74b0226 various crash fixes 2026-03-21 05:07:51 -07:00
TakaRikka 0122e42e1e fix potential crash with heap name display 2026-03-21 01:50:20 -07:00
TakaRikka 2075da3347 Merge https://github.com/zeldaret/tp 2026-03-21 01:14:00 -07:00
TakaRikka f8cf545848 cleanup d_a_obj_wflag (#3135) 2026-03-21 00:56:27 -07: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 f28585d18c Fix block-unaligned loop decoding 2026-03-20 19:38:49 +01:00
PJB3005 d257229e9c Stop compiling more DSP stubs 2026-03-20 18:50:47 +01:00
PJB3005 fb1323a583 Stop compiling some DSP-related files.
Replace it all with stubs.
2026-03-20 18:05:17 +01:00
PJB3005 82511a95af CLion? More like CLiedToMe 2026-03-20 17:54:37 +01:00
PJB3005 ebebb1af34 Audio system cleanup and comments 2026-03-20 17:51:42 +01:00
PJB3005 a6817f69d0 struct JASWaveArc forward declaration fix 2026-03-20 17:51:09 +01:00
Lurs e22c9da163 remove double swapping 2026-03-20 15:50:57 +01:00
Max Roncace 4a4a5724e1 Fix last argument in calls to dCamera_c::startEventCamera
The last argument is used as a char*, so we need to explicitly
pass nullptr instead of 0 to ensure it has the correct type.
This was causing crashes due to va_arg reading 8 bytes when only 4
were provided by the caller - if the out-of-bounds bytes are
non-zero, the null check fails and it continues pulling args from
beyond the argument buffer potentially triggering a segfault.
2026-03-20 02:51:29 -04:00
CraftyBoss 4c613244c1 oops forgot to include something 2026-03-19 23:59:37 -04:00
CraftyBoss fe60866ffd fix StaffWork being too big for work buffer, increase mpTalkHeap size 2026-03-19 23:54:00 -04:00
PJB3005 b8b64304e4 Attempt to allow sample rates to be changed dynamically
Doesn't fix the walking bomb things :(
2026-03-19 20:28:15 +01:00
PJB3005 911a12aaea How did this compile ??? 2026-03-19 20:27:46 +01:00
PJB3005 e0ad41e3be Merge remote-tracking branch 'origin/main' into pjb-audio 2026-03-19 20:16:57 +01:00
PJB3005 5d5969f415 Load bearing include 2026-03-19 20:07:39 +01:00
PJB3005 a1631942b6 Move the audio dumping code to a define 2026-03-19 20:06:28 +01:00
PJB3005 5419d357d8 Skip work in ReadChannelSamples if no new samples needed 2026-03-19 20:06:02 +01:00
PJB3005 6df246eb06 PCM16 support
Wanted this to test something, not sure if it's used in-game
2026-03-19 20:05:47 +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 3d396d66b6 Stereo audio! 2026-03-19 17:47:11 +01:00
PJB3005 3cd3514888 More imgui stuff!!! 2026-03-19 16:04:18 +01:00
TakaRikka d1b9b74271 fix kcol wall correct 2026-03-18 22:58:43 -07:00
TakaRikka ad43dee0e7 fix horse grass 2026-03-18 18:27:22 -07:00
TakaRikka 2ce36679f7 player info display tool 2026-03-18 17:29:08 -07:00
TakaRikka 46ac385a4d Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-18 16:18:23 -07:00
TakaRikka 0731b7ca1f Merge pull request #99 from TakaRikka/fix/imgui-begin-frame
Move aurora_begin_frame/aurora_end_frame calls to main loop
2026-03-18 13:43:30 -07: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 fbbf27e73d Update m_Do window viewport immediately on Aurora window resize
The framebuffer size flows into Aurora as follows:

Into JUTVideo:
  AURORA_WINDOW_RESIZED handler ->
  mDoGph_gInf_c::setWindowSize ->
  JUTVideo::setWindowSize
From JUTVideo -> dComIfG_play_c:
  fpcCt_Handler ->
  phase_4 ->
  dComIfGp_setWindow
From dComIfGp_play_c -> Aurora:
  mDoGph_Painter ->
  drawDepth2 ->
  GXSetTexCopySrc ->
  GXCopyTex ->
  aurora::gfx::resolve_pass (called by GXCopyTex)

The trouble is that 1) phase_4 is only called when creating a new scene/room,
and 2) even when it is called, mDoGph_Painter is executed before fpcCt_Handler
in the main loop so the new size isn't visible to aurora::gfx::resolve_pass
until one frame after it's set. This causes a crash due to the original size
being passed to CopyTextureToTexture despite the destination framebuffer now
being smaller.

As a workaround, we just cut out the whole middleman section and call
dComIfGp_setWindow immediately when we receive a resize event. This way the new
size is immediately visible to Aurora.
2026-03-18 12:46:56 -04:00
TakaRikka b202701757 Merge https://github.com/zeldaret/tp 2026-03-18 02:58:55 -07:00
TakaRikka bc7503cb70 fix push pull callback UB in other compilers (#3134) 2026-03-18 02:57:37 -07:00
TakaRikka cefd7e59a1 add cc collider view (broken color) 2026-03-18 01:25:42 -07:00
Max Roncace 5cb3a39f43 Merge remote-tracking branch 'decomp/main' 2026-03-18 01:56:47 -04:00
TakaRikka f64015ea38 cc debug work (#3133) 2026-03-17 22:48:37 -07:00