| 400 | } |
| 401 | |
| 402 | J2DMaterial* J2DScreen::getMaterial(u16 index) |
| 403 | { |
| 404 | if (index >= mMaterialCount) { |
| 405 | return nullptr; |
| 406 | } |
| 407 | if (mMaterials == nullptr) { |
| 408 | return nullptr; |
| 409 | } |
| 410 | return mMaterials + index; |
| 411 | } |
| 412 | |
| 413 | bool J2DScreen::isUsed(const ResTIMG* resource) { return J2DPane::isUsed(resource); } |
| 414 |
no outgoing calls
no test coverage detected