mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-21 17:34:47 -05:00
camera: event argument correction (#399)
* Event arg correction from surface to surface buffer * Correct offset check
This commit is contained in:
parent
34ad45777a
commit
7c93c38731
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user