| 282 | } |
| 283 | |
| 284 | bool IsBIOS(const char* filename, u32& version, std::string& description, u32& region, std::string& zone) |
| 285 | { |
| 286 | std::string serial; |
| 287 | const auto fp = FileSystem::OpenManagedCFile(filename, "rb"); |
| 288 | if (!fp) |
| 289 | return false; |
| 290 | |
| 291 | // FPS2BIOS is smaller and of variable size |
| 292 | //if (inway.Length() < 512*1024) return false; |
| 293 | return LoadBiosVersion(fp.get(), version, description, region, zone, serial); |
| 294 | } |
| 295 | |
| 296 | bool IsBIOSAvailable(const std::string& full_path) |
| 297 | { |
no test coverage detected