mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 16:30:23 +00:00
Fixed: BLOAD now prints path & file, if can't load.
This commit is contained in:
parent
b4d5b8ebd7
commit
618edf99dd
@ -4086,7 +4086,13 @@ Update_t CmdMemoryLoad (int nArgs)
|
||||
}
|
||||
else
|
||||
{
|
||||
ConsoleBufferPush( TEXT( "Error: Bad filename." ) );
|
||||
ConsoleBufferPush( TEXT( "ERROR: Bad filename" ) );
|
||||
TCHAR sPath[ MAX_PATH + 8 ] = "Path: ";
|
||||
_tcscat( sPath, g_sCurrentDir );
|
||||
ConsoleBufferPush( sPath );
|
||||
TCHAR sFile[ MAX_PATH + 8 ] = "File: ";
|
||||
_tcscat( sFile, g_sMemoryLoadSaveFileName );
|
||||
ConsoleBufferPush( sFile );
|
||||
}
|
||||
|
||||
delete [] pMemory;
|
||||
@ -4200,7 +4206,6 @@ Update_t CmdMemorySave (int nArgs)
|
||||
*pDst++ = *pSrc++;
|
||||
}
|
||||
|
||||
|
||||
FILE *hFile = fopen( sLoadSaveFilePath, "rb" );
|
||||
if (hFile)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user