src/filesystem/beos/SDL_sysfilesystem.cc
changeset 7673 e3d59fb413ad
parent 7667 be1cc6f55840
child 7676 013483acb374
equal deleted inserted replaced
7672:424794018389 7673:e3d59fb413ad
    25 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    25 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    26 /* System dependent filesystem routines                                */
    26 /* System dependent filesystem routines                                */
    27 
    27 
    28 #include <os/kernel/image.h>
    28 #include <os/kernel/image.h>
    29 #include <os/storage/Directory.h>
    29 #include <os/storage/Directory.h>
       
    30 #include <os/storage/Entry.h>
    30 #include <os/storage/Path.h>
    31 #include <os/storage/Path.h>
    31 
    32 
    32 #include "SDL_error.h"
    33 #include "SDL_error.h"
    33 #include "SDL_stdinc.h"
    34 #include "SDL_stdinc.h"
    34 #include "SDL_assert.h"
    35 #include "SDL_assert.h"
    60     if (!retval) {
    61     if (!retval) {
    61         SDL_OutOfMemory();
    62         SDL_OutOfMemory();
    62         return NULL;
    63         return NULL;
    63     }
    64     }
    64 
    65 
    65     SDL_strcpy(retval, str);
    66     strcpy(retval, str);
    66     retval[len] = '/';
    67     retval[len] = '/';
    67     retval[len+1] = '\0';
    68     retval[len+1] = '\0';
    68     return retval;
    69     return retval;
    69 }
    70 }
    70 
    71