Skip to content

Commit a4140b0

Browse files
Properly register memory type globals.
1 parent c0d4bbf commit a4140b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/luaGraphics.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,9 @@ void luaGraphics_init(lua_State *L) {
10451045
uint32_t MEM_VRAM = (uint32_t)SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW;
10461046
uint32_t MEM_PHYCONT_RAM = (uint32_t)SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_RW;
10471047
uint32_t MEM_RAM = (uint32_t)SCE_KERNEL_MEMBLOCK_TYPE_USER_RW;
1048+
VariableRegister(L,MEM_VRAM);
1049+
VariableRegister(L,MEM_PHYCONT_RAM);
1050+
VariableRegister(L,MEM_RAM);
10481051
VariableRegister(L,FILTER_POINT);
10491052
VariableRegister(L,FILTER_LINEAR);
10501053
lua_newtable(L);

0 commit comments

Comments
 (0)