mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Update shader_rec_emitter_arm64.hpp
This commit is contained in:
parent
7fa7559879
commit
5dd53a0524
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue