Vita3K/vita3k/modules/SceAppMgr/SceAppMgr.cpp
hobyst 168dfb19ca Add license notice on source files which didn't have one
- Also updated the copyright notice year on all files to 2021
2021-08-19 23:14:27 +02:00

1029 lines
25 KiB
C++

// Vita3K emulator project
// Copyright (C) 2021 Vita3K team
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include "SceAppMgr.h"
#include <host/functions.h>
#include <kernel/load_self.h>
#include <modules/module_parent.h>
#include <util/find.h>
EXPORT(SceInt32, __sceAppMgrGetAppState, SceAppMgrAppState *appState, SceUInt32 sizeofSceAppMgrAppState, SceUInt32 buildVersion) {
memset(appState, 0, sizeofSceAppMgrAppState);
return STUBBED("Set to 0.");
}
EXPORT(int, _sceAppMgrAcidDirSet) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAcquireSoundOutExclusive3) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAddContAddMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAddContMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAppDataMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAppDataMountById) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAppMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAppParamGetInt) {
return UNIMPLEMENTED();
}
EXPORT(SceInt32, _sceAppMgrAppParamGetString, int pid, int param, char *string, int length) {
std::string res;
if (!sfo::get_data_by_id(res, host.sfo_handle, param))
return RET_ERROR(SCE_APPMGR_ERROR_INVALID);
else {
res.copy(string, length);
return 0;
}
}
EXPORT(int, _sceAppMgrAppParamSetString) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrAppUmount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrBgdlGetQueueStatus) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrCaptureFrameBufDMACByAppId) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrCaptureFrameBufIFTUByAppId) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrCheckRifGD) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrContentInstallPeriodStart) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrContentInstallPeriodStop) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrConvertVs0UserDrivePath) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrDeclareShellProcess2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrDestroyAppByName) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrDrmClose) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrDrmOpen) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrForceUmount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGameDataMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetAppInfo) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetAppMgrState) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetAppParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetAppParam2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetBootParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetBudgetInfo) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetCoredumpStateForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetCurrentBgmState) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetCurrentBgmState2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetDevInfo) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetFgAppInfo) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetIdByName) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetMediaTypeFromDrive) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetMediaTypeFromDriveByPid) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetMountProcessNum) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetNameById) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetPfsDrive) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetPidListForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetRawPath) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetRawPathOfApp0ByAppIdForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetRawPathOfApp0ByPidForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetRecommendedScreenOrientation) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetRunningAppIdListForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetSaveDataInfo) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetSaveDataInfoForSpecialExport) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetStatusByAppId) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetStatusById) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetStatusByName) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetSystemDataFilePlayReady) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetUserDirPath) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetUserDirPathById) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetVs0UserDataDrive) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrGetVs0UserModuleDrive) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrInitSafeMemoryById) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrInstallDirMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrIsCameraActive) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByName) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByName2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByName2ForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByName2ndStage) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByNameForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByPath4) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByUri) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchAppByUri2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLaunchVideoStreamingApp) {
return UNIMPLEMENTED();
}
EXPORT(SceInt32, _sceAppMgrLoadExec, const char *appPath, Ptr<char> const argv[], const SceAppMgrLoadExecOptParam *optParam) {
if (optParam)
return RET_ERROR(SCE_APPMGR_ERROR_INVALID);
// Create exec path
auto exec_path = static_cast<std::string>(appPath);
if (exec_path.find("app0:/") != std::string::npos)
exec_path.erase(0, 6);
else
exec_path.erase(0, 5);
LOG_INFO("sceAppMgrLoadExec run self: {}", appPath);
// Load exec executable
vfs::FileBuffer exec_buffer;
if (vfs::read_app_file(exec_buffer, host.pref_path, host.io.app_path, exec_path)) {
if (argv && argv->get(host.mem)) {
size_t args = 0;
host.load_exec_argv = "\"";
for (auto i = 0; argv[i]; i++) {
LOG_INFO("sceAppMgrLoadExec run with argument at {}: {}", i, argv[i].get(host.mem));
if (i)
host.load_exec_argv += ", ";
args += strlen(argv[i].get(host.mem));
host.load_exec_argv += argv[i].get(host.mem);
}
host.load_exec_argv += "\"";
if (args > 1024)
return RET_ERROR(SCE_APPMGR_ERROR_TOO_LONG_ARGV);
}
host.kernel.exit_delete_all_threads();
host.load_app_path = host.io.app_path;
host.load_exec_path = exec_path;
host.load_exec = true;
return SCE_KERNEL_OK;
}
return RET_ERROR(SCE_APPMGR_ERROR_INVALID_SELF_PATH);
}
EXPORT(int, _sceAppMgrLoadSaveDataSystemFile) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLoopBackFormat) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrLoopBackMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrMmsMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrOverwriteLaunchParamForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrPeekLaunchParamForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrPhotoMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrPhotoUmount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrPspSaveDataGetParams) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrPspSaveDataRead) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrPspSaveDataRootMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrReceiveEvent) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrReceiveEventNum) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrReceiveNotificationRequestForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrReceiveShellEvent) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrReceiveSystemEvent, SceAppMgrSystemEvent *systemEvent) {
systemEvent->systemEvent = SCE_APPMGR_SYSTEMEVENT_ON_RESUME;
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataAddMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataDataRemove) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataDataRemove2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataDataSave) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataDataSave2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataGetQuota) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotCreate) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotDelete) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotFileClose) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotFileGetParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotFileOpen) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotGetParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotGetStatus) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotInit) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotSetParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataSlotSetStatus) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSaveDataUmount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSendNotificationRequest) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSendParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSendSystemEvent) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSendSystemEvent2) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetBackRenderPortOwner) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetBgmProxyApp) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetNetworkDisconnectionWarningDialogState) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetPowerSaveMode) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetRecommendedScreenOrientationForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetShellScreenOrientation) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetSystemDataFile) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSetSystemDataFilePlayReady) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSystemParamDateTimeGetConf) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSystemParamGetInt) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrSystemParamGetString) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrThemeDataMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrTrophyMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrTrophyMountById) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrUmount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrUmountByPid) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrUpdateSaveDataParam) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrWorkDirMount) {
return UNIMPLEMENTED();
}
EXPORT(int, _sceAppMgrWorkDirMountById) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrAcquireBgmPort) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrAcquireBgmPortForMusicPlayer) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrAcquireBgmPortWithPriority) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrAcquireBtrm) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrAcquireSoundOutExclusive) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrAcquireSoundOutExclusive2) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrActivateApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDeactivateApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDeclareSystemChatApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDestroyAppByAppId) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDestroyOtherApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDestroyOtherAppByAppIdForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDestroyOtherAppByPidForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrDump) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrEnableCoredumpForTest) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrEnableDuckingOnSystemChat) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrEnablePrioritizingSystemChat) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrExitToLiveboardForGameApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrFinishCoredumpForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrGetAppIdByAppId) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrGetExtraAppParam) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrGetProcessIdByAppIdForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrGetSystemDataFile) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrGrowMemory) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrGrowMemory3) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrIsDevelopmentMode) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrIsGameBudgetAppPresent) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrIsGameProgram) {
return 0;
}
EXPORT(int, sceAppMgrIsNonGameProgram) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrIsOtherAppPresent) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrIsPidShellAndCrashed) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrIsPsNowClient) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrLaunchAppCancel) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrLoadSafeMemory) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrNotifyLiveBoardModeForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrQuitApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrQuitForNonSuspendableApp) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReceiveShellEventNum) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReleaseBgmPort) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReleaseBtrm) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReleaseSoundOutExclusive) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReleaseSoundOutExclusive2) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReleaseSoundOutExclusive3) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrRestoreBgmSettingForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrRestoreDisplaySettingForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrResumeBgAppByShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrReturnLiveAreaOperationResultForShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSaveDataGetCachedRequiredSizeKiB) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSaveSafeMemory) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSendLiveBoardMode) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetAppProtectionModeOnMemoryShortage) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetBgmSubPriority) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetBgmSubPriorityForSystemChat) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetDisplayMergeConf) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetFakeSettingBug51800) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetInfobarState) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetInfobarStateForCommonDialog) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetInfobarStateForShellByAppId) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetRecommendedScreenOrientationActivated) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetSystemImposeState) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSetSystemImposeState2) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSuspendBgAppByShell) {
return UNIMPLEMENTED();
}
EXPORT(int, sceAppMgrSuspendUntilActivated) {
return UNIMPLEMENTED();
}
BRIDGE_IMPL(__sceAppMgrGetAppState)
BRIDGE_IMPL(_sceAppMgrAcidDirSet)
BRIDGE_IMPL(_sceAppMgrAcquireSoundOutExclusive3)
BRIDGE_IMPL(_sceAppMgrAddContAddMount)
BRIDGE_IMPL(_sceAppMgrAddContMount)
BRIDGE_IMPL(_sceAppMgrAppDataMount)
BRIDGE_IMPL(_sceAppMgrAppDataMountById)
BRIDGE_IMPL(_sceAppMgrAppMount)
BRIDGE_IMPL(_sceAppMgrAppParamGetInt)
BRIDGE_IMPL(_sceAppMgrAppParamGetString)
BRIDGE_IMPL(_sceAppMgrAppParamSetString)
BRIDGE_IMPL(_sceAppMgrAppUmount)
BRIDGE_IMPL(_sceAppMgrBgdlGetQueueStatus)
BRIDGE_IMPL(_sceAppMgrCaptureFrameBufDMACByAppId)
BRIDGE_IMPL(_sceAppMgrCaptureFrameBufIFTUByAppId)
BRIDGE_IMPL(_sceAppMgrCheckRifGD)
BRIDGE_IMPL(_sceAppMgrContentInstallPeriodStart)
BRIDGE_IMPL(_sceAppMgrContentInstallPeriodStop)
BRIDGE_IMPL(_sceAppMgrConvertVs0UserDrivePath)
BRIDGE_IMPL(_sceAppMgrDeclareShellProcess2)
BRIDGE_IMPL(_sceAppMgrDestroyAppByName)
BRIDGE_IMPL(_sceAppMgrDrmClose)
BRIDGE_IMPL(_sceAppMgrDrmOpen)
BRIDGE_IMPL(_sceAppMgrForceUmount)
BRIDGE_IMPL(_sceAppMgrGameDataMount)
BRIDGE_IMPL(_sceAppMgrGetAppInfo)
BRIDGE_IMPL(_sceAppMgrGetAppMgrState)
BRIDGE_IMPL(_sceAppMgrGetAppParam)
BRIDGE_IMPL(_sceAppMgrGetAppParam2)
BRIDGE_IMPL(_sceAppMgrGetBootParam)
BRIDGE_IMPL(_sceAppMgrGetBudgetInfo)
BRIDGE_IMPL(_sceAppMgrGetCoredumpStateForShell)
BRIDGE_IMPL(_sceAppMgrGetCurrentBgmState)
BRIDGE_IMPL(_sceAppMgrGetCurrentBgmState2)
BRIDGE_IMPL(_sceAppMgrGetDevInfo)
BRIDGE_IMPL(_sceAppMgrGetFgAppInfo)
BRIDGE_IMPL(_sceAppMgrGetIdByName)
BRIDGE_IMPL(_sceAppMgrGetMediaTypeFromDrive)
BRIDGE_IMPL(_sceAppMgrGetMediaTypeFromDriveByPid)
BRIDGE_IMPL(_sceAppMgrGetMountProcessNum)
BRIDGE_IMPL(_sceAppMgrGetNameById)
BRIDGE_IMPL(_sceAppMgrGetPfsDrive)
BRIDGE_IMPL(_sceAppMgrGetPidListForShell)
BRIDGE_IMPL(_sceAppMgrGetRawPath)
BRIDGE_IMPL(_sceAppMgrGetRawPathOfApp0ByAppIdForShell)
BRIDGE_IMPL(_sceAppMgrGetRawPathOfApp0ByPidForShell)
BRIDGE_IMPL(_sceAppMgrGetRecommendedScreenOrientation)
BRIDGE_IMPL(_sceAppMgrGetRunningAppIdListForShell)
BRIDGE_IMPL(_sceAppMgrGetSaveDataInfo)
BRIDGE_IMPL(_sceAppMgrGetSaveDataInfoForSpecialExport)
BRIDGE_IMPL(_sceAppMgrGetStatusByAppId)
BRIDGE_IMPL(_sceAppMgrGetStatusById)
BRIDGE_IMPL(_sceAppMgrGetStatusByName)
BRIDGE_IMPL(_sceAppMgrGetSystemDataFilePlayReady)
BRIDGE_IMPL(_sceAppMgrGetUserDirPath)
BRIDGE_IMPL(_sceAppMgrGetUserDirPathById)
BRIDGE_IMPL(_sceAppMgrGetVs0UserDataDrive)
BRIDGE_IMPL(_sceAppMgrGetVs0UserModuleDrive)
BRIDGE_IMPL(_sceAppMgrInitSafeMemoryById)
BRIDGE_IMPL(_sceAppMgrInstallDirMount)
BRIDGE_IMPL(_sceAppMgrIsCameraActive)
BRIDGE_IMPL(_sceAppMgrLaunchAppByName)
BRIDGE_IMPL(_sceAppMgrLaunchAppByName2)
BRIDGE_IMPL(_sceAppMgrLaunchAppByName2ForShell)
BRIDGE_IMPL(_sceAppMgrLaunchAppByName2ndStage)
BRIDGE_IMPL(_sceAppMgrLaunchAppByNameForShell)
BRIDGE_IMPL(_sceAppMgrLaunchAppByPath4)
BRIDGE_IMPL(_sceAppMgrLaunchAppByUri)
BRIDGE_IMPL(_sceAppMgrLaunchAppByUri2)
BRIDGE_IMPL(_sceAppMgrLaunchVideoStreamingApp)
BRIDGE_IMPL(_sceAppMgrLoadExec)
BRIDGE_IMPL(_sceAppMgrLoadSaveDataSystemFile)
BRIDGE_IMPL(_sceAppMgrLoopBackFormat)
BRIDGE_IMPL(_sceAppMgrLoopBackMount)
BRIDGE_IMPL(_sceAppMgrMmsMount)
BRIDGE_IMPL(_sceAppMgrOverwriteLaunchParamForShell)
BRIDGE_IMPL(_sceAppMgrPeekLaunchParamForShell)
BRIDGE_IMPL(_sceAppMgrPhotoMount)
BRIDGE_IMPL(_sceAppMgrPhotoUmount)
BRIDGE_IMPL(_sceAppMgrPspSaveDataGetParams)
BRIDGE_IMPL(_sceAppMgrPspSaveDataRead)
BRIDGE_IMPL(_sceAppMgrPspSaveDataRootMount)
BRIDGE_IMPL(_sceAppMgrReceiveEvent)
BRIDGE_IMPL(_sceAppMgrReceiveEventNum)
BRIDGE_IMPL(_sceAppMgrReceiveNotificationRequestForShell)
BRIDGE_IMPL(_sceAppMgrReceiveShellEvent)
BRIDGE_IMPL(_sceAppMgrReceiveSystemEvent)
BRIDGE_IMPL(_sceAppMgrSaveDataAddMount)
BRIDGE_IMPL(_sceAppMgrSaveDataDataRemove)
BRIDGE_IMPL(_sceAppMgrSaveDataDataRemove2)
BRIDGE_IMPL(_sceAppMgrSaveDataDataSave)
BRIDGE_IMPL(_sceAppMgrSaveDataDataSave2)
BRIDGE_IMPL(_sceAppMgrSaveDataGetQuota)
BRIDGE_IMPL(_sceAppMgrSaveDataMount)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotCreate)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotDelete)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotFileClose)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotFileGetParam)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotFileOpen)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotGetParam)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotGetStatus)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotInit)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotSetParam)
BRIDGE_IMPL(_sceAppMgrSaveDataSlotSetStatus)
BRIDGE_IMPL(_sceAppMgrSaveDataUmount)
BRIDGE_IMPL(_sceAppMgrSendNotificationRequest)
BRIDGE_IMPL(_sceAppMgrSendParam)
BRIDGE_IMPL(_sceAppMgrSendSystemEvent)
BRIDGE_IMPL(_sceAppMgrSendSystemEvent2)
BRIDGE_IMPL(_sceAppMgrSetBackRenderPortOwner)
BRIDGE_IMPL(_sceAppMgrSetBgmProxyApp)
BRIDGE_IMPL(_sceAppMgrSetNetworkDisconnectionWarningDialogState)
BRIDGE_IMPL(_sceAppMgrSetPowerSaveMode)
BRIDGE_IMPL(_sceAppMgrSetRecommendedScreenOrientationForShell)
BRIDGE_IMPL(_sceAppMgrSetShellScreenOrientation)
BRIDGE_IMPL(_sceAppMgrSetSystemDataFile)
BRIDGE_IMPL(_sceAppMgrSetSystemDataFilePlayReady)
BRIDGE_IMPL(_sceAppMgrSystemParamDateTimeGetConf)
BRIDGE_IMPL(_sceAppMgrSystemParamGetInt)
BRIDGE_IMPL(_sceAppMgrSystemParamGetString)
BRIDGE_IMPL(_sceAppMgrThemeDataMount)
BRIDGE_IMPL(_sceAppMgrTrophyMount)
BRIDGE_IMPL(_sceAppMgrTrophyMountById)
BRIDGE_IMPL(_sceAppMgrUmount)
BRIDGE_IMPL(_sceAppMgrUmountByPid)
BRIDGE_IMPL(_sceAppMgrUpdateSaveDataParam)
BRIDGE_IMPL(_sceAppMgrWorkDirMount)
BRIDGE_IMPL(_sceAppMgrWorkDirMountById)
BRIDGE_IMPL(sceAppMgrAcquireBgmPort)
BRIDGE_IMPL(sceAppMgrAcquireBgmPortForMusicPlayer)
BRIDGE_IMPL(sceAppMgrAcquireBgmPortWithPriority)
BRIDGE_IMPL(sceAppMgrAcquireBtrm)
BRIDGE_IMPL(sceAppMgrAcquireSoundOutExclusive)
BRIDGE_IMPL(sceAppMgrAcquireSoundOutExclusive2)
BRIDGE_IMPL(sceAppMgrActivateApp)
BRIDGE_IMPL(sceAppMgrDeactivateApp)
BRIDGE_IMPL(sceAppMgrDeclareSystemChatApp)
BRIDGE_IMPL(sceAppMgrDestroyAppByAppId)
BRIDGE_IMPL(sceAppMgrDestroyOtherApp)
BRIDGE_IMPL(sceAppMgrDestroyOtherAppByAppIdForShell)
BRIDGE_IMPL(sceAppMgrDestroyOtherAppByPidForShell)
BRIDGE_IMPL(sceAppMgrDump)
BRIDGE_IMPL(sceAppMgrEnableCoredumpForTest)
BRIDGE_IMPL(sceAppMgrEnableDuckingOnSystemChat)
BRIDGE_IMPL(sceAppMgrEnablePrioritizingSystemChat)
BRIDGE_IMPL(sceAppMgrExitToLiveboardForGameApp)
BRIDGE_IMPL(sceAppMgrFinishCoredumpForShell)
BRIDGE_IMPL(sceAppMgrGetAppIdByAppId)
BRIDGE_IMPL(sceAppMgrGetExtraAppParam)
BRIDGE_IMPL(sceAppMgrGetProcessIdByAppIdForShell)
BRIDGE_IMPL(sceAppMgrGetSystemDataFile)
BRIDGE_IMPL(sceAppMgrGrowMemory)
BRIDGE_IMPL(sceAppMgrGrowMemory3)
BRIDGE_IMPL(sceAppMgrIsDevelopmentMode)
BRIDGE_IMPL(sceAppMgrIsGameBudgetAppPresent)
BRIDGE_IMPL(sceAppMgrIsGameProgram)
BRIDGE_IMPL(sceAppMgrIsNonGameProgram)
BRIDGE_IMPL(sceAppMgrIsOtherAppPresent)
BRIDGE_IMPL(sceAppMgrIsPidShellAndCrashed)
BRIDGE_IMPL(sceAppMgrIsPsNowClient)
BRIDGE_IMPL(sceAppMgrLaunchAppCancel)
BRIDGE_IMPL(sceAppMgrLoadSafeMemory)
BRIDGE_IMPL(sceAppMgrNotifyLiveBoardModeForShell)
BRIDGE_IMPL(sceAppMgrQuitApp)
BRIDGE_IMPL(sceAppMgrQuitForNonSuspendableApp)
BRIDGE_IMPL(sceAppMgrReceiveShellEventNum)
BRIDGE_IMPL(sceAppMgrReleaseBgmPort)
BRIDGE_IMPL(sceAppMgrReleaseBtrm)
BRIDGE_IMPL(sceAppMgrReleaseSoundOutExclusive)
BRIDGE_IMPL(sceAppMgrReleaseSoundOutExclusive2)
BRIDGE_IMPL(sceAppMgrReleaseSoundOutExclusive3)
BRIDGE_IMPL(sceAppMgrRestoreBgmSettingForShell)
BRIDGE_IMPL(sceAppMgrRestoreDisplaySettingForShell)
BRIDGE_IMPL(sceAppMgrResumeBgAppByShell)
BRIDGE_IMPL(sceAppMgrReturnLiveAreaOperationResultForShell)
BRIDGE_IMPL(sceAppMgrSaveDataGetCachedRequiredSizeKiB)
BRIDGE_IMPL(sceAppMgrSaveSafeMemory)
BRIDGE_IMPL(sceAppMgrSendLiveBoardMode)
BRIDGE_IMPL(sceAppMgrSetAppProtectionModeOnMemoryShortage)
BRIDGE_IMPL(sceAppMgrSetBgmSubPriority)
BRIDGE_IMPL(sceAppMgrSetBgmSubPriorityForSystemChat)
BRIDGE_IMPL(sceAppMgrSetDisplayMergeConf)
BRIDGE_IMPL(sceAppMgrSetFakeSettingBug51800)
BRIDGE_IMPL(sceAppMgrSetInfobarState)
BRIDGE_IMPL(sceAppMgrSetInfobarStateForCommonDialog)
BRIDGE_IMPL(sceAppMgrSetInfobarStateForShellByAppId)
BRIDGE_IMPL(sceAppMgrSetRecommendedScreenOrientationActivated)
BRIDGE_IMPL(sceAppMgrSetSystemImposeState)
BRIDGE_IMPL(sceAppMgrSetSystemImposeState2)
BRIDGE_IMPL(sceAppMgrSuspendBgAppByShell)
BRIDGE_IMPL(sceAppMgrSuspendUntilActivated)