Android: Fix build
Former-commit-id: 719e9ea62eafb45c238f551591567005f603190d
This commit is contained in:
parent
56c3c5ce3b
commit
6db7c565b7
|
@ -25,8 +25,8 @@ cargo {
|
|||
prebuiltToolchains = true
|
||||
verbose = true
|
||||
profile = 'release'
|
||||
module = "../../bindings/rustboyadvance-jni"
|
||||
targetDirectory = '../../target'
|
||||
module = "../../../bindings/rustboyadvance-jni"
|
||||
targetDirectory = '../../../target'
|
||||
libname = "rustboyadvance_jni"
|
||||
targets = ['x86', 'arm64']
|
||||
apiLevel = 21
|
||||
|
|
|
@ -363,7 +363,6 @@ public class EmulatorActivity extends AppCompatActivity implements View.OnClickL
|
|||
findViewById(R.id.bDpadDown).setOnTouchListener(this);
|
||||
findViewById(R.id.bDpadLeft).setOnTouchListener(this);
|
||||
findViewById(R.id.bDpadRight).setOnTouchListener(this);
|
||||
findViewById(R.id.dpad_layout).setOnTouchListener(this);
|
||||
|
||||
turboButton = findViewById(R.id.tbTurbo);
|
||||
turboButton.setOnClickListener(this);
|
||||
|
|
|
@ -49,7 +49,7 @@ public class RomListItemAdapter extends ArrayAdapter<RomMetadataEntry> {
|
|||
if (screenshot != null) {
|
||||
screenshotImageView.setImageBitmap(screenshot);
|
||||
} else {
|
||||
screenshotImageView.setImageBitmap(BitmapFactory.decodeResource(context.getResources(), R.drawable.icon));
|
||||
screenshotImageView.setImageBitmap(BitmapFactory.decodeResource(context.getResources(), R.mipmap.ic_launcher));
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue