#include <string.h>

#include "Popcorn:h.Popcorn"

void **Popcorn_FindResource(char *res_name)
{
  int       c = 0;

  while (c != resource_free)
  {
    if (strcmp(resource[c]->file, res_name) == 0)
    {
/*       printf("%X %s", resource[c]->addr, resource[c]->file); */
      return(&(resource[c]->addr));
    }
    c++;
  }

  return(NULL);
}
