MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / VideoGetAppWindowTitle

Method VideoGetAppWindowTitle

source/Video.cpp:813–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811//===========================================================================
812
813const char* Video::VideoGetAppWindowTitle(void)
814{
815 static const char *apVideoMonitorModeDesc[ 2 ] =
816 {
817 "Color (NTSC Monitor)",
818 "Color (PAL Monitor)"
819 };
820
821 const VideoType_e videoType = GetVideoType();
822 if ( videoType != VT_COLOR_MONITOR_NTSC)
823 return g_apVideoModeDesc[ videoType ];
824 else
825 return apVideoMonitorModeDesc[ GetVideoRefreshRate() == VR_60HZ ? 0 : 1 ]; // NTSC or PAL
826}
827
828void Video::Initialize(uint8_t* frameBuffer, bool resetState)
829{

Callers 1

GetAppleWindowTitleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected