mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
task_decompress.c - get rid of logging
task_autodetect_blissbox.c - get rid of logging
This commit is contained in:
parent
cfcce71392
commit
d198bef37b
@ -304,10 +304,7 @@ static const blissbox_pad_type_t* input_autoconfigure_get_blissbox_pad_type_win3
|
|||||||
|
|
||||||
/* Check for some other error */
|
/* Check for some other error */
|
||||||
if (!bResult)
|
if (!bResult)
|
||||||
{
|
|
||||||
RARCH_LOG("[Autoconf]: Error in SetupDiGetDeviceInterfaceDetail: %d.\n", GetLastError());
|
|
||||||
goto done;
|
goto done;
|
||||||
}
|
|
||||||
|
|
||||||
/* copy device path */
|
/* copy device path */
|
||||||
nLength = _tcslen(pInterfaceDetailData->DevicePath) + 1;
|
nLength = _tcslen(pInterfaceDetailData->DevicePath) + 1;
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include "tasks_internal.h"
|
#include "tasks_internal.h"
|
||||||
#include "../file_path_special.h"
|
#include "../file_path_special.h"
|
||||||
#include "../verbosity.h"
|
|
||||||
#include "../msg_hash.h"
|
#include "../msg_hash.h"
|
||||||
|
|
||||||
#define CALLBACK_ERROR_SIZE 4200
|
#define CALLBACK_ERROR_SIZE 4200
|
||||||
@ -72,10 +71,6 @@ static int file_decompressed_subdir(const char *name,
|
|||||||
cdata, cmode, csize, size, crc32, userdata))
|
cdata, cmode, csize, size, crc32, userdata))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
#if 0
|
|
||||||
RARCH_LOG("[deflate subdir] Path: %s, CRC32: 0x%x\n", name, crc32);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
@ -114,9 +109,6 @@ static int file_decompressed(const char *name, const char *valid_exts,
|
|||||||
cdata, cmode, csize, size, crc32, userdata))
|
cdata, cmode, csize, size, crc32, userdata))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
#if 0
|
|
||||||
RARCH_LOG("[deflate] Path: %s, CRC32: 0x%x\n", name, crc32);
|
|
||||||
#endif
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
@ -280,12 +272,7 @@ void *task_push_decompress(
|
|||||||
tmp[0] = '\0';
|
tmp[0] = '\0';
|
||||||
|
|
||||||
if (string_is_empty(target_dir) || string_is_empty(source_file))
|
if (string_is_empty(target_dir) || string_is_empty(source_file))
|
||||||
{
|
|
||||||
RARCH_WARN(
|
|
||||||
"[decompress] Empty or null source file or"
|
|
||||||
" target directory arguments.\n");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
ext = path_get_extension(source_file);
|
ext = path_get_extension(source_file);
|
||||||
|
|
||||||
@ -300,26 +287,13 @@ void *task_push_decompress(
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
|
||||||
RARCH_WARN(
|
|
||||||
"[decompress] File '%s' does not exist"
|
|
||||||
" or is not a compressed file.\n",
|
|
||||||
source_file);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
if (!valid_ext || !valid_ext[0])
|
if (!valid_ext || !valid_ext[0])
|
||||||
valid_ext = NULL;
|
valid_ext = NULL;
|
||||||
|
|
||||||
if (task_check_decompress(source_file))
|
if (task_check_decompress(source_file))
|
||||||
{
|
|
||||||
RARCH_LOG(
|
|
||||||
"[decompress] File '%s' already being decompressed.\n",
|
|
||||||
source_file);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
RARCH_LOG("[decompress] File '%s.\n", source_file);
|
|
||||||
|
|
||||||
s = (decompress_state_t*)calloc(1, sizeof(*s));
|
s = (decompress_state_t*)calloc(1, sizeof(*s));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user