mirror of
				https://github.com/thunderbrewhq/thunderbrew
				synced 2025-10-31 16:26:03 +03:00 
			
		
		
		
	chore(script): temporary fix GetNumOutputDrivers to eliminate loading errors
This commit is contained in:
		
							parent
							
								
									17a3f67971
								
							
						
					
					
						commit
						e7a11be6aa
					
				| @ -21,7 +21,8 @@ int32_t Script_StopMusic(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) { | ||||
| @ -29,7 +30,10 @@ int32_t Script_Sound_GameSystem_GetInputDriverNameByIndex(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) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 VDm
						VDm