##### Shinobi Library - File System Function

# gdFsSetDir

Sets the current directory

### FORMAT

`

  Sint32 gdFsSetDir( gf_dirrec )
  GDFS_DIRREC gf_dirrec

`

### PARAMETER

  `gf_dirrec` | Directory record handle

### RETURN

  GDD_ERR

### DESCRIPTION

  Sets the current directory.

### EXAMPLE

      /* Load MOVIE directory into g_dir */
      Uint32 dirbuf[gdFsGetDirrecSize(64)];
      GDFS_DIRREC g_dir;
      g_dir = gdFsCreateDirhn(dirbuf, 64);
      gdFsLoadDir("MOVIE", g_dir);
      gdFsSetDir(g_dir);

gdFsSetDir

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999