From ea3b1e32047fae2e6ba2bc24e71efd214af98a2a Mon Sep 17 00:00:00 2001 From: Matthew Stanley <1379tech@gmail.com> Date: Thu, 22 Oct 2026 14:11:20 -0700 Subject: [PATCH] Document the paired capture pixel and context contract --- runtime/include/mod_plugins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/include/mod_plugins.h b/runtime/include/mod_plugins.h index 9ddd2c3c..c5be3c59 100644 --- a/runtime/include/mod_plugins.h +++ b/runtime/include/mod_plugins.h @@ -655,7 +655,7 @@ int psx_mod_render_pass(struct CPUState* cpu, const PSXModRenderPass* pass, * transaction. Draws two mattes of the same slice, the first into eye 0 of the * stage surface and the second into eye 1, so both planes of a frame cost one * readback instead of two. Never publishes an eye pair or changes presentation. - * Returns native-sized top-to-bottom RGBA8 pixels (alpha remains the PSX mask + * Returns native-sized bottom-to-top RGBA8 pixels (alpha remains the PSX mask * bit, not coverage). Call outside another pass. rgba_bytes must cover * 2*rect->w*rect->h*4; the first matte arrives in the buffer's first half and * the second in its second half. */