mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-27 08:12:18 -08:00
d2r2: fix missing function types on functions returning void
This commit is contained in:
1 parent
d59d6a21f0
commit
a16716eff7
4 files changed
+6
-5
No files matched your search
@@ -3381,7 +3381,7 @@ d2r2_convert(Arena *arena, D2R2_ConvertParams *params)
|
||||
//- rjf: unpack type
|
||||
//
|
||||
RDIM_Type *type = 0;
|
||||
if(type_attrib != &dw2_attrib_nil)
|
||||
if(type_attrib != &dw2_attrib_nil || tag.kind == DW_TagKind_SubProgram)
|
||||
{
|
||||
// rjf: functions need to get their type info from themselves; the type attrib
|
||||
// only references the return type. so, in that case, we'll use the procedure's
|
||||
|
||||
Reference in new issue
Block a user