gameboy wormboy manboy gameworm gameman wormgame mangame manworm

Dependencies:   mbed SDFileSystem2

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers platform.h Source File

platform.h

00001 #ifndef GBC_PLATFORM_H
00002 #define GBC_PLATFORM_H
00003 
00004 #include "types.h"
00005 
00006 struct FileLoadData {
00007   u8* data;
00008   u32 size;
00009 };
00010 
00011 void* badalloc_check(u32 size, const char* alloc_name);
00012 FileLoadData loadFile(const char* name);
00013 void saveFile(const char* name, FileLoadData info);
00014 void updateKeyboard(KeyState* keys);
00015 
00016 #endif //GBC_PLATFORM_H