ws_backdrop_scene_test: stub the GPU packet key gpu.c now calls

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthew Stanley
2026-10-07 17:57:49 -07:00
parent e080f9fab7
commit e9fbe0d1b3
+4
View File
@@ -11,6 +11,10 @@ uint64_t s_frame_count;
uint32_t g_psx_ram_mask = 0x1FFFFFu;
uint32_t psx_read_word(uint32_t address) { (void)address; return 0; }
int mdec_recently_active(uint32_t frames) { (void)frames; return 0; }
/* memory.c: the packet key gpu.c uses (no GPU-DMA aperture in this test). */
uint32_t psx_gpu_packet_key(uint32_t address) {
return psx_gpu_packet_key_for(address, 0);
}
static void sprite(int x, int y, int w, int h) { /* GP0 0x65 */
gp0_cmd_buf[0] = 0x65808080u;