Commits

clach04  committed a530016

Dingoo Native SDK now has getcwd() support, removed "hack". Requires SDK r302.

  • Participants
  • Parent commits 37c8915

Comments (0)

Files changed (2)

File src/dingoonative.c

 #include <stdlib.h>
 #include <string.h>
 
-char *getcwd(char *buf, size_t n)
-{
-    /* FIXME replace with argv checking AND/OR install .app into 3d games... ala Dingoo Write */
-    strncpy(buf, "A:\\Game\\3D Games\\DingooHuGo", n); /* could work out .app directory as argv[0] has it... */
-    return buf;
-}
-
 #endif /* DINGOO_NATIVE */

File src/dingoonative.h

 int stat (const char * X, struct stat *Y);
 
 unsigned int sleep(unsigned int seconds);
-char *getcwd(char *buf, size_t size);
 */
 
 #else /* DINGOO_NATIVE */