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

Function SetMainWindowText

src/drivers/win/window.cpp:197–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196//********************************************************************************
197void SetMainWindowText()
198{
199 string str = FCEU_NAME_AND_VERSION;
200 if (newppu)
201 str.append(" (New PPU)");
202 if (GameInfo)
203 {
204 //Add the filename to the window caption
205 extern char FileBase[];
206 str.append(": ");
207 str.append(FileBase);
208 if (FCEUMOV_IsLoaded())
209 {
210 str.append(" Playing: ");
211 str.append(StripPath(FCEUI_GetMovieName()));
212 }
213 }
214 SetWindowText(hAppWnd, str.c_str());
215}
216
217bool HasRecentFiles()
218{

Callers 7

FCEU_TogglePPUFunction · 0.85
OnMovieClosedFunction · 0.85
FCEUI_LoadMovieFunction · 0.85
CloseGameFunction · 0.85
ALoadFunction · 0.85
applyMovieInputConfigFunction · 0.85

Calls 3

FCEUMOV_IsLoadedFunction · 0.85
StripPathFunction · 0.85
FCEUI_GetMovieNameFunction · 0.85

Tested by

no test coverage detected