mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-30 21:36:37 +08:00
Fix camera on O3DS.
This commit is contained in:
parent
80179d059a
commit
0ee9186eae
@ -58,6 +58,7 @@ static void task_capture_cam_thread(void* arg) {
|
|||||||
|
|
||||||
svcWaitSynchronization(data->mutex, U64_MAX);
|
svcWaitSynchronization(data->mutex, U64_MAX);
|
||||||
memcpy(data->buffer, buffer, bufferSize);
|
memcpy(data->buffer, buffer, bufferSize);
|
||||||
|
GSPGPU_FlushDataCache(data->buffer, bufferSize);
|
||||||
svcReleaseMutex(data->mutex);
|
svcReleaseMutex(data->mutex);
|
||||||
|
|
||||||
res = CAMU_SetReceiving(&events[EVENT_RECV], buffer, PORT_CAM1, bufferSize, (s16) transferUnit);
|
res = CAMU_SetReceiving(&events[EVENT_RECV], buffer, PORT_CAM1, bufferSize, (s16) transferUnit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user