Update exe to use new f_get_rc_string()

This commit is contained in:
Stefan `Sec` Zehl 2011-07-13 00:23:58 +02:00
parent f3f1c01d57
commit d25d57313c
1 changed files with 1 additions and 11 deletions

View File

@ -12,17 +12,7 @@
/**************************************************************************/
void put_rc_y (FRESULT rc, int y) {
const TCHAR *p =
_T("OK\0DISK_ERR\0INT_ERR\0NOT_READY\0NO_FILE\0NO_PATH\0INVALID_NAME\0")
_T("DENIED\0EXIST\0INVALID_OBJECT\0WRITE_PROTECTED\0INVALID_DRIVE\0")
_T("NOT_ENABLED\0NO_FILE_SYSTEM\0MKFS_ABORTED\0TIMEOUT\0LOCKED\0")
_T("NOT_ENOUGH_CORE\0TOO_MANY_OPEN_FILES\0");
FRESULT i;
for (i = 0; i != rc && *p; i++) {
while(*p++) ;
}
DoString(0,y,p);
DoString(0,y,f_get_rc_string(rc));
}
void put_rc (FRESULT rc){