mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Changed the scraped file display name from upper case to original case.
This commit is contained in:
parent
d8820c672f
commit
101bdf4bfc
|
@ -32,8 +32,8 @@ GuiGameScraper::GuiGameScraper(
|
||||||
|
|
||||||
// Row 0 is a spacer.
|
// Row 0 is a spacer.
|
||||||
|
|
||||||
mGameName = std::make_shared<TextComponent>(mWindow, Utils::String::toUpper(
|
mGameName = std::make_shared<TextComponent>(mWindow,
|
||||||
Utils::FileSystem::getFileName(mSearchParams.game->getPath())),
|
Utils::FileSystem::getFileName(mSearchParams.game->getPath()),
|
||||||
Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER);
|
Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER);
|
||||||
mGrid.setEntry(mGameName, Vector2i(0, 1), false, true);
|
mGrid.setEntry(mGameName, Vector2i(0, 1), false, true);
|
||||||
|
|
||||||
|
|
|
@ -132,8 +132,7 @@ void GuiScraperMulti::doNextSearch()
|
||||||
// Update subtitle.
|
// Update subtitle.
|
||||||
ss.str(""); // Clear.
|
ss.str(""); // Clear.
|
||||||
ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " <<
|
ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " <<
|
||||||
Utils::String::toUpper(Utils::FileSystem::getFileName(
|
Utils::FileSystem::getFileName(mSearchQueue.front().game->getPath());
|
||||||
mSearchQueue.front().game->getPath()));
|
|
||||||
mSubtitle->setText(ss.str());
|
mSubtitle->setText(ss.str());
|
||||||
|
|
||||||
mSearchComp->search(mSearchQueue.front());
|
mSearchComp->search(mSearchQueue.front());
|
||||||
|
|
Loading…
Reference in a new issue