本文整理汇总了C++中REG_FUNC函数的典型用法代码示例。如果您正苦于以下问题:C++ REG_FUNC函数的具体用法?C++ REG_FUNC怎么用?C++ REG_FUNC使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了REG_FUNC函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: REG_FUNC
//REG_FUNC(0xBB635544, sceAsSetUnregisterReportHandler);
//REG_FUNC(0xF578F0EF, sceAsGetSystemNeededMemory);
//REG_FUNC(0xAA8D4541, sceAsCreateSystem);
//REG_FUNC(0x139D29C0, sceAsDestroySystem);
//REG_FUNC(0xBE843EEC, sceAsLockParam);
//REG_FUNC(0xFF2380C4, sceAsUnlockParam);
//REG_FUNC(0x2549F436, sceAsSetEvent);
//REG_FUNC(0xDC26B9F2, sceAsGetState);
//REG_FUNC(0xB6220E73, sceAsSetBuss);
//REG_FUNC(0x1E608068, sceAsSetRacks);
//REG_FUNC(0x5835B473, sceAsSetGranularity);
//REG_FUNC(0xDFE6502F, sceAsGetGranularity);
//REG_FUNC(0xC72F1EEF, sceAsRender);
//REG_FUNC(0xCE23F057, sceAsLockUpdate);
//REG_FUNC(0x8BEF3C92, sceAsUnlockUpdate);
REG_FUNC(0x180C6824, sceSasGetNeededMemorySize);
REG_FUNC(0x449B5974, sceSasInit);
REG_FUNC(0x820D5F82, sceSasInitWithGrain);
REG_FUNC(0xBB7D6790, sceSasExit);
REG_FUNC(0x2B4A207C, sceSasSetGrain);
REG_FUNC(0x2BEA45BC, sceSasGetGrain);
REG_FUNC(0x44DDB3C4, sceSasSetOutputmode);
REG_FUNC(0x2C36E150, sceSasGetOutputmode);
REG_FUNC(0x7A4672B2, sceSasCore);
REG_FUNC(0xBD496983, sceSasCoreWithMix);
REG_FUNC(0x2B75F9BC, sceSasSetVoice);
REG_FUNC(0xB1756EFC, sceSasSetVoicePCM);
REG_FUNC(0xF1C63CB9, sceSasSetNoise);
REG_FUNC(0x0BE8204D, sceSasSetVolume);
//REG_FUNC(0x011788BE, sceSasSetDistortion);
REG_FUNC(0x2C48A08C, sceSasSetPitch);
示例2: UNIMPLEMENTED_FUNC
{
UNIMPLEMENTED_FUNC(cellJpgEnc);
return CELL_OK;
}
s32 cellJpgEncGetStreamInfo()
{
UNIMPLEMENTED_FUNC(cellJpgEnc);
return CELL_OK;
}
s32 cellJpgEncReset()
{
UNIMPLEMENTED_FUNC(cellJpgEnc);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellJpgEnc)("cellJpgEnc", []()
{
REG_FUNC(cellJpgEnc, cellJpgEncQueryAttr);
REG_FUNC(cellJpgEnc, cellJpgEncOpen);
REG_FUNC(cellJpgEnc, cellJpgEncOpenEx);
REG_FUNC(cellJpgEnc, cellJpgEncClose);
REG_FUNC(cellJpgEnc, cellJpgEncWaitForInput);
REG_FUNC(cellJpgEnc, cellJpgEncEncodePicture);
REG_FUNC(cellJpgEnc, cellJpgEncEncodePicture2);
REG_FUNC(cellJpgEnc, cellJpgEncWaitForOutput);
REG_FUNC(cellJpgEnc, cellJpgEncGetStreamInfo);
REG_FUNC(cellJpgEnc, cellJpgEncReset);
});
示例3: cellHttpUtilBase64Encoder
s32 cellHttpUtilBase64Encoder()
{
UNIMPLEMENTED_FUNC(cellHttpUtil);
return CELL_OK;
}
s32 cellHttpUtilBase64Decoder()
{
UNIMPLEMENTED_FUNC(cellHttpUtil);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellHttpUtil)("cellHttpUtil", []()
{
REG_FUNC(cellHttpUtil, cellHttpUtilParseUri);
REG_FUNC(cellHttpUtil, cellHttpUtilParseUriPath);
REG_FUNC(cellHttpUtil, cellHttpUtilParseProxy);
REG_FUNC(cellHttpUtil, cellHttpUtilParseStatusLine);
REG_FUNC(cellHttpUtil, cellHttpUtilParseHeader);
REG_FUNC(cellHttpUtil, cellHttpUtilBuildRequestLine);
REG_FUNC(cellHttpUtil, cellHttpUtilBuildHeader);
REG_FUNC(cellHttpUtil, cellHttpUtilBuildUri);
REG_FUNC(cellHttpUtil, cellHttpUtilCopyUri);
REG_FUNC(cellHttpUtil, cellHttpUtilMergeUriPath);
REG_FUNC(cellHttpUtil, cellHttpUtilSweepPath);
REG_FUNC(cellHttpUtil, cellHttpUtilCopyStatusLine);
REG_FUNC(cellHttpUtil, cellHttpUtilCopyHeader);
REG_FUNC(cellHttpUtil, cellHttpUtilAppendHeaderValue);
示例4: cellSysutil_SaveData_init
v.func.set(0);
v.arg.set(0);
}
cellSysutil_SaveData_init(); // cellSaveData functions
cellSysutil_GameData_init(); // cellGameData, cellHddGame functions
cellSysutil_MsgDialog_init(); // cellMsgDialog functions
cellSysutil_OskDialog_init(); // cellOskDialog functions
cellSysutil_Storage_init(); // cellStorage functions
cellSysutil_Sysconf_init(); // cellSysconf functions
cellSysutil_SysutilAvc_init(); // cellSysutilAvc functions
cellSysutil_WebBrowser_init(); // cellWebBrowser, cellWebComponent functions
cellSysutil_AudioOut_init(); // cellAudioOut functions
cellSysutil_VideoOut_init(); // cellVideoOut functions
REG_FUNC(cellSysutil, cellSysutilGetSystemParamInt);
REG_FUNC(cellSysutil, cellSysutilGetSystemParamString);
REG_FUNC(cellSysutil, cellSysutilCheckCallback);
REG_FUNC(cellSysutil, cellSysutilRegisterCallback);
REG_FUNC(cellSysutil, cellSysutilUnregisterCallback);
REG_FUNC(cellSysutil, cellSysutilGetBgmPlaybackStatus);
REG_FUNC(cellSysutil, cellSysutilGetBgmPlaybackStatus2);
REG_FUNC(cellSysutil, cellSysutilEnableBgmPlayback);
REG_FUNC(cellSysutil, cellSysutilEnableBgmPlaybackEx);
REG_FUNC(cellSysutil, cellSysutilDisableBgmPlayback);
REG_FUNC(cellSysutil, cellSysutilDisableBgmPlaybackEx);
REG_FUNC(cellSysutil, cellSysutilSetBgmPlaybackExtraParam);
REG_FUNC(cellSysutil, cellSysCacheMount);
示例5: sceSysmoduleLoadModule
s32 sceSysmoduleLoadModule(u16 id)
{
sceSysmodule.warning("sceSysmoduleLoadModule(id=0x%04x) -> SCE_OK", id);
return SCE_OK; // loading succeeded
}
s32 sceSysmoduleUnloadModule(u16 id)
{
sceSysmodule.warning("sceSysmoduleUnloadModule(id=0x%04x) -> SCE_OK", id);
return SCE_OK; // unloading succeeded
}
s32 sceSysmoduleIsLoaded(u16 id)
{
sceSysmodule.warning("sceSysmoduleIsLoaded(id=0x%04x) -> SCE_OK", id);
return SCE_OK; // module is loaded
}
#define REG_FUNC(nid, name) REG_FNID(SceSysmodule, nid, name)
DECLARE(arm_module_manager::SceSysmodule)("SceSysmodule", []()
{
REG_FUNC(0x79A0160A, sceSysmoduleLoadModule);
REG_FUNC(0x31D87805, sceSysmoduleUnloadModule);
REG_FUNC(0x53099B7A, sceSysmoduleIsLoaded);
});
示例6: sceAudioInOpenPort
s32 sceAudioInOpenPort(s32 portType, s32 grain, s32 freq, s32 param)
{
throw EXCEPTION("");
}
s32 sceAudioInReleasePort(s32 port)
{
throw EXCEPTION("");
}
s32 sceAudioInInput(s32 port, vm::ptr<void> destPtr)
{
throw EXCEPTION("");
}
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceAudioIn, #name, name)
psv_log_base sceAudioIn("SceAudioIn", []()
{
sceAudioIn.on_load = nullptr;
sceAudioIn.on_unload = nullptr;
sceAudioIn.on_stop = nullptr;
sceAudioIn.on_error = nullptr;
REG_FUNC(0x638ADD2D, sceAudioInInput);
REG_FUNC(0x39B50DC1, sceAudioInOpenPort);
REG_FUNC(0x3A61B8C4, sceAudioInReleasePort);
//REG_FUNC(0x566AC433, sceAudioInGetAdopt);
});
示例7: cellGemUpdateStart
s32 cellGemUpdateStart()
{
UNIMPLEMENTED_FUNC(cellGem);
return CELL_OK;
}
s32 cellGemWriteExternalPort()
{
UNIMPLEMENTED_FUNC(cellGem);
return CELL_OK;
}
Module<> cellGem("cellGem", []()
{
REG_FUNC(cellGem, cellGemCalibrate);
REG_FUNC(cellGem, cellGemClearStatusFlags);
REG_FUNC(cellGem, cellGemConvertVideoFinish);
REG_FUNC(cellGem, cellGemConvertVideoStart);
REG_FUNC(cellGem, cellGemEnableCameraPitchAngleCorrection);
REG_FUNC(cellGem, cellGemEnableMagnetometer);
REG_FUNC(cellGem, cellGemEnd);
REG_FUNC(cellGem, cellGemFilterState);
REG_FUNC(cellGem, cellGemForceRGB);
REG_FUNC(cellGem, cellGemGetAccelerometerPositionInDevice);
REG_FUNC(cellGem, cellGemGetAllTrackableHues);
REG_FUNC(cellGem, cellGemGetCameraState);
REG_FUNC(cellGem, cellGemGetEnvironmentLightingColor);
REG_FUNC(cellGem, cellGemGetHuePixels);
REG_FUNC(cellGem, cellGemGetImageState);
REG_FUNC(cellGem, cellGemGetInertialState);
示例8: sceNpSnsFbGetAccessToken
{
return SCE_NP_SNS_FB_ERROR_NOT_INITIALIZED;
}
return CELL_OK;
}
s32 sceNpSnsFbGetAccessToken()
{
UNIMPLEMENTED_FUNC(sceNpSns);
if (!g_sceNpSns->m_bSceNpSnsInitialized)
{
return SCE_NP_SNS_FB_ERROR_NOT_INITIALIZED;
}
return CELL_OK;
}
Module sceNpSns("sceNpSns", []()
{
g_sceNpSns = std::make_unique<SceNpSnsInternal>();
REG_FUNC(sceNpSns, sceNpSnsFbInit);
REG_FUNC(sceNpSns, sceNpSnsFbTerm);
REG_FUNC(sceNpSns, sceNpSnsFbCreateHandle);
REG_FUNC(sceNpSns, sceNpSnsFbDestroyHandle);
REG_FUNC(sceNpSns, sceNpSnsFbAbortHandle);
REG_FUNC(sceNpSns, sceNpSnsFbGetAccessToken);
});
示例9: cellNetAoiStart
s32 cellNetAoiStart()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiGetLocalInfo()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiAddPeer()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellNetAoi)("cellNetAoi", []()
{
REG_FUNC(cellNetAoi, cellNetAoiDeletePeer);
REG_FUNC(cellNetAoi, cellNetAoiInit);
REG_FUNC(cellNetAoi, cellNetAoiGetPspTitleId);
REG_FUNC(cellNetAoi, cellNetAoiTerm);
REG_FUNC(cellNetAoi, cellNetAoiStop);
REG_FUNC(cellNetAoi, cellNetAoiGetRemotePeerInfo);
REG_FUNC(cellNetAoi, cellNetAoiStart);
REG_FUNC(cellNetAoi, cellNetAoiGetLocalInfo);
REG_FUNC(cellNetAoi, cellNetAoiAddPeer);
});
示例10: sceNpSnsFbCheckThrottle
s32 sceNpSnsFbCheckThrottle()
{
throw EXCEPTION("");
}
s32 sceNpSnsFbCheckConfig()
{
throw EXCEPTION("");
}
s32 sceNpSnsFbLoadThrottle()
{
throw EXCEPTION("");
}
DECLARE(ppu_module_manager::sceNpSns)("sceNpSns", []()
{
REG_FUNC(sceNpSns, sceNpSnsFbInit);
REG_FUNC(sceNpSns, sceNpSnsFbTerm);
REG_FUNC(sceNpSns, sceNpSnsFbCreateHandle);
REG_FUNC(sceNpSns, sceNpSnsFbDestroyHandle);
REG_FUNC(sceNpSns, sceNpSnsFbAbortHandle);
REG_FUNC(sceNpSns, sceNpSnsFbGetAccessToken);
REG_FUNC(sceNpSns, sceNpSnsFbStreamPublish);
REG_FUNC(sceNpSns, sceNpSnsFbCheckThrottle);
REG_FUNC(sceNpSns, sceNpSnsFbCheckConfig);
REG_FUNC(sceNpSns, sceNpSnsFbLoadThrottle);
});
示例11: sysPrxForUser_sys_libc_init
void sysPrxForUser_sys_libc_init()
{
REG_FUNC(sysPrxForUser, _sys_memset);
REG_FUNC(sysPrxForUser, _sys_memcpy);
REG_FUNC(sysPrxForUser, _sys_memcmp);
REG_FUNC(sysPrxForUser, _sys_memchr);
REG_FUNC(sysPrxForUser, _sys_memmove);
REG_FUNC(sysPrxForUser, _sys_strlen);
REG_FUNC(sysPrxForUser, _sys_strcmp);
REG_FUNC(sysPrxForUser, _sys_strncmp);
REG_FUNC(sysPrxForUser, _sys_strcat);
REG_FUNC(sysPrxForUser, _sys_strchr);
REG_FUNC(sysPrxForUser, _sys_strncat);
REG_FUNC(sysPrxForUser, _sys_strcpy);
REG_FUNC(sysPrxForUser, _sys_strncpy);
REG_FUNC(sysPrxForUser, _sys_strncasecmp);
REG_FUNC(sysPrxForUser, _sys_strrchr);
REG_FUNC(sysPrxForUser, _sys_tolower);
REG_FUNC(sysPrxForUser, _sys_toupper);
REG_FUNC(sysPrxForUser, _sys_malloc);
REG_FUNC(sysPrxForUser, _sys_memalign);
REG_FUNC(sysPrxForUser, _sys_free);
REG_FUNC(sysPrxForUser, _sys_snprintf);
REG_FUNC(sysPrxForUser, _sys_printf);
REG_FUNC(sysPrxForUser, _sys_sprintf);
REG_FUNC(sysPrxForUser, _sys_vprintf);
REG_FUNC(sysPrxForUser, _sys_vsnprintf);
REG_FUNC(sysPrxForUser, _sys_vsprintf);
REG_FUNC(sysPrxForUser, _sys_qsort);
}
示例12: UNIMPLEMENTED_FUNC
{
UNIMPLEMENTED_FUNC(sceNpClans);
if (!g_sceNpClans->m_bSceNpClansInitialized)
{
return SCE_NP_CLANS_ERROR_NOT_INITIALIZED;
}
return CELL_OK;
}
Module sceNpClans("sceNpClans", []()
{
g_sceNpClans = std::make_unique<SceNpClansInternal>();
REG_FUNC(sceNpClans, sceNpClansInit);
REG_FUNC(sceNpClans, sceNpClansTerm);
REG_FUNC(sceNpClans, sceNpClansCreateRequest);
REG_FUNC(sceNpClans, sceNpClansDestroyRequest);
REG_FUNC(sceNpClans, sceNpClansAbortRequest);
REG_FUNC(sceNpClans, sceNpClansCreateClan);
REG_FUNC(sceNpClans, sceNpClansDisbandClan);
REG_FUNC(sceNpClans, sceNpClansGetClanList);
REG_FUNC(sceNpClans, sceNpClansGetClanListByNpId);
REG_FUNC(sceNpClans, sceNpClansSearchByProfile);
REG_FUNC(sceNpClans, sceNpClansSearchByName);
REG_FUNC(sceNpClans, sceNpClansGetClanInfo);
REG_FUNC(sceNpClans, sceNpClansUpdateClanInfo);
REG_FUNC(sceNpClans, sceNpClansGetMemberList);
REG_FUNC(sceNpClans, sceNpClansGetMemberInfo);
REG_FUNC(sceNpClans, sceNpClansUpdateMemberInfo);
示例13: cellSysutil_GameData_init
void cellSysutil_GameData_init()
{
extern Module cellSysutil;
REG_FUNC(cellSysutil, cellHddGameCheck);
REG_FUNC(cellSysutil, cellHddGameCheck2);
REG_FUNC(cellSysutil, cellHddGameGetSizeKB);
REG_FUNC(cellSysutil, cellHddGameSetSystemVer);
REG_FUNC(cellSysutil, cellHddGameExitBroken);
REG_FUNC(cellSysutil, cellGameDataGetSizeKB);
REG_FUNC(cellSysutil, cellGameDataSetSystemVer);
REG_FUNC(cellSysutil, cellGameDataExitBroken);
REG_FUNC(cellSysutil, cellGameDataCheckCreate);
REG_FUNC(cellSysutil, cellGameDataCheckCreate2);
REG_FUNC(cellSysutil, cellDiscGameGetBootDiscInfo);
REG_FUNC(cellSysutil, cellDiscGameRegisterDiscChangeCallback);
REG_FUNC(cellSysutil, cellDiscGameUnregisterDiscChangeCallback);
REG_FUNC(cellSysutil, cellGameRegisterDiscChangeCallback);
REG_FUNC(cellSysutil, cellGameUnregisterDiscChangeCallback);
}
示例14: REG_FUNC
REG_FUNC(cellSysutil, cellGameDataCheckCreate2);
REG_FUNC(cellSysutil, cellDiscGameGetBootDiscInfo);
REG_FUNC(cellSysutil, cellDiscGameRegisterDiscChangeCallback);
REG_FUNC(cellSysutil, cellDiscGameUnregisterDiscChangeCallback);
REG_FUNC(cellSysutil, cellGameRegisterDiscChangeCallback);
REG_FUNC(cellSysutil, cellGameUnregisterDiscChangeCallback);
}
Module cellGame("cellGame", []()
{
contentInfo = "";
usrdir = "";
path_set = false;
REG_FUNC(cellGame, cellGameBootCheck);
REG_FUNC(cellGame, cellGamePatchCheck);
REG_FUNC(cellGame, cellGameDataCheck);
REG_FUNC(cellGame, cellGameContentPermit);
REG_FUNC(cellGame, cellGameCreateGameData);
REG_FUNC(cellGame, cellGameDeleteGameData);
REG_FUNC(cellGame, cellGameGetParamInt);
REG_FUNC(cellGame, cellGameGetParamString);
REG_FUNC(cellGame, cellGameSetParamString);
REG_FUNC(cellGame, cellGameGetSizeKB);
REG_FUNC(cellGame, cellGameGetDiscContentInfoUpdatePath);
REG_FUNC(cellGame, cellGameGetLocalWebContentPath);
REG_FUNC(cellGame, cellGameContentErrorDialog);
示例15: sys_config_remove_service_listener
s32 sys_config_remove_service_listener()
{
throw EXCEPTION("");
}
s32 sys_config_register_service()
{
throw EXCEPTION("");
}
s32 sys_config_unregister_service()
{
throw EXCEPTION("");
}
DECLARE(ppu_module_manager::sys_io)("sys_io", []()
{
cellPad_init();
cellKb_init();
cellMouse_init();
REG_FUNC(sys_io, sys_config_start);
REG_FUNC(sys_io, sys_config_stop);
REG_FUNC(sys_io, sys_config_add_service_listener);
REG_FUNC(sys_io, sys_config_remove_service_listener);
REG_FUNC(sys_io, sys_config_register_service);
REG_FUNC(sys_io, sys_config_unregister_service);
});