mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
Android: Fix possible crash when disconnecting controller
This commit is contained in:
parent
c4891af00e
commit
430dbb32a7
|
@ -144,7 +144,7 @@ public class EmulationSurfaceView extends SurfaceView {
|
||||||
Log.d("EmulationSurfaceView",
|
Log.d("EmulationSurfaceView",
|
||||||
String.format("Skipping device %s sources %d",
|
String.format("Skipping device %s sources %d",
|
||||||
(device != null) ? device.toString() : "",
|
(device != null) ? device.toString() : "",
|
||||||
(device != null) ? 0 : device.getSources()));
|
(device != null) ? device.getSources() : 0));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue