@@ -362,49 +362,49 @@ DEF_CONSOLE_CMD(ConPrintWorkingDirectory
const char *path;
if (argc == 0) {
IConsoleHelp("Print out the current working directory. Usage: 'pwd'");
return true;
}
/* XXX - Workaround for broken file handling */
FiosGetSavegameList(SLD_LOAD_GAME);
FiosFreeSavegameList();
FiosGetDescText(&path, NULL);
IConsolePrint(CC_DEFAULT, path);
DEF_CONSOLE_CMD(ConClearBuffer)
{
IConsoleHelp("Clear the console buffer. Usage: 'clear'");
IConsoleClearBuffer();
InvalidateWindow(WC_CONSOLE, 0);
SetWindowDirty(WC_CONSOLE, 0);
/**********************************
* Network Core Console Commands
**********************************/
#ifdef ENABLE_NETWORK
DEF_CONSOLE_CMD(ConBan)
NetworkClientInfo *ci;
const char *banip = NULL;
ClientID client_id;
IConsoleHelp("Ban a client from a network game. Usage: 'ban <ip | client-id>'");
IConsoleHelp("For client-id's, see the command 'clients'");
IConsoleHelp("If the client is no longer online, you can still ban his/her IP");
if (argc != 2) return false;