mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 10:16:39 +00:00
Add gamecard notification.
This commit is contained in:
parent
75ebd97413
commit
14374885f9
3 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"notification": "Gamecard status change detected!",
|
||||
|
||||
"error_frame": {
|
||||
"not_inserted": "No gamecard inserted.",
|
||||
"processing": "Processing gamecard, please wait...",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"no_titles_available": "No user titles available.",
|
||||
"notification": "User titles tab updated (gamecard status change detected)."
|
||||
"notification": "User titles list updated!"
|
||||
}
|
||||
|
|
|
@ -83,6 +83,8 @@ namespace nxdt::views
|
|||
|
||||
/* Subscribe to gamecard status event. */
|
||||
this->gc_status_task_sub = this->gc_status_task->RegisterListener([this](GameCardStatus gc_status) {
|
||||
brls::Application::notify("gamecard_tab/notification"_i18n);
|
||||
|
||||
if (gc_status < GameCardStatus_InsertedAndInfoLoaded) this->SwitchLayerView(true);
|
||||
|
||||
switch(gc_status)
|
||||
|
|
Loading…
Reference in a new issue