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",
|
||||
String.format("Skipping device %s sources %d",
|
||||
(device != null) ? device.toString() : "",
|
||||
(device != null) ? 0 : device.getSources()));
|
||||
(device != null) ? device.getSources() : 0));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue