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

Method persist

src/lua-engine.cpp:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 if(data) delete data;
176 }
177 void persist() {
178 persisted = true;
179 FILE* outf = fopen(filename.c_str(),"wb");
180 fwrite(data->buf(),1,data->size(),outf);
181 fclose(outf);
182 }
183 void ensureLoad() {
184 if(data) return;
185 persisted = true;

Callers 1

savestate_persistFunction · 0.80

Calls 2

bufMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected