Use a more descriptive variable name.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
bd201202cd
commit
409634d65f
1 changed files with 4 additions and 4 deletions
|
@ -4768,12 +4768,12 @@ Update_t CmdMemorySave (int nArgs)
|
|||
{
|
||||
if (! bHaveFileName)
|
||||
{
|
||||
TCHAR temp[MAX_PATH];
|
||||
TCHAR sMemoryLoadSaveFileName[MAX_PATH];
|
||||
if (! bBankSpecified)
|
||||
sprintf( temp, "%04X.%04X.bin", nAddressStart, nAddressLen );
|
||||
sprintf( sMemoryLoadSaveFileName, "%04X.%04X.bin", nAddressStart, nAddressLen );
|
||||
else
|
||||
sprintf( temp, "%04X.%04X.bank%02X.bin", nAddressStart, nAddressLen, nBank );
|
||||
g_sMemoryLoadSaveFileName = temp;
|
||||
sprintf( sMemoryLoadSaveFileName, "%04X.%04X.bank%02X.bin", nAddressStart, nAddressLen, nBank );
|
||||
g_sMemoryLoadSaveFileName = sMemoryLoadSaveFileName;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue