mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
sdk 1.55
This commit is contained in:
parent
0fc5a564e1
commit
ba877b6e78
9 changed files with 44 additions and 1 deletions
10
dll/flat.cpp
10
dll/flat.cpp
|
|
@ -2497,6 +2497,11 @@ STEAMAPI_API steam_bool SteamAPI_ISteamApps_BIsTimedTrial( ISteamApps* self, uin
|
|||
return self->BIsTimedTrial(punSecondsAllowed, punSecondsPlayed);
|
||||
}
|
||||
|
||||
STEAMAPI_API steam_bool SteamAPI_ISteamApps_SetDlcContext( ISteamApps* self, AppId_t nAppID )
|
||||
{
|
||||
return self->SetDlcContext(nAppID);
|
||||
}
|
||||
|
||||
STEAMAPI_API ISteamNetworking *SteamAPI_SteamNetworking_v006()
|
||||
{
|
||||
return get_steam_client()->GetISteamNetworking(flat_hsteamuser(), flat_hsteampipe(), "SteamNetworking006");
|
||||
|
|
@ -3288,6 +3293,11 @@ STEAMAPI_API uint16 SteamAPI_ISteamInput_GetSessionInputConfigurationSettings( I
|
|||
return (get_steam_client()->steam_controller)->GetSessionInputConfigurationSettings();
|
||||
}
|
||||
|
||||
STEAMAPI_API void SteamAPI_ISteamInput_SetDualSenseTriggerEffect( ISteamInput* self, InputHandle_t inputHandle, const ScePadTriggerEffectParam * pParam )
|
||||
{
|
||||
return (get_steam_client()->steam_controller)->SetDualSenseTriggerEffect(inputHandle, pParam);
|
||||
}
|
||||
|
||||
STEAMAPI_API ISteamController *SteamAPI_SteamController_v007()
|
||||
{
|
||||
return get_steam_client()->GetISteamController(flat_hsteamuser(), flat_hsteampipe(), "SteamController007");
|
||||
|
|
|
|||
|
|
@ -337,3 +337,10 @@ bool Steam_Apps::BIsTimedTrial( uint32* punSecondsAllowed, uint32* punSecondsPla
|
|||
PRINT_DEBUG("BIsTimedTrial\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
// set current DLC AppID being played (or 0 if none). Allows Steam to track usage of major DLC extensions
|
||||
bool Steam_Apps::SetDlcContext( AppId_t nAppID )
|
||||
{
|
||||
PRINT_DEBUG("SetDlcContext %u\n", nAppID);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,4 +106,7 @@ public:
|
|||
|
||||
// check if game is a timed trial with limited playtime
|
||||
bool BIsTimedTrial( uint32* punSecondsAllowed, uint32* punSecondsPlayed );
|
||||
|
||||
// set current DLC AppID being played (or 0 if none). Allows Steam to track usage of major DLC extensions
|
||||
bool SetDlcContext( AppId_t nAppID );
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1231,6 +1231,12 @@ uint16 GetSessionInputConfigurationSettings()
|
|||
return 0;
|
||||
}
|
||||
|
||||
// Set the trigger effect for a DualSense controller
|
||||
void SetDualSenseTriggerEffect( InputHandle_t inputHandle, const ScePadTriggerEffectParam *pParam )
|
||||
{
|
||||
PRINT_DEBUG("TODO %s\n", __FUNCTION__);
|
||||
}
|
||||
|
||||
void RunCallbacks()
|
||||
{
|
||||
if (explicitly_call_run_frame) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue