ivfc.c 292 B

123456789101112131415161718
  1. #include <stdio.h>
  2. #include <stdbool.h>
  3. #include <stdint.h>
  4. #include "nx/ivfc.h"
  5. #include "util/log.h"
  6. bool ivfc_check_if_magic_valid(uint32_t magic)
  7. {
  8. if (magic != IVFC_MAGIC)
  9. {
  10. write_log("got wrong ivfc magic %u\n", magic);
  11. return false;
  12. }
  13. return true;
  14. }