Make core need_fullpath = false and pass memory buffer and size

of ROM from frontend to core
This commit is contained in:
twinaphex
2014-12-09 01:45:15 +01:00
parent 0e8d488cc7
commit ea0d1f8046
6 changed files with 33 additions and 7 deletions

View File

@@ -115,8 +115,12 @@ void FCEUI_DisableSpriteLimitation(int a);
/* -1 = no change, 0 = show, 1 = hide, 2 = internal toggle */
void FCEUI_SetRenderDisable(int sprites, int bg);
#ifdef __LIBRETRO__
FCEUGI *FCEUI_LoadGame(const char *name, uint8_t *buf, size_t bufsize);
#else
/* name=path and file to load. returns 0 on failure, 1 on success */
FCEUGI *FCEUI_LoadGame(const char *name);
#endif
#ifdef COPYFAMI
/* Fake UNIF board to start new CFHI instance */