Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit d7f33b0

Browse files
committed
Add 'install RAP button' to Missing key dialog
1 parent ba7c829 commit d7f33b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/java/net/rpcs3/ui/games/GamesScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ fun GameItem(game: Game) {
143143
if (game.hasFlag(GameFlag.Locked)) {
144144
AlertDialogQueue.showDialog(
145145
title = "Missing key",
146-
message = "This game requires key to play"
146+
message = "This game requires key to play",
147+
onConfirm = { installKeyLauncher.launch("*/*") },
148+
onDismiss = {},
149+
confirmText = "Install RAP file"
147150
)
148151

149152
return@click

0 commit comments

Comments
 (0)