mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-05 01:29:07 +00:00
chore(script): temporary fix GetNumOutputDrivers to eliminate loading errors
This commit is contained in:
parent
17a3f67971
commit
e7a11be6aa
1 changed files with 6 additions and 2 deletions
|
|
@ -21,7 +21,8 @@ int32_t Script_StopMusic(lua_State* L) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_Sound_GameSystem_GetNumInputDrivers(lua_State* L) {
|
int32_t Script_Sound_GameSystem_GetNumInputDrivers(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
lua_pushnumber(L, 0.0);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_Sound_GameSystem_GetInputDriverNameByIndex(lua_State* L) {
|
int32_t Script_Sound_GameSystem_GetInputDriverNameByIndex(lua_State* L) {
|
||||||
|
|
@ -29,7 +30,10 @@ int32_t Script_Sound_GameSystem_GetInputDriverNameByIndex(lua_State* L) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_Sound_GameSystem_GetNumOutputDrivers(lua_State* L) {
|
int32_t Script_Sound_GameSystem_GetNumOutputDrivers(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
// TODO:
|
||||||
|
// NumOutputDrivers = (double)(int)SE3::GetNumOutputDrivers(SE3::sm_pGameSystem, v3);
|
||||||
|
lua_pushnumber(L, 0.0);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_Sound_GameSystem_GetOutputDriverNameByIndex(lua_State* L) {
|
int32_t Script_Sound_GameSystem_GetOutputDriverNameByIndex(lua_State* L) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue