This commit is contained in:
zeromus 2008-08-02 04:17:42 +00:00
parent dc97747998
commit 1a9939b940
8 changed files with 13 additions and 13 deletions

View File

@ -59,11 +59,11 @@ void CloseDirectoriesDialog(HWND hwndDlg)
sprintf(buffer, mask, directory_names[curr_dir]); sprintf(buffer, mask, directory_names[curr_dir]);
if ( MessageBox(hwndDlg, buffer, "FCE Ultra", MB_ICONERROR | MB_YESNO) == IDYES ) if ( MessageBox(hwndDlg, buffer, FCEU_NAME, MB_ICONERROR | MB_YESNO) == IDYES )
{ {
if (!CreateDirectory(directory_names[curr_dir], 0)) if (!CreateDirectory(directory_names[curr_dir], 0))
{ {
MessageBox(hwndDlg, "Error: Couldn't create directory. Please choose a different directory.", "FCE Ultra", MB_ICONERROR | MB_OK); MessageBox(hwndDlg, "Error: Couldn't create directory. Please choose a different directory.", FCEU_NAME, MB_ICONERROR | MB_OK);
free(buffer); free(buffer);
return; return;
} }

View File

@ -1260,15 +1260,15 @@ BOOL CALLBACK InputConCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
break; break;
case BTN_PRESET_SET1: case BTN_PRESET_SET1:
MessageBox(0, "Current input configuration has been set as Preset 1.", "FCE Ultra Message", MB_ICONINFORMATION | MB_OK | MB_SETFOREGROUND | MB_TOPMOST); MessageBox(0, "Current input configuration has been set as Preset 1.", FCEU_NAME, MB_ICONINFORMATION | MB_OK | MB_SETFOREGROUND | MB_TOPMOST);
memcpy(GamePadPreset1, GamePadConfig, sizeof(GamePadConfig)); memcpy(GamePadPreset1, GamePadConfig, sizeof(GamePadConfig));
break; break;
case BTN_PRESET_SET2: case BTN_PRESET_SET2:
MessageBox(0, "Current input configuration has been set as Preset 2.", "FCE Ultra Message", MB_ICONINFORMATION | MB_OK | MB_SETFOREGROUND | MB_TOPMOST); MessageBox(0, "Current input configuration has been set as Preset 2.", FCEU_NAME, MB_ICONINFORMATION | MB_OK | MB_SETFOREGROUND | MB_TOPMOST);
memcpy(GamePadPreset2, GamePadConfig, sizeof(GamePadConfig)); memcpy(GamePadPreset2, GamePadConfig, sizeof(GamePadConfig));
break; break;
case BTN_PRESET_SET3: case BTN_PRESET_SET3:
MessageBox(0, "Current input configuration has been set as Preset 3.", "FCE Ultra Message", MB_ICONINFORMATION | MB_OK | MB_SETFOREGROUND | MB_TOPMOST); MessageBox(0, "Current input configuration has been set as Preset 3.", FCEU_NAME, MB_ICONINFORMATION | MB_OK | MB_SETFOREGROUND | MB_TOPMOST);
memcpy(GamePadPreset3, GamePadConfig, sizeof(GamePadConfig)); memcpy(GamePadPreset3, GamePadConfig, sizeof(GamePadConfig));
break; break;

View File

@ -335,7 +335,7 @@ void FCEUD_PrintError(const char *errormsg)
ShowCursorAbs(1); ShowCursorAbs(1);
} }
MessageBox(0, errormsg, "FCE Ultra Error", MB_ICONERROR | MB_OK | MB_SETFOREGROUND | MB_TOPMOST); MessageBox(0, errormsg, FCEU_NAME" Error", MB_ICONERROR | MB_OK | MB_SETFOREGROUND | MB_TOPMOST);
if(fullscreen) if(fullscreen)
{ {

View File

@ -22,7 +22,7 @@ int LoadPaletteFile()
memset(&ofn, 0, sizeof(ofn)); memset(&ofn, 0, sizeof(ofn));
ofn.lStructSize = sizeof(ofn); ofn.lStructSize = sizeof(ofn);
ofn.hInstance = fceu_hInstance; ofn.hInstance = fceu_hInstance;
ofn.lpstrTitle = "FCE Ultra Open Palette File..."; ofn.lpstrTitle = FCEU_NAME" Open Palette File...";
ofn.lpstrFilter = filter; ofn.lpstrFilter = filter;
nameo[0] = 0; nameo[0] = 0;
ofn.lpstrFile = nameo; ofn.lpstrFile = nameo;

View File

@ -5,7 +5,7 @@
**/ **/
void FCEUD_SaveStateAs() void FCEUD_SaveStateAs()
{ {
const char filter[] = "FCE Ultra Save State(*.fc?)\0*.fc?\0"; const char filter[] = FCEU_NAME" Save State(*.fc?)\0*.fc?\0";
char nameo[2048]; char nameo[2048];
OPENFILENAME ofn; OPENFILENAME ofn;
@ -30,7 +30,7 @@ void FCEUD_SaveStateAs()
**/ **/
void FCEUD_LoadStateFrom() void FCEUD_LoadStateFrom()
{ {
const char filter[]="FCE Ultra Save State(*.fc?)\0*.fc?\0"; const char filter[]= FCEU_NAME" Save State(*.fc?)\0*.fc?\0";
char nameo[2048]; char nameo[2048];
OPENFILENAME ofn; OPENFILENAME ofn;

View File

@ -606,7 +606,7 @@ void LoadNewGamey(HWND hParent, const char *initialdir)
ofn.lStructSize=sizeof(ofn); ofn.lStructSize=sizeof(ofn);
ofn.hInstance=fceu_hInstance; ofn.hInstance=fceu_hInstance;
ofn.lpstrTitle="FCE Ultra Open File..."; ofn.lpstrTitle=FCEU_NAME" Open File...";
ofn.lpstrFilter=filter; ofn.lpstrFilter=filter;
nameo[0]=0; nameo[0]=0;
ofn.hwndOwner=hParent; ofn.hwndOwner=hParent;
@ -1408,7 +1408,7 @@ int CreateMainWindow()
hAppWnd = CreateWindowEx( hAppWnd = CreateWindowEx(
0, 0,
"FCEULTRA", "FCEULTRA",
"FCE Ultra", FCEU_NAME,
WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS, /* Style */ WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS, /* Style */
MainWindow_wndx, MainWindow_wndx,
MainWindow_wndy, MainWindow_wndy,

View File

@ -26,7 +26,7 @@
#include <iosfwd> #include <iosfwd>
#define FCEU_VERSION_NUMERIC 20000 #define FCEU_VERSION_NUMERIC 20000
#define FCEU_NAME "FCE Ultra" #define FCEU_NAME "FCEUX"
#define FCEU_VERSION_STRING "2.0.0" #define FCEU_VERSION_STRING "2.0.0"
#define FCEU_NAME_AND_VERSION FCEU_NAME " " FCEU_VERSION_STRING #define FCEU_NAME_AND_VERSION FCEU_NAME " " FCEU_VERSION_STRING

View File

@ -1,2 +1,2 @@
pscp -pw zzzap333 fceux.zip fceux@www.pi-r-squared.com:web/zip/fceux.zip pscp -pw zzzap333 fceux.zip fceux@www.pi-r-squared.com:web/zip/fceux.zip
pscp -pw zzzap333 luapack.zip fceux@www.pi-r-squared.com:web/lua/luapack.zip pscp -pw zzzap333 luapack.zip fceux@www.pi-r-squared.com:web/luapack/luapack.zip