chore: Make firmware optional rather than required

This commit makes firmware non-mandatory for the emulator to function. Changes include:
- Converting firmware errors to warnings in loader
- Removing firmware requirement checks in Android
- Removing firmware and title.keys setup screens
- Adding --allow-unsupported flag for Android vcpkg
- Updating vcpkg baseline
- Enforce software keyboard in Android

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron 2025-04-30 15:25:57 +10:00 committed by Mike Lothian
parent 6d023e89b8
commit 88d153ae69
3 changed files with 9 additions and 17 deletions

View File

@ -133,7 +133,9 @@ endif()
if (YUZU_USE_BUNDLED_VCPKG)
if (ANDROID)
set(ENV{ANDROID_NDK_HOME} "${ANDROID_NDK}")
set(ENV{ANDROID_NDK_HOME} ${ANDROID_NDK})
set(VCPKG_ADDITIONAL_FLAGS "--allow-unsupported")
set(VCPKG_INSTALL_OPTIONS "--allow-unsupported")
list(APPEND VCPKG_MANIFEST_FEATURES "android")
if (CMAKE_ANDROID_ARCH_ABI STREQUAL "arm64-v8a")

View File

@ -150,22 +150,13 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean {
if (event.action == KeyEvent.ACTION_DOWN) {
if (keyCode == KeyEvent.KEYCODE_ENTER) {
// Special case, we do not support multiline input, dismiss the keyboard.
val overlayView: View =
this.findViewById(R.id.surface_input_overlay)
val im =
overlayView.context.getSystemService(INPUT_METHOD_SERVICE) as InputMethodManager
im.hideSoftInputFromWindow(overlayView.windowToken, 0)
val textChar = event.unicodeChar
if (textChar == 0) {
// No text, button input.
NativeLibrary.submitInlineKeyboardInput(keyCode)
} else {
val textChar = event.unicodeChar
if (textChar == 0) {
// No text, button input.
NativeLibrary.submitInlineKeyboardInput(keyCode)
} else {
// Text submitted.
NativeLibrary.submitInlineKeyboardText(textChar.toChar().toString())
}
// Text submitted.
NativeLibrary.submitInlineKeyboardText(textChar.toChar().toString())
}
}
return super.onKeyDown(keyCode, event)

View File

@ -332,7 +332,6 @@ class SetupFragment : Fragment() {
}
}
}
private lateinit var gamesDirCallback: SetupCallback
val getGamesDirectory =