mirror of
https://github.com/griches/PS5_Doom3.git
synced 2026-10-27 20:01:11 +01:00
A PS5 homebrew port of RBDOOM-3-BFG (Robert Beckebans), title PPSA99313, running at 3840x2160 on Vulkan through RADV with the BFG Edition's data. - The engine as a submodule at upstream ea29c006, with the console's changes as ps5/patches/rbdoom3bfg.patch: Vulkan from RADV's entry point, title paths, start-up arguments (gamepad on, no log), a restart through the system, a pad opened when it arrives late, and PS5 frame timings (com_ps5Speeds). - SDL2 with the console's video, audio and pad drivers; openal-soft on SDL2. - Shaders compiled ahead of time with ShaderMake and DXC (built from source for an arm64 host); the ISPC kernel compiled on macOS. - A material fix for the flashlight beam's dust, title art, README and licensing notes. Claude-Session: https://claude.ai/code/session_016xMYBaR9GfxtETyVf6er1P
12 lines
391 B
C
12 lines
391 B
C
/*
|
|
* Doom 3 BFG for the PlayStation 5 - <malloc.h>, as a Linux game expects it.
|
|
*
|
|
* The console's C library is FreeBSD's, whose <malloc.h> is an #error: malloc
|
|
* is in <stdlib.h> there, and alloca in <stdlib.h> too. RBDoom3BFG includes
|
|
* <malloc.h> on every system but Windows and macOS (for alloca).
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
#pragma once
|
|
#include <stdlib.h>
|