From 0c41b1593ba72655b22db154379a86aef43f9c40 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sat, 6 Jan 2024 05:47:21 -0500 Subject: [PATCH] Fix Another Bug --- src/vtable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vtable.ts b/src/vtable.ts index f56bd20..5a93f70 100644 --- a/src/vtable.ts +++ b/src/vtable.ts @@ -158,7 +158,7 @@ export class VTable implements Property { init += `${INDENT}${info.getName()}_vtable_addr = (${type}) ${toHex(vtableAddress)};\n`; declarations += `${type}${info.getName()}_vtable_addr;\n`; init += `${INDENT}${info.getName()}_non_virtual = *${info.getName()}_vtable_addr;\n`; - declarations += info.generateDefinition(); + declarations += info.generateDefinition('_non_virtual'); } } }