mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-10 12:16:03 -05:00
camera: event argument correction (#399)
* Event arg correction from surface to surface buffer * Correct offset check
This commit is contained in:
@@ -73,8 +73,8 @@ struct CAMEventData
|
||||
{
|
||||
struct
|
||||
{
|
||||
//! The surface that finished decoding
|
||||
CAMSurface* surface;
|
||||
//! Pointer to the buffer of the decoded image
|
||||
void* surfaceBuffer;
|
||||
//! Handle of instance
|
||||
CAMHandle handle;
|
||||
//! TRUE if decode failed
|
||||
@@ -92,7 +92,7 @@ struct CAMEventData
|
||||
};
|
||||
};
|
||||
WUT_CHECK_OFFSET(CAMEventData, 0x00, eventType);
|
||||
WUT_CHECK_OFFSET(CAMEventData, 0x04, decode.surface);
|
||||
WUT_CHECK_OFFSET(CAMEventData, 0x04, decode.surfaceBuffer);
|
||||
WUT_CHECK_OFFSET(CAMEventData, 0x08, decode.handle);
|
||||
WUT_CHECK_OFFSET(CAMEventData, 0x0c, decode.failed);
|
||||
WUT_CHECK_OFFSET(CAMEventData, 0x04, detach.connected);
|
||||
|
||||
Reference in New Issue
Block a user