• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ REG_FUNC函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中REG_FUNC函数的典型用法代码示例。如果您正苦于以下问题:C++ REG_FUNC函数的具体用法?C++ REG_FUNC怎么用?C++ REG_FUNC使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了REG_FUNC函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
开发者ID:Klozz,项目名称:rpcs3,代码行数:31,代码来源:sceSas.cpp


示例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);
});
开发者ID:kd-11,项目名称:rpcs3,代码行数:30,代码来源:cellJpgEnc.cpp


示例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);
开发者ID:4iDragon,项目名称:rpcs3,代码行数:30,代码来源:cellHttpUtil.cpp


示例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);
开发者ID:notoknight,项目名称:rpcs3,代码行数:31,代码来源:cellSysutil.cpp


示例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);
});
开发者ID:Klozz,项目名称:rpcs3,代码行数:29,代码来源:sceSysmodule.cpp


示例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);
});
开发者ID:976717326,项目名称:rpcs3,代码行数:30,代码来源:sceAudioIn.cpp


示例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);
开发者ID:Majkel86,项目名称:rpcs3,代码行数:30,代码来源:cellGem.cpp


示例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);
});
开发者ID:prince2phore,项目名称:rpcs3,代码行数:30,代码来源:sceNpSns.cpp


示例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);
});
开发者ID:AniLeo,项目名称:rpcs3,代码行数:30,代码来源:cellNetAoi.cpp


示例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);
});
开发者ID:4iDragon,项目名称:rpcs3,代码行数:30,代码来源:sceNpSns.cpp


示例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);
}
开发者ID:rcaridade145,项目名称:rpcs3,代码行数:34,代码来源:sys_libc_.cpp


示例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);
开发者ID:prince2phore,项目名称:rpcs3,代码行数:31,代码来源:sceNpClans.cpp


示例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);
}
开发者ID:notoknight,项目名称:rpcs3,代码行数:23,代码来源:cellGame.cpp


示例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);
开发者ID:notoknight,项目名称:rpcs3,代码行数:31,代码来源:cellGame.cpp


示例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);
});
开发者ID:Klozz,项目名称:rpcs3,代码行数:29,代码来源:sys_io.cpp


示例16: cellVideoOutSetCopyControl

s32 cellVideoOutSetCopyControl(u32 videoOut, u32 control)
{
	cellAvconfExt.todo("cellVideoOutSetCopyControl(videoOut=%d, control=0x%x)", videoOut, control);
	return CELL_OK;
}


DECLARE(ppu_module_manager::cellAvconfExt)("cellSysutilAvconfExt", []()
{
	REG_VAR(cellSysutilAvconfExt, g_gamma).flag(MFF_HIDDEN).init = []
	{
		// Test
		*g_gamma = 1.0f;
	};

	REG_FUNC(cellSysutilAvconfExt, cellAudioOutUnregisterDevice);
	REG_FUNC(cellSysutilAvconfExt, cellAudioOutGetDeviceInfo2);
	REG_FUNC(cellSysutilAvconfExt, cellVideoOutSetXVColor);
	REG_FUNC(cellSysutilAvconfExt, cellVideoOutSetupDisplay);
	REG_FUNC(cellSysutilAvconfExt, cellAudioInGetDeviceInfo);
	REG_FUNC(cellSysutilAvconfExt, cellVideoOutConvertCursorColor);
	REG_FUNC(cellSysutilAvconfExt, cellVideoOutGetGamma);
	REG_FUNC(cellSysutilAvconfExt, cellAudioInGetAvailableDeviceInfo);
	REG_FUNC(cellSysutilAvconfExt, cellAudioOutGetAvailableDeviceInfo);
	REG_FUNC(cellSysutilAvconfExt, cellVideoOutSetGamma);
	REG_FUNC(cellSysutilAvconfExt, cellAudioOutRegisterDevice);
	REG_FUNC(cellSysutilAvconfExt, cellAudioOutSetDeviceMode);
	REG_FUNC(cellSysutilAvconfExt, cellAudioInSetDeviceMode);
	REG_FUNC(cellSysutilAvconfExt, cellAudioInRegisterDevice);
	REG_FUNC(cellSysutilAvconfExt, cellAudioInUnregisterDevice);
	REG_FUNC(cellSysutilAvconfExt, cellVideoOutGetScreenSize);
开发者ID:PZerua,项目名称:rpcs3,代码行数:31,代码来源:cellAvconfExt.cpp


示例17: cellSpudll

#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"

namespace vm { using namespace ps3; }

logs::channel cellSpudll("cellSpudll", logs::level::notice);

s32 cellSpudllGetImageSize(vm::ptr<u32> psize, vm::cptr<void> so_elf, vm::cptr<struct CellSpudllHandleConfig> config)
{
	fmt::throw_exception("Unimplemented" HERE);
}

s32 cellSpudllHandleConfigSetDefaultValues(vm::ptr<struct CellSpudllHandleConfig> config)
{
	fmt::throw_exception("Unimplemented" HERE);
}

DECLARE(ppu_module_manager::cellSpudll)("cellSpudll", []()
{
	REG_FUNC(cellSpudll, cellSpudllGetImageSize);
	REG_FUNC(cellSpudll, cellSpudllHandleConfigSetDefaultValues);
});
开发者ID:MoochMcGee,项目名称:rpcs3,代码行数:22,代码来源:cellSpudll.cpp


示例18: UNIMPLEMENTED_FUNC

	UNIMPLEMENTED_FUNC(cellSailRec);
	return CELL_OK;
}

s32 cellSailComposerNotifySessionError()
{
	UNIMPLEMENTED_FUNC(cellSailRec);
	return CELL_OK;
}

DECLARE(ppu_module_manager::cellSailRec)("cellSailRec", []()
{
	static ppu_static_module cellMp4("cellMp4");
	static ppu_static_module cellApostSrcMini("cellApostSrcMini");

	REG_FUNC(cellSailRec, cellSailProfileSetEsAudioParameter);
	REG_FUNC(cellSailRec, cellSailProfileSetEsVideoParameter);
	REG_FUNC(cellSailRec, cellSailProfileSetStreamParameter);

	REG_FUNC(cellSailRec, cellSailVideoConverterCanProcess);
	REG_FUNC(cellSailRec, cellSailVideoConverterProcess);
	REG_FUNC(cellSailRec, cellSailVideoConverterCanGetResult);
	REG_FUNC(cellSailRec, cellSailVideoConverterGetResult);

	REG_FUNC(cellSailRec, cellSailFeederAudioInitialize);
	REG_FUNC(cellSailRec, cellSailFeederAudioFinalize);
	REG_FUNC(cellSailRec, cellSailFeederAudioNotifyCallCompleted);
	REG_FUNC(cellSailRec, cellSailFeederAudioNotifyFrameOut);
	REG_FUNC(cellSailRec, cellSailFeederAudioNotifySessionEnd);
	REG_FUNC(cellSailRec, cellSailFeederAudioNotifySessionError);
开发者ID:AniLeo,项目名称:rpcs3,代码行数:30,代码来源:cellSailRec.cpp


示例19: sceMd5BlockInit

}

s32 sceMd5BlockInit(vm::psv::ptr<SceMd5Context> pContext)
{
	throw __FUNCTION__;
}

s32 sceMd5BlockUpdate(vm::psv::ptr<SceMd5Context> pContext, vm::psv::ptr<const void> plain, u32 len)
{
	throw __FUNCTION__;
}

s32 sceMd5BlockResult(vm::psv::ptr<SceMd5Context> pContext, vm::psv::ptr<u8> digest)
{
	throw __FUNCTION__;
}

#define REG_FUNC(nid, name) reg_psv_func(nid, &sceMd5, #name, name)

psv_log_base sceMd5("SceMd5", []()
{
	sceMd5.on_load = nullptr;
	sceMd5.on_unload = nullptr;
	sceMd5.on_stop = nullptr;

	REG_FUNC(0xB845BCCB, sceMd5Digest);
	REG_FUNC(0x4D6436F9, sceMd5BlockInit);
	REG_FUNC(0x094A4902, sceMd5BlockUpdate);
	REG_FUNC(0xB94ABF83, sceMd5BlockResult);
});
开发者ID:Bruceharper,项目名称:rpcs3,代码行数:30,代码来源:sceMd5.cpp


示例20: sceLocationGetPermission

s32 sceLocationGetPermission(u8 handle, vm::ptr<SceLocationPermissionInfo> info)
{
	throw EXCEPTION("");
}

s32 sceLocationSetGpsEmulationFile(vm::ptr<char> filename)
{
	throw EXCEPTION("");
}


#define REG_FUNC(nid, name) REG_FNID(SceLibLocation, nid, name)

DECLARE(arm_module_manager::SceLocation)("SceLibLocation", []()
{
	REG_FUNC(0xDD271661, sceLocationOpen);
	REG_FUNC(0x14FE76E8, sceLocationClose);
	REG_FUNC(0xB1F55065, sceLocationReopen);
	REG_FUNC(0x188CE004, sceLocationGetMethod);
	REG_FUNC(0x15BC27C8, sceLocationGetLocation);
	REG_FUNC(0x71503251, sceLocationCancelGetLocation);
	REG_FUNC(0x12D1F0EA, sceLocationStartLocationCallback);
	REG_FUNC(0xED378700, sceLocationStopLocationCallback);
	REG_FUNC(0x4E9E5ED9, sceLocationGetHeading);
	REG_FUNC(0x07D4DFE0, sceLocationStartHeadingCallback);
	REG_FUNC(0x92E53F94, sceLocationStopHeadingCallback);
	//REG_FUNC(0xE055BCF5, sceLocationSetHeapAllocator);
	REG_FUNC(0xC895E567, sceLocationConfirm);
	REG_FUNC(0x730FF842, sceLocationConfirmGetStatus);
	REG_FUNC(0xFF016C13, sceLocationConfirmGetResult);
	REG_FUNC(0xE3CBF875, sceLocationConfirmAbort);
开发者ID:Klozz,项目名称:rpcs3,代码行数:31,代码来源:sceLocation.cpp



注:本文中的REG_FUNC函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ REG_P函数代码示例发布时间:2022-05-30
下一篇:
C++ REG_FLD_MOD函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap