diff --git a/src/macdriver.c b/src/macdriver.c index b41578d..47ff179 100644 --- a/src/macdriver.c +++ b/src/macdriver.c @@ -172,7 +172,8 @@ show_simple_alert(char *str1, char *str2, char *str3, int num) g_fatal_log = 3; if(num != 0) { snprintf(buf, 250, ": %d", num); - g_fatal_log_strs[g_fatal_log++] = kegs_malloc_str(buf); + g_fatal_log_strs[g_fatal_log++] = +_malloc_str(buf); } x_show_alert(0, 0); } @@ -187,9 +188,7 @@ x_dialog_create_kegs_conf(const char *str) ret = x_show_alert(1, str); if(ret) { // Create empty file - path = "~/Library/KEGS"; - snprintf(tmp_buf, 500, "mkdir -p %s", path); - system(tmp_buf); + path = "~"; snprintf(tmp_buf, 500, "touch %s/%s", path, str); system(tmp_buf); } @@ -242,12 +241,12 @@ x_show_alert(int is_fatal, const char *str) if(str) { // Provide an extra option--create a file cfstrref2 = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, - CFSTR("Create ~/Library/KEGS/%s"), str); + CFSTR("Create ~/Library/GSport/%s"), str); alert_param.otherText = cfstrref2; } okstrref = CFSTR("Click OK to continue"); if(is_fatal) { - okstrref = CFSTR("Clock OK to exit KEGS"); + okstrref = CFSTR("Clock OK to exit GSport"); } CreateStandardAlert(kAlertStopAlert, cfstrref, okstrref, &alert_param, &alert); diff --git a/src/printer.cpp b/src/printer.cpp index 5bba120..1158d8f 100644 --- a/src/printer.cpp +++ b/src/printer.cpp @@ -1652,7 +1652,7 @@ SDL_FreeSurface(image);*/ { DOCINFO docinfo; docinfo.cbSize = sizeof(docinfo); - docinfo.lpszDocName = "KEGS Virtual Printer"; + docinfo.lpszDocName = "GSport Virtual Printer"; docinfo.lpszOutput = NULL; docinfo.lpszDatatype = NULL; docinfo.fwType = 0; @@ -1829,7 +1829,7 @@ SDL_FreeSurface(image);*/ fprintf(psfile, "%%!PS-Adobe-3.0\n"); fprintf(psfile, "%%%%Pages: (atend)\n"); fprintf(psfile, "%%%%BoundingBox: 0 0 %i %i\n", (Bit16u)(defaultPageWidth*74), (Bit16u)(defaultPageHeight*74)); - fprintf(psfile, "%%%%Creator: KEGS Virtual Printer\n"); + fprintf(psfile, "%%%%Creator: GSport Virtual Printer\n"); fprintf(psfile, "%%%%DocumentData: Clean7Bit\n"); fprintf(psfile, "%%%%LanguageLevel: 2\n"); fprintf(psfile, "%%%%EndComments\n"); diff --git a/src/win32.rc b/src/win32.rc index 76afa5b..c048034 100644 --- a/src/win32.rc +++ b/src/win32.rc @@ -79,7 +79,7 @@ CAPTION "About" FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,78,61,50,14 - LTEXT "KEGS32: GS Emulator.\nBased on KEGS by Kent Dickey\nWindows Port by Chea Chee Keong\n\nThis software is licensed under GNU GPL.", + LTEXT "GSport: GS Emulator.\nBased on KEGS by Kent Dickey\nWindows Port by Chea Chee Keong\n\nThis software is licensed under GNU GPL.", IDC_STATIC,38,7,162,45,NOT WS_GROUP ICON "KEGS32_ICON",IDC_STATIC,7,7,21,20,0 END @@ -148,14 +148,14 @@ CAPTION "Help About Key Commands" FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,65,151,50,14 - LTEXT "KEGS32 Key Commands",IDC_STATIC,7,7,82,10 + LTEXT "GSport Key Commands",IDC_STATIC,7,7,82,10 LTEXT "Alt/F1\t\tOpen-Apple\nF2\t\tClose-Apple\nF7\t\tToggle Fast Disk Emulation\nF8\t\tToggle Mouse Pointer\n\t\tDisplay\n", IDC_STATIC,21,25,151,42 LTEXT "F11\t\tToggle Fullscreen Display\nF12\t\tReset\nCtrl-Alt-Break\tReboot Emulator\nCtrl-Alt-Esc\tControl-Panel\nCtrl-Break\tReset Emulator", IDC_STATIC,21,66,141,50 CONTROL "",IDC_STATIC,"Static",SS_BLACKFRAME | WS_DISABLED | WS_BORDER,7,17,172,1 - LTEXT "For more information, please consult the readme.kegs file", + LTEXT "Please visit http://gsport.sourceforge.net", IDC_STATIC,21,124,144,19 END