UI: Cleanup some reference warnings.

This commit is contained in:
Unknown W. Brackets 2022-01-29 22:36:08 -08:00
parent 078c61cfc9
commit 43819fcd16
3 changed files with 5 additions and 2 deletions

View File

@ -187,6 +187,10 @@ void GameScreen::CreateViews() {
case IdentifiedFileType::PSP_ISO_NP:
case IdentifiedFileType::PSP_ISO:
fileTypeSupportCRC = true;
break;
default:
break;
}
}

View File

@ -1680,7 +1680,7 @@ UI::EventReturn GameSettingsScreen::OnSysInfo(UI::EventParams &e) {
UI::EventReturn GameSettingsScreen::OnChangeSearchFilter(UI::EventParams &e) {
#if PPSSPP_PLATFORM(WINDOWS) || defined(USING_QT_UI) || defined(__ANDROID__)
auto se = GetI18NCategory("Search");
System_InputBoxGetString(se->T("Search term"), searchFilter_, [this](bool result, const std::string &value) {
System_InputBoxGetString(se->T("Search term"), searchFilter_, [](bool result, const std::string &value) {
if (result) {
NativeMessageReceived("gameSettings_search", StripSpaces(value).c_str());
}

View File

@ -311,7 +311,6 @@ bool TestParsers() {
bool TestVFPUSinCos() {
float sine, cosine;
InitVFPUSinCos();
EXPECT_FALSE(vfpu_sincos == nullptr);
vfpu_sincos(0.0f, sine, cosine);
EXPECT_EQ_FLOAT(sine, 0.0f);
EXPECT_EQ_FLOAT(cosine, 1.0f);