Home
last modified time | relevance | path

Searched refs:gameInfo (Results 1 – 25 of 34) sorted by relevance

12

/TwlSDK-5.3.1/build/libraries/mb/common/src/
Dmb_gameinfo.c699 brecvBuffp = (MbBeacon *) bssDescp->gameInfo.userGameInfo; in MB_RecvGameInfoBeacon()
730 if ((bssDescp->gameInfo.magicNumber != WM_GAMEINFO_MAGIC_NUMBER) in MBi_CheckMBParent()
731 || !(bssDescp->gameInfo.attribute & WM_ATTR_FLAG_MB)) in MBi_CheckMBParent()
760 ((u16 *)bssDescp->ssid)[2] = bssDescp->gameInfo.tgid; in MBi_SetSSIDToBssDesc()
779 if (info->gameInfo.ggid != brecvBuffp->ggid) in MBi_GetStoreElement()
789 if (mbrsp->list[i].gameInfo.fileNo != brecvBuffp->fileNo) in MBi_GetStoreElement()
814 mbrsp->list[i].gameInfo.seqNoFixed = brecvBuffp->seqNoFixed; in MBi_GetStoreElement()
843 && (info->gameInfo.volat.nowPlayerFlag) in MBi_CheckCompleteGameInfoFragments()
844 && (info->getPlayerFlag == info->gameInfo.volat.nowPlayerFlag)) in MBi_CheckCompleteGameInfoFragments()
974 info->gameInfo.ggid = brecvBuffp->ggid; // Gets ggid. in MBi_AnalyzeBeacon()
[all …]
Dmb_child.c81 fileNo = mbrsp->list[index].gameInfo.fileNo; in MB_CommDownloadRequest()
663 mbrsp->list[pCwork->connectTargetNo].gameInfo.ggid); in MBi_CommChildSendData()
719 void* arg = (gInfop == NULL)? NULL : (void *)&gInfop->gameInfo; in MBi_CommBeaconRecvCallback()
771 p_desc->gameInfo.magicNumber = 0x0001; in MB_ReadMultiBootParentBssDesc()
772 p_desc->gameInfo.ver = 0; in MB_ReadMultiBootParentBssDesc()
773 p_desc->gameInfo.ggid = in MB_ReadMultiBootParentBssDesc()
775 p_desc->gameInfo.tgid = *(const u16 *)(&p_desc->ssid[4]); in MB_ReadMultiBootParentBssDesc()
776 p_desc->gameInfo.userGameInfoLength = 0; in MB_ReadMultiBootParentBssDesc()
777 p_desc->gameInfo.parentMaxSize = parent_max_size; in MB_ReadMultiBootParentBssDesc()
778 p_desc->gameInfo.childMaxSize = child_max_size; in MB_ReadMultiBootParentBssDesc()
[all …]
Dmb_fake_child.c573 (cb->gameInfo.ggid == mbf_work->ggid) : in MBFi_StateOutStartScanParent()
635 cb.gameInfo = &gInfop->gameInfo; in MBFi_ScanCallback()
640 cb.gameInfo = NULL; in MBFi_ScanCallback()
866 mbf_work->targetGgid = info->gameInfo.ggid; in MB_FakeEntryToParent()
867 mbf_work->targetFileNo = info->gameInfo.fileNo; in MB_FakeEntryToParent()
1172 MI_CpuCopy8(&parentInfo->gameInfo, pGameInfo, sizeof(MBGameInfo)); in MB_FakeGetParentGameInfo()
1243 pBssDesc->gameInfo.userGameInfoLength = 0; in MB_FakeReadParentBssDesc()
1244 pBssDesc->gameInfo.parentMaxSize = parent_max_size; in MB_FakeReadParentBssDesc()
1245 pBssDesc->gameInfo.childMaxSize = child_max_size; in MB_FakeReadParentBssDesc()
1246 pBssDesc->gameInfo.attribute = (u8)((ks_flag ? WM_ATTR_FLAG_KS : 0) | in MB_FakeReadParentBssDesc()
Dmb_wm.c123 wmWork->sendBufSize = (u16)WM_SIZE_MP_CHILD_SEND_BUFFER(bssDesc->gameInfo.childMaxSize, FALSE); in MBi_WMStartConnect()
125 (u16)WM_SIZE_MP_CHILD_RECEIVE_BUFFER(bssDesc->gameInfo.parentMaxSize, FALSE); in MBi_WMStartConnect()
126 wmWork->pSendLen = bssDesc->gameInfo.parentMaxSize; in MBi_WMStartConnect()
127 wmWork->pRecvLen = bssDesc->gameInfo.childMaxSize; in MBi_WMStartConnect()
Dmb_wm_base.c46 …WM_SIZE_MP_CHILD_SEND_BUFFER(((WMGameInfo *)(&(((WMBssDesc*)(_pInfo_))->gameInfo)))->childMaxSize,…
47 …SIZE_MP_CHILD_RECEIVE_BUFFER(((WMGameInfo *)(&(((WMBssDesc*)(_pInfo_))->gameInfo)))->parentMaxSize…
704 …if( isEnableReject == TRUE && ((buffer->gameInfo.ggid & rejectGgidMask) == (rejectGgid & rejectGgi… in MBi_ChildCallback()
707 OS_TPrintf("GGID %08X is reject!\n", buffer->gameInfo.ggid); in MBi_ChildCallback()
717 p[i].scan_data.gameInfo = buffer->gameInfo; in MBi_ChildCallback()
735 … MI_CpuCopy16(&buffer->gameInfo, &p[i].scan_data.gameInfo, WM_SIZE_GAMEINFO); in MBi_ChildCallback()
1619 WMgameInfo *gameInfo; in MBi_CommConnectToParent() local
1623 gameInfo = (WMgameInfo *)(&(bssDescp->gameInfo)); in MBi_CommConnectToParent()
1624 p_mbi_param->p_sendlen = gameInfo->parentMaxSize; in MBi_CommConnectToParent()
1625 p_mbi_param->p_recvlen = gameInfo->childMaxSize; in MBi_CommConnectToParent()
[all …]
/TwlSDK-5.3.1/build/demos/mb/fake_child/src/
Dmain.c526 sParentBssDesc.gameInfo.tgid++;
722 const u8 *volat_data = (const u8 *)MB_GetUserVolatData(&bssdesc->gameInfo);
737 MBGameInfo *gameInfo = cb->gameInfo; local
742 bssdesc->gameInfo.parentMaxSize, bssdesc->gameInfo.childMaxSize);
745 parentInfo[cb->index].maxPlayerNum = gameInfo->fixed.maxPlayerNum;
746 parentInfo[cb->index].nowPlayerNum = gameInfo->volat.nowPlayerNum;
747 MI_CpuCopy8(&gameInfo->fixed.parent, &parentInfo[cb->index].info, sizeof(MBUserInfo));
/TwlSDK-5.3.1/build/demos/wireless_shared/mbp/
Dmbp.c30 static BOOL MBP_RegistFile(const MBGameRegistry *gameInfo);
140 void MBP_Start(const MBGameRegistry *gameInfo, u16 channel) in MBP_Start() argument
163 if (!MBP_RegistFile(gameInfo)) in MBP_Start()
182 static BOOL MBP_RegistFile(const MBGameRegistry *gameInfo) in MBP_RegistFile() argument
199 if (!gameInfo->romFilePathp) in MBP_RegistFile()
212 if (!FS_OpenFileEx(&file, gameInfo->romFilePathp, FS_FILEMODE_R)) in MBP_RegistFile()
230 gameInfo->romFilePathp ? gameInfo->romFilePathp : "(cloneboot)"); in MBP_RegistFile()
269 if (!MB_RegisterFile(gameInfo, sFilebuf)) in MBP_RegistFile()
Dmbp.h142 void MBP_Start(const MBGameRegistry *gameInfo, u16 channel);
/TwlSDK-5.3.1/build/demos/mb/cloneboot/src/
Dchild.c97 gMBParentBssDesc.gameInfo.tgid++; in ChildMain()
221 WH_SetGgid(gMBParentBssDesc.gameInfo.ggid); in ModeConnect()
/TwlSDK-5.3.1/build/demos/mb/multiboot-Model/child/src/
Dmain.c97 gMBParentBssDesc.gameInfo.tgid++; in NitroMain()
215 WH_SetGgid(gMBParentBssDesc.gameInfo.ggid); in ModeConnect()
/TwlSDK-5.3.1/build/libraries/wxc/ARM9/src/
Dwxc_protocol_impl_wpb.c177 static u16 gameInfo[2] ATTRIBUTE_ALIGN(32); in WXCi_BeaconSendHook() local
178 u16 gameInfoLength = sizeof gameInfo; in WXCi_BeaconSendHook()
181 MI_CpuClear16(gameInfo, sizeof gameInfo); in WXCi_BeaconSendHook()
190 p_param->userGameInfo = gameInfo; in WXCi_BeaconSendHook()
217 (char *)&p_desc->gameInfo.ggid - (char *)&p_desc->gameInfo in WXCi_BeaconRecvHook()
218 + sizeof p_desc->gameInfo.ggid && in WXCi_BeaconRecvHook()
219 p_desc->gameInfo.userGameInfoLength >= 4 && in WXCi_BeaconRecvHook()
220 (*(u32 *)p_desc->gameInfo.userGameInfo & 1 << 31) == 0) in WXCi_BeaconRecvHook()
/TwlSDK-5.3.1/build/demos/wvr/with_mb/child/src/
Dmain.c104 gMBParentBssDesc.gameInfo.tgid++; in NitroMain()
253 WH_SetGgid(gMBParentBssDesc.gameInfo.ggid); in ModeConnect()
/TwlSDK-5.3.1/man/en_US/
Dwm_changes_041006.txt26 - ( wcWmBssDesc->gameInfo.ggid[ 0 ] == wcDefaultParameter.ggid[ 0 ] ) &&
27 - ( wcWmBssDesc->gameInfo.ggid[ 1 ] == wcDefaultParameter.ggid[ 1 ] )
28 + ( wcWmBssDesc->gameInfo.ggid == wcDefaultParameter.ggid )
32 …Since a check must be made that WMBssDesc.gameInfo contains a valid value, take this opportunity t…
/TwlSDK-5.3.1/include/nitro/mb/
Dmb_fake_child.h48 MBGameInfo *gameInfo; // Parent game information member
Dmb_gameinfo.h109 void *MB_GetUserVolatData(const WMGameInfo *gameInfo);
/TwlSDK-5.3.1/build/demos/wm/wmDEMOlib/src/
Dwm_tool.c82 info->gameInfoList[i] = buf->gameInfo; in save_parentInfo()
103 if (buf->gameInfoLength == 0 || buf->gameInfo.ggid != param->ggidFilter) in save_parentInfo()
124 info->gameInfoList[i] = buf->gameInfo; in save_parentInfo()
181 MI_CpuCopy16((u16 *)&(bssDesc->gameInfo), in save_parentInfoEx()
202 if (bssDesc->gameInfoLength == 0 || bssDesc->gameInfo.ggid != param->ggidFilter) in save_parentInfoEx()
226 MI_CpuCopy16((u16 *)&(bssDesc->gameInfo), in save_parentInfoEx()
/TwlSDK-5.3.1/build/demos/os/entropy-1/src/
Dwmscan.c321 if (cb->gameInfoLength < 8 || cb->gameInfo.ggid != sGgid) in WS_StateOutStartScan()
328 if (!(cb->gameInfo.gameNameCount_attribute & WM_ATTR_FLAG_ENTRY)) in WS_StateOutStartScan()
/TwlSDK-5.3.1/include/nitro/wm/ARM9/
Dwm_api.h1512 static inline BOOL WM_IsValidGameInfo(const WMGameInfo *gameInfo, u16 gameInfoLength) in WM_IsValidGameInfo() argument
1516 && gameInfoLength == WM_SIZE_SYSTEM_GAMEINFO + gameInfo->userGameInfoLength in WM_IsValidGameInfo()
1517 && gameInfo->magicNumber == WM_GAMEINFO_MAGIC_NUMBER ); in WM_IsValidGameInfo()
1531 return ( WM_IsValidGameInfo(&bssDesc->gameInfo, bssDesc->gameInfoLength) in WM_IsValidGameBeacon()
/TwlSDK-5.3.1/build/demos.TWL/mp_shared/wh/
Dwh.c1455 if ((!WM_IsValidGameInfo(&cb->gameInfo, cb->gameInfoLength)) in WH_StateOutStartScan()
1456 || cb->gameInfo.ggid != sParentParam.ggid) in WH_StateOutStartScan()
1465 if ((cb->gameInfo.gameNameCount_attribute & (WM_ATTR_FLAG_ENTRY | WM_ATTR_FLAG_MB)) in WH_StateOutStartScan()
2499 OS_TPrintf("gameInfo.magicNumber = 0x%04x\n", info->gameInfo.magicNumber); in WH_PrintBssDesc()
2500 OS_TPrintf("gameInfo.ver = 0x%02x\n", info->gameInfo.ver); in WH_PrintBssDesc()
2501 OS_TPrintf("gameInfo.ggid = 0x%08x\n", info->gameInfo.ggid); in WH_PrintBssDesc()
2502 OS_TPrintf("gameInfo.tgid = 0x%04x\n", info->gameInfo.tgid); in WH_PrintBssDesc()
2503 OS_TPrintf("gameInfo.userGameInfoLength = 0x%02x\n", info->gameInfo.userGameInfoLength); in WH_PrintBssDesc()
2505 info->gameInfo.gameNameCount_attribute); in WH_PrintBssDesc()
2506 OS_TPrintf("gameInfo.parentMaxSize = 0x%04x\n", info->gameInfo.parentMaxSize); in WH_PrintBssDesc()
[all …]
/TwlSDK-5.3.1/build/libraries/mb/common/include/
Dmb_gameinfo.h55 MBGameInfo gameInfo; // Parent game information member
/TwlSDK-5.3.1/build/demos/wireless_shared/wh/
Dwh.c1554 if ((!WM_IsValidGameInfo(&bd->gameInfo, bd->gameInfoLength)) in WH_StateOutStartScan()
1555 || bd->gameInfo.ggid != sParentParam.ggid) in WH_StateOutStartScan()
1564 if ((bd->gameInfo.gameNameCount_attribute & (WM_ATTR_FLAG_ENTRY | WM_ATTR_FLAG_MB)) in WH_StateOutStartScan()
2625 OS_TPrintf("gameInfo.magicNumber = 0x%04x\n", info->gameInfo.magicNumber); in WH_PrintBssDesc()
2626 OS_TPrintf("gameInfo.ver = 0x%02x\n", info->gameInfo.ver); in WH_PrintBssDesc()
2627 OS_TPrintf("gameInfo.ggid = 0x%08x\n", info->gameInfo.ggid); in WH_PrintBssDesc()
2628 OS_TPrintf("gameInfo.tgid = 0x%04x\n", info->gameInfo.tgid); in WH_PrintBssDesc()
2629 OS_TPrintf("gameInfo.userGameInfoLength = 0x%02x\n", info->gameInfo.userGameInfoLength); in WH_PrintBssDesc()
2631 info->gameInfo.gameNameCount_attribute); in WH_PrintBssDesc()
2632 OS_TPrintf("gameInfo.parentMaxSize = 0x%04x\n", info->gameInfo.parentMaxSize); in WH_PrintBssDesc()
[all …]
/TwlSDK-5.3.1/build/demos/wm/wmDEMOlib/include/
Dwm_lib.h98 …WM_SIZE_MP_CHILD_SEND_BUFFER(((WMgameInfo *)(&(((WMbssDesc*)(_pInfo_))->gameInfo)))->childMaxSize,…
99 …SIZE_MP_CHILD_RECEIVE_BUFFER(((WMgameInfo *)(&(((WMbssDesc*)(_pInfo_))->gameInfo)))->parentMaxSize…
/TwlSDK-5.3.1/build/demos/wxc/simple-2/src/
Duser.c154 delete_ggid = bss->gameInfo.ggid; in user_callback()
/TwlSDK-5.3.1/build/demos/wm/listenOnly/src/
Dmain.c584 if (WM_IsValidGameInfo(&bd->gameInfo, bd->gameInfoLength)) in StartScanExCb()
587 OS_TPrintf("GGID=%08x TGID=%04x\n", bd->gameInfo.ggid, bd->gameInfo.tgid); in StartScanExCb()
/TwlSDK-5.3.1/build/demos/wxc/wxc-dataShare/src/
Dmain.c274 bssdesc.gameInfo.tgid++; in NitroMain()

12