Added a fancy message stating that the current build is a WIP and provided a URL to the wiki of known bugs and regressions

This commit is contained in:
pagefault
2006-02-09 00:51:12 +00:00
parent 9bccb91e42
commit 271fbc9ccf

View File

@@ -202,6 +202,7 @@ extern "C" {
int SemaphoreMax = 5; int SemaphoreMax = 5;
void InitSemaphore(); void InitSemaphore();
void ShutdownSemaphore(); void ShutdownSemaphore();
void DisplayWIPDisclaimer();
void InitDebugger(); void InitDebugger();
void Clear2xSaIBuffer(); void Clear2xSaIBuffer();
@@ -2068,6 +2069,10 @@ void initwinvideo(void)
{ {
atexit(ExitFunction); atexit(ExitFunction);
#ifndef __RELEASE__
DisplayWIPDisclaimer();
#endif
if (!QueryPerformanceFrequency((LARGE_INTEGER*)&freq)) return; if (!QueryPerformanceFrequency((LARGE_INTEGER*)&freq)) return;
if (!RegisterWinClass()) if (!RegisterWinClass())
@@ -3132,4 +3137,9 @@ int CheckBatteryPercent()
return((SysPowerStat.BatteryLifePercent == 255) ? -1 : SysPowerStat.BatteryLifePercent); return((SysPowerStat.BatteryLifePercent == 255) ? -1 : SysPowerStat.BatteryLifePercent);
} }
void DisplayWIPDisclaimer()
{
MessageBox(NULL, "This build of ZSNES is a WORK IN PROGRESS. This means that it is known to contain bugs and certain features\nmay or may not be working correctly. This build is not any representation of final work and is provided AS IS\nfor people to try bleeding edge code.\n\nPlease see http://zsnes.gamehost.com/~pagefault/ for a list of current issues.", "Disclaimer", MB_OK);
}
} }