diff --git a/src/frontend/qt_sdl/ROMInfoDialog.cpp b/src/frontend/qt_sdl/ROMInfoDialog.cpp index 673aaeef..cab5f7ee 100644 --- a/src/frontend/qt_sdl/ROMInfoDialog.cpp +++ b/src/frontend/qt_sdl/ROMInfoDialog.cpp @@ -34,7 +34,7 @@ QString IntToHex(u64 num) QString QStringBytes(u64 num) { - return (QString::number(num) + " Bytes"); + return (QString::number(num) + " bytes"); } ROMInfoDialog* ROMInfoDialog::currentDlg = nullptr; @@ -51,7 +51,7 @@ ROMInfoDialog::ROMInfoDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ROMI ui->iconImage->setPixmap(QPixmap::fromImage(iconImage)); if (NDSCart::Banner.Version == 0x103) - { + { u32 animatedIconData[32 * 32 * 64] = {0}; Frontend::AnimatedROMIcon(NDSCart::Banner.DSiIcon, NDSCart::Banner.DSiPalette, NDSCart::Banner.DSiSequence, animatedIconData, animatedSequence); @@ -87,7 +87,7 @@ ROMInfoDialog::ROMInfoDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ROMI ui->chineseTitle->setText(QString::fromUtf16(NDSCart::Banner.ChineseTitle)); else ui->chineseTitle->setText("None"); - + if (NDSCart::Banner.Version > 2) ui->koreanTitle->setText(QString::fromUtf16(NDSCart::Banner.KoreanTitle)); else @@ -107,12 +107,12 @@ ROMInfoDialog::ROMInfoDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ROMI ui->arm7EntryAddress->setText(IntToHex(NDSCart::Header.ARM7EntryAddress)); ui->arm7RamAddress->setText(IntToHex(NDSCart::Header.ARM7RAMAddress)); ui->arm7Size->setText(QStringBytes(NDSCart::Header.ARM7Size)); - + ui->fntOffset->setText(IntToHex(NDSCart::Header.FNTOffset)); ui->fntSize->setText(QStringBytes(NDSCart::Header.FNTSize)); ui->fatOffset->setText(IntToHex(NDSCart::Header.FATOffset)); ui->fatSize->setText(QStringBytes(NDSCart::Header.FATSize)); - + } ROMInfoDialog::~ROMInfoDialog() diff --git a/src/frontend/qt_sdl/ROMInfoDialog.ui b/src/frontend/qt_sdl/ROMInfoDialog.ui index 4c5d7d3b..0c65cab3 100644 --- a/src/frontend/qt_sdl/ROMInfoDialog.ui +++ b/src/frontend/qt_sdl/ROMInfoDialog.ui @@ -17,7 +17,7 @@ - ROM Info - melonDS + ROM info - melonDS @@ -40,7 +40,7 @@ - Japanese Title: + Japanese title: @@ -59,7 +59,7 @@ - English Title: + English title: @@ -78,7 +78,7 @@ - French Title: + French title: @@ -97,7 +97,7 @@ - German Title: + German title: @@ -116,7 +116,7 @@ - Italian Title: + Italian title: @@ -135,7 +135,7 @@ - Spanish Title: + Spanish title: @@ -154,7 +154,7 @@ - Chinese Title: + Chinese title: @@ -173,7 +173,7 @@ - Korean Title: + Korean title: @@ -201,7 +201,7 @@ - ARM9 ROM Offset: + ARM9 ROM offset: @@ -220,7 +220,7 @@ - ARM9 Entry Address: + ARM9 entry address: @@ -239,7 +239,7 @@ - ARM9 RAM Address: + ARM9 RAM address: @@ -258,7 +258,7 @@ - ARM9 Size: + ARM9 size: @@ -277,7 +277,7 @@ - ARM7 ROM Offset: + ARM7 ROM offset: @@ -296,7 +296,7 @@ - ARM7 Entry Address: + ARM7 entry address: @@ -315,7 +315,7 @@ - ARM7 RAM Address: + ARM7 RAM address: @@ -334,7 +334,7 @@ - ARM7 Size: + ARM7 size: @@ -368,7 +368,7 @@ - FNT Offset: + FNT offset: @@ -387,7 +387,7 @@ - FNT Size: + FNT size: @@ -406,7 +406,7 @@ - FAT Offset: + FAT offset: @@ -425,7 +425,7 @@ - FAT Size: + FAT size: @@ -448,7 +448,7 @@ - General Info + General info @@ -459,7 +459,7 @@ - Game Title: + Game title: @@ -478,7 +478,7 @@ - Game Code: + Game code: @@ -497,7 +497,7 @@ - Maker Code: + Maker code: @@ -516,7 +516,7 @@ - Card Size: + Card size: @@ -784,7 +784,7 @@ - Save Icon + Save icon