--- np2/win9xc/dialog/d_about.cpp 2004/02/13 20:31:55 1.2 +++ np2/win9xc/dialog/d_about.cpp 2004/03/23 18:34:05 1.3 @@ -4,18 +4,34 @@ #include "dialog.h" #include "dialogs.h" #include "pccore.h" +#include "np2info.h" static const char str_np2title[] = "Neko Project II "; +static const char np2infostr[] = \ + "CPU: %CPU% %CLOCK%\n" \ + "MEM: %MEM1%\n" \ + "GDC: %GDC%\n" \ + "TEXT: %TEXT%\n" \ + "GRPH: %GRPH%\n" \ + "SOUND: %EXSND%\n" \ + "\n" \ + "BIOS: %BIOS%\n" \ + "RHYTHM: %RHYTHM%\n" \ + "\n" \ + "SCREEN: %DISP%"; static void about_init(HWND hWnd) { char work[128]; + char infostr[1024]; milstr_ncpy(work, str_np2title, sizeof(work)); milstr_ncat(work, np2version, sizeof(work)); SetDlgItemText(hWnd, IDC_NP2VER, work); + np2info(infostr, np2infostr, sizeof(infostr), NULL); + SetDlgItemText(hWnd, IDC_NP2INFO, infostr); SetFocus(GetDlgItem(hWnd, IDOK)); }