From a5f5d2b32807d22a927bec86e870eacf10c1a08b Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Tue, 23 Jul 2019 22:35:57 -0400 Subject: [PATCH] Update Japanese translation, cdrom cleanups --- intl/msg_hash_ja.h | 6 +++--- libretro-common/cdrom/cdrom.c | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/intl/msg_hash_ja.h b/intl/msg_hash_ja.h index 3045a26090..327c7d7a6a 100644 --- a/intl/msg_hash_ja.h +++ b/intl/msg_hash_ja.h @@ -651,7 +651,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CORE_INFORMATION, - "コアの情報" + "コア情報" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS, @@ -9021,9 +9021,9 @@ MSG_HASH(MSG_NO_DISC_INSERTED, "ドライブにディスクが挿入されていません。") MSG_HASH( MENU_ENUM_LABEL_VALUE_DISC_INFORMATION, - "Disc Information" + "ディスク情報" ) MSG_HASH( MENU_ENUM_SUBLABEL_DISC_INFORMATION, - "View information about inserted media discs." + "挿入されたディスクの情報を表示します。" ) diff --git a/libretro-common/cdrom/cdrom.c b/libretro-common/cdrom/cdrom.c index a7d3c6785b..dbf24b8a4d 100644 --- a/libretro-common/cdrom/cdrom.c +++ b/libretro-common/cdrom/cdrom.c @@ -992,10 +992,10 @@ static int cdrom_read_track_info(libretro_vfs_implementation_file *stream, unsig #ifdef CDROM_DEBUG printf("[CDROM] Track %d Info: ", track); - printf("[CDROM] Copy: %d ", (buf[5] & 0x10) > 0); - printf("[CDROM] Data Mode: %d ", toc->track[track - 1].mode); - printf("[CDROM] LBA Start: %d (%d) ", lba, toc->track[track - 1].lba); - printf("[CDROM] Track Size: %d\n", track_size); + printf("Copy: %d ", (buf[5] & 0x10) > 0); + printf("Data Mode: %d ", toc->track[track - 1].mode); + printf("LBA Start: %d (%d) ", lba, toc->track[track - 1].lba); + printf("Track Size: %d\n", track_size); fflush(stdout); #endif @@ -1005,7 +1005,7 @@ static int cdrom_read_track_info(libretro_vfs_implementation_file *stream, unsig int cdrom_set_read_speed(libretro_vfs_implementation_file *stream, unsigned speed) { /* MMC Command: SET CD SPEED */ - unsigned char cmd[] = {0xBB, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; + unsigned char cmd[] = {0xBB, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; cmd[2] = (speed >> 24) & 0xFF; cmd[3] = (speed >> 16) & 0xFF;