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

Function UpdateReplayCommentsSubs

src/drivers/win/replay.cpp:124–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void UpdateReplayCommentsSubs(const char * fname) {
125
126 MOVIE_INFO info;
127
128 FCEUFILE *fp = FCEU_fopen(fname,0,"rb",0);
129 EMUFILE *tmp = fp->stream->memwrap();
130 if (tmp != fp->stream)
131 delete fp->stream;
132 fp->stream = tmp;
133 bool scanok = FCEUI_MovieGetInfo(fp, info, true);
134 delete fp;
135
136 if(!scanok)
137 return;
138
139 currComments = info.comments;
140 currSubtitles = info.subtitles;
141}
142
143void UpdateReplayDialog(HWND hwndDlg)
144{

Callers 1

FCEUX_LoadMovieExtrasFunction · 0.85

Calls 3

FCEU_fopenFunction · 0.85
FCEUI_MovieGetInfoFunction · 0.85
memwrapMethod · 0.80

Tested by

no test coverage detected