Update shader_rec_emitter_arm64.hpp

This commit is contained in:
wheremyfoodat 2024-03-07 19:17:27 +02:00 committed by GitHub
parent 7fa7559879
commit 5dd53a0524
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ class ShaderEmitter : private oaknut::CodeBlock, public oaknut::CodeGenerator {
oaknut::Label emitExp2Func();
template <typename T>
void getLabelPointer(const oaknut::Label& label) {
T getLabelPointer(const oaknut::Label& label) {
auto pointer = reinterpret_cast<u8*>(oaknut::CodeBlock::ptr()) + label.offset();
return reinterpret_cast<T>(pointer);
}