Moved the \\* in fs-windows.c

This commit is contained in:
yabause 2006-06-07 22:11:43 +00:00
parent 3de4593edf
commit 01a8c191e2
1 changed files with 4 additions and 1 deletions

View File

@ -2,10 +2,13 @@
#include <windows.h>
void * FsReadFirst(const char * path, FsEntry * entry) {
void * FsReadFirst(const char * p, FsEntry * entry) {
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
HANDLE * ret;
char path[1024];
sprintf(path, "%s\\*", p);
hFind = FindFirstFile(path, &FindFileData);
if (hFind == INVALID_HANDLE_VALUE)