From e9fbe0d1b33d0b440169f0ad149b2cfdc8d4a836 Mon Sep 17 00:00:00 2001 From: Matthew Stanley <1379tech@gmail.com> Date: Wed, 7 Oct 2026 17:57:49 -0700 Subject: [PATCH] ws_backdrop_scene_test: stub the GPU packet key gpu.c now calls Co-Authored-By: Claude Opus 5.5 (1M context) --- runtime/tests/test_ws_backdrop_scene.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/tests/test_ws_backdrop_scene.c b/runtime/tests/test_ws_backdrop_scene.c index c1bdd3a2..35bd46f2 100644 --- a/runtime/tests/test_ws_backdrop_scene.c +++ b/runtime/tests/test_ws_backdrop_scene.c @@ -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;