| 688 | } |
| 689 | |
| 690 | const char* GetExtFromPath(const char* path) |
| 691 | { |
| 692 | const char* result = strrchr(path, '.'); |
| 693 | if (result) |
| 694 | { |
| 695 | while(result[0] == '.') |
| 696 | result++; |
| 697 | } |
| 698 | return result; |
| 699 | } |
| 700 | |
| 701 | // Assumes m_LoadMutex is already held |
| 702 | static Result DoCreateResource(HFactory factory, ResourceType* resource_type, const char* name, const char* canonical_path, |
no outgoing calls
no test coverage detected