mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 21:27:12 +00:00
use printf here instead
This commit is contained in:
parent
7fbc9097f6
commit
fec9c0c42b
@ -1204,12 +1204,12 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
frontend_android_get_version(&major, &minor, &rel);
|
||||
|
||||
RARCH_LOG("Android OS version (major : %d, minor : %d, rel : %d)\n",
|
||||
printf("Android OS version (major : %d, minor : %d, rel : %d)\n",
|
||||
major, minor, rel);
|
||||
|
||||
CALL_OBJ_METHOD(env, obj, android_app->activity->clazz,
|
||||
android_app->getIntent);
|
||||
RARCH_LOG("Checking arguments passed from intent ...\n");
|
||||
printf("Checking arguments passed from intent ...\n");
|
||||
|
||||
/* Config file. */
|
||||
CALL_OBJ_METHOD_PARAM(env, jstr, obj, android_app->getStringExtra,
|
||||
@ -1224,7 +1224,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
strlcpy(config_path, argv, sizeof(config_path));
|
||||
(*env)->ReleaseStringUTFChars(env, jstr, argv);
|
||||
|
||||
RARCH_LOG("[ENV]: config file: [%s]\n", config_path);
|
||||
printf("[ENV]: config file: [%s]\n", config_path);
|
||||
if (args && *config_path)
|
||||
args->config_path = config_path;
|
||||
}
|
||||
@ -1241,7 +1241,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
sizeof(android_app->current_ime));
|
||||
(*env)->ReleaseStringUTFChars(env, jstr, argv);
|
||||
|
||||
RARCH_LOG("[ENV]: current IME: [%s]\n", android_app->current_ime);
|
||||
printf("[ENV]: current IME: [%s]\n", android_app->current_ime);
|
||||
}
|
||||
|
||||
CALL_OBJ_METHOD_PARAM(env, jstr, obj, android_app->getStringExtra,
|
||||
@ -1254,7 +1254,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
(*env)->ReleaseStringUTFChars(env, jstr, argv);
|
||||
|
||||
RARCH_LOG("[ENV]: used: [%s].\n", used ? "true" : "false");
|
||||
printf("[ENV]: used: [%s].\n", used ? "true" : "false");
|
||||
}
|
||||
|
||||
/* LIBRETRO. */
|
||||
@ -1271,7 +1271,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
strlcpy(core_path, argv, sizeof(core_path));
|
||||
(*env)->ReleaseStringUTFChars(env, jstr, argv);
|
||||
|
||||
RARCH_LOG("[ENV]: libretro path: [%s]\n", core_path);
|
||||
printf("[ENV]: libretro path: [%s]\n", core_path);
|
||||
if (args && *core_path)
|
||||
args->libretro_path = core_path;
|
||||
}
|
||||
@ -1293,7 +1293,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(path))
|
||||
{
|
||||
RARCH_LOG("[ENV]: auto-start game [%s]\n", path);
|
||||
printf("[ENV]: auto-start game [%s]\n", path);
|
||||
if (args && *path)
|
||||
args->content_path = path;
|
||||
}
|
||||
@ -1315,7 +1315,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(internal_storage_path))
|
||||
{
|
||||
RARCH_LOG("[ENV]: internal storage location: [%s]\n", internal_storage_path);
|
||||
printf("[ENV]: internal storage location: [%s]\n", internal_storage_path);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1335,7 +1335,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(screenshot_dir))
|
||||
{
|
||||
RARCH_LOG("[ENV]: picture folder location [%s]\n", screenshot_dir);
|
||||
printf("[ENV]: picture folder location [%s]\n", screenshot_dir);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1355,7 +1355,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(downloads_dir))
|
||||
{
|
||||
RARCH_LOG("[ENV]: download folder location [%s]\n", downloads_dir);
|
||||
printf("[ENV]: download folder location [%s]\n", downloads_dir);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1374,7 +1374,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(apk_dir))
|
||||
{
|
||||
RARCH_LOG("[ENV]: APK location [%s]\n", apk_dir);
|
||||
printf("[ENV]: APK location [%s]\n", apk_dir);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1393,7 +1393,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(internal_storage_app_path))
|
||||
{
|
||||
RARCH_LOG("[ENV]: external files location [%s]\n", internal_storage_app_path);
|
||||
printf("[ENV]: external files location [%s]\n", internal_storage_app_path);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1429,7 +1429,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
|
||||
if (!string_is_empty(app_dir))
|
||||
{
|
||||
RARCH_LOG("[ENV]: application location: [%s]\n", app_dir);
|
||||
printf("[ENV]: application location: [%s]\n", app_dir);
|
||||
if (args && *app_dir)
|
||||
{
|
||||
char buf[PATH_MAX_LENGTH] = {0};
|
||||
@ -1474,7 +1474,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
path_mkdir(g_defaults.dir.core_assets);
|
||||
}
|
||||
|
||||
RARCH_LOG("[ENV]: default download folder: [%s]", g_defaults.dir.core_assets);
|
||||
printf("[ENV]: default download folder: [%s]", g_defaults.dir.core_assets);
|
||||
|
||||
if(*screenshot_dir && test_permissions(screenshot_dir))
|
||||
{
|
||||
@ -1488,7 +1488,7 @@ static void frontend_linux_get_env(int *argc,
|
||||
path_mkdir(g_defaults.dir.screenshot);
|
||||
}
|
||||
|
||||
RARCH_LOG("[ENV]: default screenshot folder: [%s]", g_defaults.dir.screenshot);
|
||||
printf("[ENV]: default screenshot folder: [%s]", g_defaults.dir.screenshot);
|
||||
|
||||
switch (perms)
|
||||
{
|
||||
@ -1598,9 +1598,9 @@ static void frontend_linux_get_env(int *argc,
|
||||
fill_pathname_join(buf, internal_storage_app_path, "system", sizeof(buf));
|
||||
path_mkdir(buf);
|
||||
|
||||
RARCH_LOG("[ENV]: default savefile folder: [%s]", g_defaults.dir.sram);
|
||||
RARCH_LOG("[ENV]: default savestate folder: [%s]", g_defaults.dir.savestate);
|
||||
RARCH_LOG("[ENV]: default system folder: [%s]", g_defaults.dir.system);
|
||||
printf("[ENV]: default savefile folder: [%s]", g_defaults.dir.sram);
|
||||
printf("[ENV]: default savestate folder: [%s]", g_defaults.dir.savestate);
|
||||
printf("[ENV]: default system folder: [%s]", g_defaults.dir.system);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user