mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 02:32:02 -04:00
Scale widescreen cull margin to the display width; keep ratio sites on the 320 basis
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -316,6 +316,8 @@ int gpu_ws_present_native_43(void);
|
||||
/* Per-side X cull-margin (screen/world units) emitted into the game's draw-
|
||||
* cull immediates by the recompiler ([widescreen.cull]); 0 unless stretching. */
|
||||
int psx_ws_x_margin(void);
|
||||
/* The same reveal on the 320-pixel basis (ratio-style sites: angles, cones). */
|
||||
int psx_ws_x_margin_320(void);
|
||||
/* Netplay own-view mods: while on, psx_ws_x_margin() is 0 (the stock cull)
|
||||
* except inside a sandboxed local-view render (render_pass.c sets the scope). */
|
||||
void gpu_ws_set_local_view_only(int on);
|
||||
|
||||
Reference in New Issue
Block a user