| 122 | } |
| 123 | |
| 124 | void 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 | |
| 143 | void UpdateReplayDialog(HWND hwndDlg) |
| 144 | { |
no test coverage detected