| 270 | } |
| 271 | |
| 272 | bool BNSharedCacheControllerGetImageAt( |
| 273 | BNSharedCacheController* controller, uint64_t address, BNSharedCacheImage* outImage) |
| 274 | { |
| 275 | const auto image = controller->object->GetCache().GetImageAt(address); |
| 276 | if (!image) |
| 277 | return false; |
| 278 | *outImage = ImageToApi(*image); |
| 279 | return true; |
| 280 | } |
| 281 | |
| 282 | bool BNSharedCacheControllerGetImageContaining( |
| 283 | BNSharedCacheController* controller, uint64_t address, BNSharedCacheImage* outImage) |
no test coverage detected