From 64f4aaa260703769a598a87cddb4003d36869d88 Mon Sep 17 00:00:00 2001 From: robojumper Date: Mon, 27 May 2024 22:00:23 +0200 Subject: [PATCH] Comment --- src/d/d_dylink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/d/d_dylink.cpp b/src/d/d_dylink.cpp index 706854f7..1d6ea37d 100644 --- a/src/d/d_dylink.cpp +++ b/src/d/d_dylink.cpp @@ -261,6 +261,10 @@ extern "C" bool fn_80053240(char *relPath, char *tmpRelPath, EGG::Heap *heap) { if (nandStructs[0].isError() || nandStructs[1].isError()) { sizeRead = 0; } + + // TODO here are the inline dtors that mostly match, but their addressing is weird + // and there's a check that &nandStructs[1] != nullptr before destructing it, + // which is a bit weird for an inline dtor for a stack local } heap->free(buf);