Fix camera on O3DS.

This commit is contained in:
Steveice10 2017-07-13 23:31:39 -07:00
parent 80179d059a
commit 0ee9186eae

View File

@ -58,6 +58,7 @@ static void task_capture_cam_thread(void* arg) {
svcWaitSynchronization(data->mutex, U64_MAX);
memcpy(data->buffer, buffer, bufferSize);
GSPGPU_FlushDataCache(data->buffer, bufferSize);
svcReleaseMutex(data->mutex);
res = CAMU_SetReceiving(&events[EVENT_RECV], buffer, PORT_CAM1, bufferSize, (s16) transferUnit);