mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Add CAM::SetReceiving, fix ports
This commit is contained in:
parent
ecf0416b64
commit
442ae3a210
2 changed files with 44 additions and 10 deletions
|
@ -15,11 +15,13 @@ class CAMService {
|
|||
using Event = std::optional<Handle>;
|
||||
|
||||
struct Port {
|
||||
Event bufferErrorInterruptevent = std::nullopt;
|
||||
Event bufferErrorInterruptEvent = std::nullopt;
|
||||
Event receiveEvent = std::nullopt;
|
||||
u16 transferBytes;
|
||||
|
||||
void reset() {
|
||||
bufferErrorInterruptevent = std::nullopt;
|
||||
bufferErrorInterruptEvent = std::nullopt;
|
||||
receiveEvent = std::nullopt;
|
||||
transferBytes = 256;
|
||||
}
|
||||
};
|
||||
|
@ -41,6 +43,7 @@ class CAMService {
|
|||
void getTransferBytes(u32 messagePointer);
|
||||
void setContrast(u32 messagePointer);
|
||||
void setFrameRate(u32 messagePointer);
|
||||
void setReceiving(u32 messagePointer);
|
||||
void setSize(u32 messagePointer);
|
||||
void setTransferLines(u32 messagePointer);
|
||||
void setTrimming(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue