mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 10:54:16 +00:00
10 lines
298 B
C
10 lines
298 B
C
#include <switch.h>
|
|
#include "saltysd_core.h"
|
|
#include "saltysd_ipc.h"
|
|
#include "saltysd_dynamic.h"
|
|
#include "l2c_imports.h"
|
|
|
|
void get_lua_stack(__int64_t* l2c_agent, int index, __int64_t* l2c_val) {
|
|
asm("mov x8, %x0" : : "r"(l2c_val) : "x8" );
|
|
lib_L2CAgent_pop_lua_stack(l2c_agent, index);
|
|
}
|