Skip to content

Commit a5427b4

Browse files
author
Sergio Martin
committed
Adding video buffer fix
1 parent 63b2f07 commit a5427b4

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

Assets/dll/dosbox.wbx.zst

-6.26 MB
Binary file not shown.

ExternalProjects/SDL2/SDL

Submodule SDL updated 93 files

src/BizHawk.Emulation.Cores/Computers/DOS/DOSBox.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,12 @@ public DOSBox(CoreLoadParameters<object, SyncSettings> lp)
151151
_libDOSBox.PushCDData(curDiscIndex, CDDataStruct.End, CDDataStruct.Last);
152152

153153
// Passing track data to the core
154-
for (var trackIdx = 0; trackIdx < CDDataStruct.Last; trackIdx++) _libDOSBox.PushTrackData(curDiscIndex, trackIdx, CDDataStruct.Tracks[trackIdx]);
155-
}
154+
for (var trackIdx = 0; trackIdx < CDDataStruct.Last; trackIdx++)
155+
{
156+
// Console.WriteLine($"[CD] Adding Track {trackIdx}. Start: {CDDataStruct.Tracks[trackIdx].Start}, End: {CDDataStruct.Tracks[trackIdx].End}, End: {CDDataStruct.Tracks[trackIdx].Offset}");
157+
_libDOSBox.PushTrackData(curDiscIndex, trackIdx, CDDataStruct.Tracks[trackIdx]);
158+
}
159+
}
156160
////// CD Loading Logic End
157161

158162
// Getting base config file

src/BizHawk.Emulation.Cores/Computers/DOS/LibDOSBox.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public abstract class LibDOSBox : LibWaterboxCore
1010

1111
public const int VGA_MAX_WIDTH = 640;
1212
public const int VGA_MAX_HEIGHT = 480;
13-
public const int SVGA_MAX_WIDTH = 1024;
14-
public const int SVGA_MAX_HEIGHT = 768;
13+
public const int SVGA_MAX_WIDTH = 2560;
14+
public const int SVGA_MAX_HEIGHT = 2048;
1515

1616
// Default FPS: 70.086592427616921
1717
public const int DEFAULT_FRAMERATE_NUMERATOR_DOS = 3146888;

waterbox/dsda/core

waterbox/melon/melonDS

Submodule melonDS updated 79 files

0 commit comments

Comments
 (0)