Android: Force first mic to always be port A-2
This commit is contained in:
parent
c922d5b6a6
commit
fa3c3cd94d
|
@ -402,6 +402,12 @@ JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_setupMic(JNIEnv *env,
|
||||||
{
|
{
|
||||||
sipemu = env->NewGlobalRef(sip);
|
sipemu = env->NewGlobalRef(sip);
|
||||||
getmicdata = env->GetMethodID(env->GetObjectClass(sipemu),"getData","()[B");
|
getmicdata = env->GetMethodID(env->GetObjectClass(sipemu),"getData","()[B");
|
||||||
|
|
||||||
|
// Obligatory microphone for controller A-2
|
||||||
|
delete MapleDevices[0][1];
|
||||||
|
mcfg_Create(MDT_Microphone, 0, 1);
|
||||||
|
|
||||||
|
// Allow additional microphones, if desired
|
||||||
for (int i = 0; i < 3; i++)
|
for (int i = 0; i < 3; i++)
|
||||||
{
|
{
|
||||||
if (controller_periphs[i + 1][0] == MDT_Microphone) {
|
if (controller_periphs[i + 1][0] == MDT_Microphone) {
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
<string name="controller_compat">Enable Compatibility Mode</string>
|
<string name="controller_compat">Enable Compatibility Mode</string>
|
||||||
<string name="controller_unavailable">Gamepad IME detected!\nPlease disable native interface</string>
|
<string name="controller_unavailable">Gamepad IME detected!\nPlease disable native interface</string>
|
||||||
<string name="enable_microphone">Enable Microphone(s)</string>
|
<string name="enable_microphone">Enable Microphone(s)</string>
|
||||||
<string name="controller_1_vmu">Includes 2 VMUs (Cannot be modified)</string>
|
<string name="controller_1_vmu">Includes 2 VMUs (or 1 VMU / 1 Mic)</string>
|
||||||
|
|
||||||
<string name="customize_physical_controls">Customize Physical Controls</string>
|
<string name="customize_physical_controls">Customize Physical Controls</string>
|
||||||
<string name="map_keycode_title">Modify Controller</string>
|
<string name="map_keycode_title">Modify Controller</string>
|
||||||
|
|
Loading…
Reference in New Issue