diff --git a/core/hw/maple/maple_devs.cpp b/core/hw/maple/maple_devs.cpp index d71fc5921..189ac8f1d 100755 --- a/core/hw/maple/maple_devs.cpp +++ b/core/hw/maple/maple_devs.cpp @@ -4,8 +4,13 @@ #include "maple_devs.h" #include "maple_cfg.h" #include +#ifdef TARGET_PANDORA +#define LOGI printf +#define LOGW printf +#else #include #include +#endif #include "deps/zlib/zlib.h" @@ -541,7 +546,9 @@ struct maple_sega_vmu: maple_base } } config->SetImage(lcd_data_decoded); +#ifndef TARGET_PANDORA push_vmu_screen(lcd_data_decoded); +#endif #if 0 // Update LCD window if (!dev->lcd.visible) @@ -793,11 +800,13 @@ struct maple_microphone: maple_base w8(0x04);//status (just the bit for recording) w8(0x0f);//gain (default) w8(0);//exp ? - +#ifndef TARGET_PANDORA if(get_mic_data(micdata)){ w8(240);//ct (240 samples) wptr(micdata, SIZE_OF_MIC_DATA); - }else{ + }else +#endif + { w8(0); } diff --git a/core/hw/maple/maple_devs.h b/core/hw/maple/maple_devs.h old mode 100644 new mode 100755 index 7d2146548..c61b77586 --- a/core/hw/maple/maple_devs.h +++ b/core/hw/maple/maple_devs.h @@ -30,5 +30,7 @@ struct maple_device maple_device* maple_Create(MapleDeviceType type); #define SIZE_OF_MIC_DATA 480 //ALSO DEFINED IN SipEmulator.java +#ifndef TARGET_PANDORA int get_mic_data(u8* buffer); //implemented in Android.cpp int push_vmu_screen(u8* buffer); //implemented in Android.cpp +#endif