Actually only scan whole file when filename ends in ".rom"
In 5ebe5f82 Lunar commented: > We restrict looking for a CBFS header in the whole image (which takes some > time) to cases where the file name ends with `.rom`. The code was not doing that. This commit fixes things so it actually does that.
Showing with 4 additions and 4 deletions