dsda: fix missing sounds

proper aspect ratio
This commit is contained in:
feos 2025-03-01 17:19:47 +03:00
parent f409cc445d
commit 4a7e0c6008
3 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
{
public int[] GetVideoBuffer() => _vidBuff;
public int VirtualWidth => BufferWidth;
public int VirtualWidth => BufferHeight * 4 / 3;
public int VirtualHeight => BufferHeight;

View File

@ -117,6 +117,9 @@ ECL_EXPORT void dsda_frame_advance(struct PackedPlayerInput *player1Inputs, stru
// Running a single tick
headlessRunSingleTick();
// Move positional sounds
headlessUpdateSounds();
// Updating video
if (renderInfo->_RenderVideo == 1)
{