mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Integrate sceUsbGps and sceUsbCam with Android
This commit is contained in:
1 parent
4938ab786e
commit
892bc8617d
20 files changed
+1572
-91
No files matched your search
@@ -80,6 +80,8 @@
|
||||
#include "Core/System.h"
|
||||
#include "Core/HLE/__sceAudio.h"
|
||||
#include "Core/HLE/sceCtrl.h"
|
||||
#include "Core/HLE/sceUsbCam.h"
|
||||
#include "Core/HLE/sceUsbGps.h"
|
||||
#include "Core/Util/GameManager.h"
|
||||
#include "Core/Util/AudioFormat.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
@@ -1118,3 +1120,11 @@ void NativeShutdown() {
|
||||
void NativePermissionStatus(SystemPermission permission, PermissionStatus status) {
|
||||
// TODO: Send this through the screen system? Nicer than listening to string messages
|
||||
}
|
||||
|
||||
void PushNewGpsData(float latitude, float longitude, float altitude, float speed, float bearing, long long time) {
|
||||
GPS::setGpsData(latitude, longitude, altitude, speed, bearing, time);
|
||||
}
|
||||
|
||||
void PushCameraImage(long long length, unsigned char* image) {
|
||||
Camera::pushCameraImage(length, image);
|
||||
}
|
||||
Reference in new issue
Block a user