unittester: Implement 0x02 "Read Screen Snapshot Rectangle"

This will need some extra testing but it does appear to be at least somewhat functional.
This commit is contained in:
GreaseMonkey
2024-01-07 22:24:32 +13:00
parent 2e020584cf
commit 678874cd42
2 changed files with 93 additions and 5 deletions

View File

@@ -126,9 +126,7 @@ If there is no screen snapshot, then all values will be 0 as per the initial scr
### 0x02: Read Screen Snapshot Rectangle
**TODO: IMPLEMENT ME!**
Returns a rectangular snapshot of the screen snapshot buffer.
Returns a rectangular snapshot of the screen snapshot buffer as an array of 32bpp 8:8:8:8 B:G:R:X pixels.
Input: