Take powerpc FIL structure out of stack ffs

This commit is contained in:
marcan 2009-03-26 05:16:08 +01:00 committed by bushing
parent 91b3ef1e6c
commit 56f89abd31

View File

@ -11,12 +11,12 @@
#define PHDR_MAX 10
Elf32_Ehdr elfhdr;
Elf32_Phdr phdrs[PHDR_MAX];
static Elf32_Ehdr elfhdr;
static Elf32_Phdr phdrs[PHDR_MAX];
static FIL fd;
int powerpc_load_file(const char *path)
{
FIL fd;
u32 read;
FRESULT fres;