| 361 | } |
| 362 | |
| 363 | static const char* FixAndroidResourcePath(const char* path) |
| 364 | { |
| 365 | // Assets on Android are loaded with a relative path from assets. |
| 366 | if (strncmp(path, "./", 2) == 0) |
| 367 | { |
| 368 | path += 2; |
| 369 | } |
| 370 | while (*path == '/') |
| 371 | { |
| 372 | ++path; |
| 373 | } |
| 374 | return path; |
| 375 | } |
| 376 | |
| 377 | static AAssetManager* GetAndroidAssetManager() |
| 378 | { |
no outgoing calls
no test coverage detected