Files
..
No GS front end (ps2x::native::setGsFrontEndAbsent): a port whose native renderer draws and presents every frame can have the runtime construct no GS at all. Set before the runtime exists (a port's static initialiser), it makes PS2Runtime hold no GS object (m_gs is now a std::unique_ptr, made in the constructor unless absent; hasGs(), and gs() / gsForPresentation() without one is a reported fault), PS2Memory allocate no GS memory (getGSVRAM() null), syncCoreSubsystems bind nothing of the GS (no init, no GS thread, no local-to-host reader, no presented-frames provider; a GIF packet reaching the arbiter dropped and counted), initialize make no GS native raster backend and no GL context of its own, and the present loop upload no GS frame. What a game still asks of the display comes from runtime/native/native_display.h, native state on the PC's clock, not a register model: the EE scheduler's vblanks give the field (a guest read of CSR gets FIELD and FIFO empty, any other privileged register 0; guest writes counted and dropped), latchGuestFrame counts the frames the game ends (the FPS counter's), sceGsResetGraph / SetGsCrt / the display environments set the mode (interlace, field or frame, PAL; sceGsSetDefDispEnv reads it), GsPutIMR keeps a mask for GsGetIMR. The libgraph HLE reaches no GS then: no clear packet, drawing or display environment applied, no image transfer (store images read zeros), no GIF packet from sceGsResetGraph; VU1 / VU0 interpreter runs, the native GIF chains, pollGsInterrupt, ps2GsFifoEmpty, the state dump and the debug panel's GS tab check for the GS. PS2X_GS_TOUCH(name) counts by call site what reaches the GS front end, GS memory or the GS registers ("gs:"), the native display ("display:") and the libgraph calls ("call:"); forEachGsTouch lists them for a port's log. TMB (US), default mode: no GS object, no GS memory, no GS thread, no raster backend; nothing reached the GS in boot movies, menus, options and memory card screens, story mode, 1P Junkyard with its pause menu, quit and a second match, CITY, 4P and the attract demo; pictures as before. Without the switch (every other port, TMB's diagnostic modes) nothing changes but the counters
2026-11-01 11:29:07 +01:00