mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 08:09:51 +00:00
Android: Ensure we forget the shortcut on next run.
Prevents an issue where we would use the shortcut param again when starting the app directly.
This commit is contained in:
parent
ac909d2192
commit
fc8306dde1
@ -2732,6 +2732,7 @@ static int IoAsyncFinish(int id) {
|
||||
|
||||
default:
|
||||
ERROR_LOG_REPORT(SCEIO, "Unknown async op %d", params.op);
|
||||
us = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -538,6 +538,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
const char *stateToLoad = 0;
|
||||
|
||||
bool gotBootFilename = false;
|
||||
boot_filename = "";
|
||||
|
||||
// Parse command line
|
||||
LogTypes::LOG_LEVELS logLevel = LogTypes::LINFO;
|
||||
|
@ -88,6 +88,7 @@ public class PpssppActivity extends NativeActivity {
|
||||
super.setShortcutParam(getIntent().getStringExtra(SHORTCUT_EXTRA_KEY));
|
||||
} else {
|
||||
Log.e(TAG, "Shortcut missing parameter!");
|
||||
super.setShortcutParam("");
|
||||
}
|
||||
}
|
||||
super.onCreate(savedInstanceState);
|
||||
|
Loading…
Reference in New Issue
Block a user