Lines Matching refs:cip
43 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDG_IsExistedAtInit()
45 return cip->moduleID.raw != 0xffff ? TRUE : FALSE; in CTRDG_IsExistedAtInit()
96 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDGi_IsBitIDAtInit() local
98 if (cip->moduleID.raw != 0xffff && cip->moduleID.raw != 0x0000 && ~cip->moduleID.bitID & bitID) in CTRDGi_IsBitIDAtInit()
135 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDGi_IsNumberIDAtInit() local
137 if (cip->moduleID.raw != 0xffff && cip->moduleID.raw != 0x0000) in CTRDGi_IsNumberIDAtInit()
139 if (cip->moduleID.numberID == numberID) in CTRDGi_IsNumberIDAtInit()
143 else if (!cip->moduleID.disableExLsiID) in CTRDGi_IsNumberIDAtInit()
145 if (cip->exLsiID[0] == numberID in CTRDGi_IsNumberIDAtInit()
146 || cip->exLsiID[1] == numberID || cip->exLsiID[2] == numberID) in CTRDGi_IsNumberIDAtInit()
195 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDGi_IsAgbCartridgeAtInit() local
197 return cip->isAgbCartridge; in CTRDGi_IsAgbCartridgeAtInit()
232 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDGi_GetAgbGameCodeAtInit() local
237 retval = cip->gameCode; in CTRDGi_GetAgbGameCodeAtInit()
275 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDGi_GetAgbMakerCodeAtInit() local
280 retval = cip->makerCode; in CTRDGi_GetAgbMakerCodeAtInit()
298 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDG_IsPulledOut() local
311 if (!cip->detectPullOut) in CTRDG_IsPulledOut()
316 return cip->detectPullOut; in CTRDG_IsPulledOut()
365 CTRDGModuleInfo *cip = CTRDGi_GetModuleInfoAddr(); in CTRDG_IsExisting()
376 if (cip->detectPullOut == TRUE) in CTRDG_IsExisting()
402 … if ((isRomCode == CTRDG_IS_ROM_CODE && cip->moduleID.raw != chp->moduleID) // memory loaded in CTRDG_IsExisting()
403 …|| (isRomCode != CTRDG_IS_ROM_CODE && cip->moduleID.raw != *CTRDGi_GetModuleIDImageAddr()) // mem… in CTRDG_IsExisting()
404 … || ((cip->gameCode != chp->gameCode) && cip->isAgbCartridge)) // AGB cartridge comparison in CTRDG_IsExisting()
406 cip->detectPullOut = TRUE; in CTRDG_IsExisting()