MCPcopy Create free account
hub / github.com/TASEmulators/fceux / memwrap

Method memwrap

src/emufile.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99
100EMUFILE* EMUFILE_FILE::memwrap()
101{
102 EMUFILE_MEMORY* mem = new EMUFILE_MEMORY(size());
103 if(size()==0) return mem;
104 fread(mem->buf(),size());
105 return mem;
106}
107
108EMUFILE* EMUFILE_MEMORY::memwrap()
109{

Callers 3

savestate_create_aliasedFunction · 0.80
UpdateReplayCommentsSubsFunction · 0.80
UpdateReplayDialogFunction · 0.80

Calls 1

bufMethod · 0.80

Tested by

no test coverage detected