diff --git a/include/PICA/dynapica/shader_rec_emitter_arm64.hpp b/include/PICA/dynapica/shader_rec_emitter_arm64.hpp index b8133b42..7a4a6350 100644 --- a/include/PICA/dynapica/shader_rec_emitter_arm64.hpp +++ b/include/PICA/dynapica/shader_rec_emitter_arm64.hpp @@ -43,7 +43,7 @@ class ShaderEmitter : private oaknut::CodeBlock, public oaknut::CodeGenerator { oaknut::Label emitExp2Func(); template - void getLabelPointer(const oaknut::Label& label) { + T getLabelPointer(const oaknut::Label& label) { auto pointer = reinterpret_cast(oaknut::CodeBlock::ptr()) + label.offset(); return reinterpret_cast(pointer); } @@ -131,4 +131,4 @@ class ShaderEmitter : private oaknut::CodeBlock, public oaknut::CodeGenerator { void compile(const PICAShader& shaderUnit); }; -#endif // arm64 recompiler check \ No newline at end of file +#endif // arm64 recompiler check