Game boots and show some splash screens.
The intro shows only a black screen and the sound is distorted.
Main menu is also a bit darker than it should be.
When you start a new game, it only shows a black screen and some menu items, if in wireframe mode. After a while it crashes with this error:
Cxbx-Reloaded
---------------------------
Received Fatal Message:
* CreateSoundBuffer Failed!
---------------------------
OK
---------------------------
1.02: Xbe.txt
KrnlDebug_97b7a2e9.txt
Silent Hill 4-hlecache.txt
Previous behavior:
Current behavior:



Tested on Cxbx-Reloaded/Cxbx-Reloaded@97b7a2e9
Checked current state with build 984e2bd5
Game crashes when it start playing the Intro:
Cxbx-Reloaded
---------------------------
Received Exception Code 0xC0000005 @ EIP := 0x0405477C
Press "OK" to terminate emulation.
Press "Cancel" to debug.
---------------------------
OK Abbrechen
---------------------------
Right before this exception, this warning is shown in the log:
[0x28E0] WARN: Out of physical memory!
That message comes from the manager and indicates it has exhausted the main memory.
Running out of physical memory so early in, is a clear sign that our HLE code is leaking memory like crazy
for the sake of completeness, a log from the debug build:
KrnlDebug_dbg.zip
@PatrickvL Indeed, the last attempted allocation comes from D3DTexture_GetSurfaceLevel2 which calls EmuNewD3DSurface and then g_VMManager.AllocateZeroed
Tested on https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/d03151cb5c99de010107e2f2eb14cfca088a6604
1.01: Xbe.txt
KrnlDebugHLE.txt
KrnlDebugLLE.txt
With HLE disc error, with LLE in-game with low fps and the emulation stops after some minutes or a CreateSoundBuffer error

LLE





Ingame now with HLE.