Update Japanese translation, cdrom cleanups

This commit is contained in:
Brad Parker 2019-07-23 22:35:57 -04:00
parent 2a943ece84
commit a5f5d2b328
2 changed files with 8 additions and 8 deletions

View File

@ -651,7 +651,7 @@ MSG_HASH(
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_CORE_INFORMATION, MENU_ENUM_LABEL_VALUE_CORE_INFORMATION,
"コア情報" "コア情報"
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS, MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS,
@ -9021,9 +9021,9 @@ MSG_HASH(MSG_NO_DISC_INSERTED,
"ドライブにディスクが挿入されていません。") "ドライブにディスクが挿入されていません。")
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_DISC_INFORMATION, MENU_ENUM_LABEL_VALUE_DISC_INFORMATION,
"Disc Information" "ディスク情報"
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_SUBLABEL_DISC_INFORMATION, MENU_ENUM_SUBLABEL_DISC_INFORMATION,
"View information about inserted media discs." "挿入されたディスクの情報を表示します。"
) )

View File

@ -992,10 +992,10 @@ static int cdrom_read_track_info(libretro_vfs_implementation_file *stream, unsig
#ifdef CDROM_DEBUG #ifdef CDROM_DEBUG
printf("[CDROM] Track %d Info: ", track); printf("[CDROM] Track %d Info: ", track);
printf("[CDROM] Copy: %d ", (buf[5] & 0x10) > 0); printf("Copy: %d ", (buf[5] & 0x10) > 0);
printf("[CDROM] Data Mode: %d ", toc->track[track - 1].mode); printf("Data Mode: %d ", toc->track[track - 1].mode);
printf("[CDROM] LBA Start: %d (%d) ", lba, toc->track[track - 1].lba); printf("LBA Start: %d (%d) ", lba, toc->track[track - 1].lba);
printf("[CDROM] Track Size: %d\n", track_size); printf("Track Size: %d\n", track_size);
fflush(stdout); fflush(stdout);
#endif #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) int cdrom_set_read_speed(libretro_vfs_implementation_file *stream, unsigned speed)
{ {
/* MMC Command: SET CD 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[2] = (speed >> 24) & 0xFF;
cmd[3] = (speed >> 16) & 0xFF; cmd[3] = (speed >> 16) & 0xFF;