Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1550 commits
Select commit Hold shift + click to select a range
6ec90a6
Merge pull request #6195 from maron2000/silence_warning
joncampbell123 Apr 6, 2026
684c396
Fix MSCDEX device name padding for short names
maron2000 Apr 7, 2026
20ec095
Update CHANGELOG
maron2000 Apr 7, 2026
8d8c491
Merge pull request #6197 from maron2000/fix_mscdex
joncampbell123 Apr 7, 2026
f815443
Adlib PCM boost option and code
joncampbell123 Apr 7, 2026
58729ca
TODO
joncampbell123 Apr 8, 2026
d478cf0
Update readme.txt (Windows builds)
maron2000 Apr 9, 2026
fbe1ecc
Merge pull request #6202 from maron2000/fix_fpu
joncampbell123 Apr 9, 2026
a9b4915
Fix TTF mapping was not reflecting the current codepage
maron2000 Apr 9, 2026
43a534b
Update CHANGELOG
maron2000 Apr 9, 2026
97a95ab
Update readme.txt (macOS builds)
maron2000 Apr 9, 2026
56beb18
Merge pull request #6203 from maron2000/fix_ttf
joncampbell123 Apr 9, 2026
f36ac4c
Merge pull request #6204 from maron2000/fix_fpu
joncampbell123 Apr 9, 2026
f812b66
fix VHD and QCow 2 GiB issue
maxpat78 Apr 9, 2026
f95136e
Merge pull request #6205 from maxpat78/master
joncampbell123 Apr 9, 2026
174c26a
Language translation loading will call on TTF output to set character…
joncampbell123 Apr 9, 2026
b67984c
TTF output: Limit window size to 2/3rd of the screen in both dimensions
joncampbell123 Apr 9, 2026
7ad035f
Allow language files to define the text for the Theme menu item in th…
joncampbell123 Apr 9, 2026
cb1d614
As an example, using Google Translate, provide the word for Theme in …
joncampbell123 Apr 9, 2026
ad9c512
Update Turkish translations
bitigchi Apr 9, 2026
4a43ea1
Merge pull request #6206 from bitigchi/l10n-tr
joncampbell123 Apr 10, 2026
378b889
Fixed clip_paste_bios option change was not reflected
maron2000 Apr 10, 2026
c217ca4
Merge pull request #6209 from maron2000/fix_paste
joncampbell123 Apr 10, 2026
32cd215
make about message a function return value, for next step
joncampbell123 Apr 10, 2026
615aea8
Syncing french translation
FredBezies Apr 10, 2026
2f9a077
MSG_Get() and snprintf puts a few things out of order? Split into ind…
joncampbell123 Apr 10, 2026
afa742b
Put help text into message system so it can be translated
joncampbell123 Apr 10, 2026
9998e8c
Update en_US.lng as an example how to translate help text
joncampbell123 Apr 10, 2026
8c985d1
To prove translations are working, here is some Google Translate Spanish
joncampbell123 Apr 10, 2026
af9c32c
Merge pull request #6211 from FredBezies/patch-7
joncampbell123 Apr 10, 2026
fcf9360
Syncing once again french translation
FredBezies Apr 10, 2026
8ff7ede
Make the help about wider. Translations may not neatly fit into the b…
joncampbell123 Apr 10, 2026
f159246
Update Turkish translations
bitigchi Apr 10, 2026
f04142f
Merge pull request #6212 from FredBezies/patch-8
joncampbell123 Apr 10, 2026
2ef230b
Merge pull request #6213 from bitigchi/l10n-tr
joncampbell123 Apr 10, 2026
13f4fa2
FAT driver, FindFirst/FindNext behavior regarding volume label: For r…
joncampbell123 Apr 11, 2026
b880b46
Adjust "About DOSBox-X" dialog box size according to string length
maron2000 Apr 11, 2026
359fe22
Update ja_JP.lng
maron2000 Apr 11, 2026
b02e57c
Merge pull request #6215 from maron2000/fix_dialog
joncampbell123 Apr 11, 2026
dfb2bd8
Merge pull request #6216 from maron2000/fix_lang
joncampbell123 Apr 11, 2026
a8eb182
Update comments regarding volume label search, FCB vs FindFirst, base…
joncampbell123 Apr 13, 2026
b5a0344
Silence -Wdeprecated-literal-operator warnings
maron2000 Apr 13, 2026
315f3c5
Replace deprecated std::bindlst and binary_function
maron2000 Apr 13, 2026
7f27d02
Bump actions/upload-artifact from 7.0.0 to 7.0.1
dependabot[bot] Apr 13, 2026
697323b
Bump softprops/action-gh-release from 2 to 3
dependabot[bot] Apr 13, 2026
c95c449
Fix screenshot color (macOS SDL1)
maron2000 Apr 13, 2026
a1ebfb8
Update CHANGELOG
maron2000 Apr 13, 2026
8432b51
Merge pull request #6217 from maron2000/fix_lang
joncampbell123 Apr 13, 2026
75295db
Merge pull request #6220 from maron2000/fix_screenshot
joncampbell123 Apr 13, 2026
0d9dabc
Merge pull request #6218 from joncampbell123/dependabot/github_action…
joncampbell123 Apr 13, 2026
309576c
Merge pull request #6219 from joncampbell123/dependabot/github_action…
joncampbell123 Apr 13, 2026
9e524e8
Fix savestate restore crash in DOS file slot teardown
catbalony Apr 14, 2026
f43ce61
Merge pull request #6221 from catbalony/codex/dosbox-savestate-restor…
joncampbell123 Apr 14, 2026
49cf338
Fixed mouse cursor display in DOS/V Japanese mode
nanshiki Apr 15, 2026
d23038f
Merge pull request #6223 from nanshiki/dosvmouse
joncampbell123 Apr 16, 2026
f3757c1
Replace Bit8u and Bit16s
maron2000 Apr 16, 2026
5684eea
Merge pull request #6228 from maron2000/fix_mingw
joncampbell123 Apr 17, 2026
97b9843
Some tweaking to french translation files
FredBezies Apr 17, 2026
b1e8327
Merge pull request #6229 from FredBezies/patch-9
joncampbell123 Apr 17, 2026
e9b13ff
INT 13h AH=48h: Fix LBA detection
maron2000 Apr 21, 2026
26511ac
Update CHANGELOG
maron2000 Apr 21, 2026
f73937c
ide.cpp: Enable 48bit LBA
maron2000 Apr 21, 2026
e5b02bc
Merge pull request #6235 from maron2000/fix_int13
joncampbell123 Apr 21, 2026
1dd26a8
Use raw imgSize value instead of imgSizeK for LBA sector calculation
maron2000 Apr 22, 2026
3d3aa5f
Update CHANGELOG
maron2000 Apr 22, 2026
3804e45
D3D11: Fix unintended window size change when switching from fullscre…
maron2000 Apr 22, 2026
b917e96
Merge pull request #6236 from maron2000/fix_int13
joncampbell123 Apr 22, 2026
56d2425
Merge pull request #6237 from maron2000/direct3d11_test
joncampbell123 Apr 22, 2026
bf78ba0
Int 13h: Add option to enable/disable 48-bit LBA support
maron2000 Apr 23, 2026
2041ce2
Merge pull request #6238 from maron2000/fix_int13
joncampbell123 Apr 23, 2026
4455d09
MS-DOS device driver header and attribute defs
joncampbell123 Apr 25, 2026
748d3ca
more
joncampbell123 Apr 25, 2026
14f6169
Bump robinraju/release-downloader from 1.12 to 1.13
dependabot[bot] Apr 27, 2026
8d23f5c
Merge pull request #6242 from joncampbell123/dependabot/github_action…
joncampbell123 Apr 27, 2026
942298e
Fix VHD file geometry detection
maron2000 Apr 28, 2026
5124935
Merge pull request #6243 from maron2000/fix_int13
joncampbell123 Apr 28, 2026
0cbc92b
Set default value of `int 13 enable 48-bit LBA` option to `true`
maron2000 Apr 29, 2026
e5ced05
Fix crash when printing out multipages to printer (Windows)
maron2000 Apr 29, 2026
1703db6
Merge pull request #6245 from maron2000/fix_int13
joncampbell123 Apr 29, 2026
a9ff2cd
Merge pull request #6246 from maron2000/fix_printer
joncampbell123 Apr 29, 2026
ccfc09b
Update zh_TW.lng
1abcd Apr 29, 2026
510e93b
Merge pull request #6247 from 1abcd/cht-translation
joncampbell123 Apr 29, 2026
b6d758e
printer.cpp: Fix occasional missing page break after line wrap
maron2000 Apr 30, 2026
7e2fdca
Update CHANGELOG
maron2000 Apr 30, 2026
280f4b1
Merge pull request #6249 from maron2000/fix_printer
joncampbell123 Apr 30, 2026
2681581
more MS-DOS device driver structures
joncampbell123 May 1, 2026
1600f96
TTF mode: Limit dimensions only on windowed mode
maron2000 May 2, 2026
5817c64
more
joncampbell123 May 2, 2026
5458c29
prepare for release
joncampbell123 May 2, 2026
6466697
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 2, 2026
d35990b
Merge pull request #6253 from maron2000/fix_printer
joncampbell123 May 2, 2026
68cabee
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 2, 2026
3573ba5
begin next version
joncampbell123 May 2, 2026
15066ee
MS-DOS device driver load, config -device
joncampbell123 May 3, 2026
2296ff4
config -device put the -devparm string into memory and pass it to the…
joncampbell123 May 3, 2026
2b9b625
CHANGELOG
joncampbell123 May 3, 2026
bef66ac
config -device add a few more useful lines of debug output. Add code …
joncampbell123 May 3, 2026
d83c8bb
External (device chain) scan bug fix: Fix bug where scan skipped over…
joncampbell123 May 3, 2026
aca7eb7
Add debug info
joncampbell123 May 3, 2026
bcc204b
Make EXT_DEVICE_BIT a proper member of DeviceInfoFlags
joncampbell123 May 4, 2026
13f55d2
more
joncampbell123 May 4, 2026
9f6df5c
Use input/output status IOCTLs properly
joncampbell123 May 4, 2026
a750c88
Make a global constant for how much memory is allocated for a DCP
joncampbell123 May 4, 2026
7fe3cb0
DOS external device driver interface: Read/write data 1 byte at a tim…
joncampbell123 May 4, 2026
9abde8f
Replace command numbers with constant for clarity
joncampbell123 May 4, 2026
f892379
CallDeviceFunction is too generic a function name considering that th…
joncampbell123 May 4, 2026
d5b5322
todo
joncampbell123 May 4, 2026
ec0d351
config -device, free environment block
joncampbell123 May 4, 2026
98e0698
use dos.dcp for device request struct and PSP segment for init string
joncampbell123 May 4, 2026
d8c1060
Bugfix: When spawning a new DOS program, make sure the PSP segment an…
joncampbell123 May 4, 2026
75c1e98
CHANGELOG
joncampbell123 May 4, 2026
2134c6c
more
joncampbell123 May 4, 2026
75d9559
HX-DOS: Download Windows build from the latest non-osfree tag available
maron2000 May 4, 2026
4f260af
config -device load: Relocate PSP segment to end of memory before loa…
joncampbell123 May 4, 2026
1baa72e
config -device print segment load range, not just base, for debugging…
joncampbell123 May 4, 2026
dbeb680
reminder
joncampbell123 May 4, 2026
065897d
Merge pull request #6257 from maron2000/fix_hxdos
joncampbell123 May 4, 2026
64fc2bd
If calling the external device driver directly to issue read/write in…
joncampbell123 May 5, 2026
803673e
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 5, 2026
2166f9f
DOS_Execute(), when called with DOSEXEC_DEVICEDRIVER, accept upper 16…
joncampbell123 May 5, 2026
e291011
Do not reserve the top 16 bytes of conventional memory for the UMB ch…
joncampbell123 May 5, 2026
e4b0604
Disentangle IHSEG setup from DOS_SetupMemory
joncampbell123 May 5, 2026
f005158
Disentable dummy device MCB from SetupMemory
joncampbell123 May 5, 2026
3ad89de
Remove now useless mcb_sizes variable from SetupMemory, it is no long…
joncampbell123 May 5, 2026
128feca
Instead of setting DOS_MEM_START right away from minimum MCB, add cod…
joncampbell123 May 6, 2026
cf2c016
more memory setup cleanup
joncampbell123 May 6, 2026
d397193
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 6, 2026
b26ca71
Revise OSFREE according to latest changes
joncampbell123 May 6, 2026
2189785
CD Audio: Advance to next track when current track ends
maron2000 May 6, 2026
5277b83
CD Audio: Fix track min.mark calculation
maron2000 May 6, 2026
834a707
Comment out unused var
joncampbell123 May 6, 2026
e6f12e5
Replace delicate default handle setup in shell.cpp with a more specif…
joncampbell123 May 6, 2026
065f372
Merge pull request #6261 from maron2000/fix_cd
joncampbell123 May 6, 2026
384d364
retab
joncampbell123 May 6, 2026
e2ad526
Split shell init from shell message init
joncampbell123 May 6, 2026
c9044e4
retab
joncampbell123 May 6, 2026
330d90a
Callback allocation tracking from shell
joncampbell123 May 6, 2026
9026738
update/clarify comments
joncampbell123 May 6, 2026
b814574
Begin CONFIG shell (for loading device drivers before the main shell)…
joncampbell123 May 6, 2026
c80d50e
PSP: Fix close file by name to just use DOS_CloseFile() instead of di…
joncampbell123 May 6, 2026
e7e0651
Set a neverclose flag for the 3 default handles (CON/AUX/PRN) in the …
joncampbell123 May 6, 2026
bca590c
DOS_CloseFile(): If refcount drops to zero and neverclose is set, do …
joncampbell123 May 6, 2026
19a9a4f
DOS_Shell shutdown: Close all process file handles on shutdown, inclu…
joncampbell123 May 6, 2026
308c0f8
revise comment
joncampbell123 May 6, 2026
7d394a5
update comment
joncampbell123 May 6, 2026
f9dcef3
CONFIG shell: Add support for whether to run CONFIG shell, and debug …
joncampbell123 May 6, 2026
7bafa43
Not every DOS_Shell is the primary shell associated with shell_psp. T…
joncampbell123 May 6, 2026
f1ddcb7
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 6, 2026
f359913
OSFREE does not need config shell
joncampbell123 May 6, 2026
157635d
more
joncampbell123 May 6, 2026
fea2bcf
more
joncampbell123 May 6, 2026
83a0e6e
Move CONFIG -device into a function, add method to Program object to …
joncampbell123 May 6, 2026
b482174
Add [devices] section, begin adding code to parse it like CONFIG.SYS
joncampbell123 May 6, 2026
87e975b
update ref
joncampbell123 May 6, 2026
9ed2769
CONFIG.SYS device parsing
joncampbell123 May 6, 2026
8fd7bd3
CONFIG shell: Implement RUN
joncampbell123 May 6, 2026
28fe7dc
CONFIG shell PAUSE directive
joncampbell123 May 6, 2026
0a40329
revise
joncampbell123 May 6, 2026
5f476a3
In a hacky way to keep stability, process DEVICE= lines. To allow
joncampbell123 May 6, 2026
565a218
Move minimum / free MCB and dummy to post-CONFIG shell startup
joncampbell123 May 6, 2026
d7a1c70
Device driver loading: If CONFIG shell, and the allocation ends up at…
joncampbell123 May 6, 2026
8ef8ccb
Device driver loading: Make sure the first MCB block in the chain, if…
joncampbell123 May 6, 2026
66dd4d1
Add dosbox.conf config option if for perhaps debugging reasons you wa…
joncampbell123 May 6, 2026
17d9faa
more
joncampbell123 May 6, 2026
32bdf01
Add a debugger command DOSDEVS to list device drivers
joncampbell123 May 6, 2026
918271c
Add code to MS-DOS boothax to track guest MS-DOS device driver chain.…
joncampbell123 May 7, 2026
29bb2f8
Add support to debugger DOS DEVS command for guest MS-DOS boothax
joncampbell123 May 7, 2026
ebdc937
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 7, 2026
d2a0612
CONFIG shell: Obey the echo flag and print the command on screen if set
joncampbell123 May 7, 2026
f271902
CONFIG Shell: Break into command using DEBUGBOX if debugbreak flag set
joncampbell123 May 7, 2026
3722f49
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 7, 2026
36586a8
Render complex scaler match 15bpp to 15bpp versions
joncampbell123 May 7, 2026
0be6ab2
Fix geometry detection of qcow2 images
maron2000 May 7, 2026
cf14701
Update CHANGELOG
maron2000 May 7, 2026
97ee0dd
Render scalers: Fix graphical glitches with advanced scalers (like Ad…
joncampbell123 May 7, 2026
3e5b933
Merge pull request #6265 from maron2000/fix_int13
joncampbell123 May 7, 2026
ddb75fa
CHANGELOG
joncampbell123 May 7, 2026
330433e
CHANGELOG
joncampbell123 May 7, 2026
fa3fe04
CHANGELOG
joncampbell123 May 7, 2026
012e7b1
Update ref conf
joncampbell123 May 7, 2026
b5b175e
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 7, 2026
57c64b5
Fix VHD, qcow2 geometry calculation
maron2000 May 8, 2026
70a867a
Update CHANGELOG
maron2000 May 8, 2026
1380a92
Delete unrequired lines
maron2000 May 8, 2026
fcbb44a
Merge pull request #6269 from maron2000/fix_int13
joncampbell123 May 8, 2026
5c9b31e
Try a fix for normal 3x scaler bugs with Direct3D
joncampbell123 May 8, 2026
fe89189
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 8, 2026
0840d50
Fix floppy boot failure due to incorrectly set geometry
maron2000 May 8, 2026
8c6d513
Merge pull request #6271 from maron2000/fix_cd
joncampbell123 May 8, 2026
eb1217b
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 8, 2026
84e6b5e
Fix wrong disassembly after LMSW in debugger
AleWin32 May 9, 2026
77c0cc3
Move welcome screen display to appear before device init
joncampbell123 May 9, 2026
a4c4a72
Config device init: For block devices, take note of the BPB array ret…
joncampbell123 May 9, 2026
de5b096
Merge pull request #6273 from AleWin32/fix/debug-getaddress-post-lmsw
joncampbell123 May 9, 2026
fcd0cae
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 9, 2026
3ac2ecc
Fix bug that cleared the screen on second shell startup. Please do not
joncampbell123 May 10, 2026
42b70b9
Block device: fill in drive number so that at least RAMDRIVE.SYS can …
joncampbell123 May 10, 2026
ebdf81c
Allow devices section to control what the next drive letter will be w…
joncampbell123 May 10, 2026
76e2c15
Oh, ha ha. In typical Microsoft fashion they forgot to mention that t…
joncampbell123 May 10, 2026
03ee969
Reduce copypasta and range check
joncampbell123 May 10, 2026
8efbeac
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 10, 2026
54cb379
Add FIXME checks for cases that are uncommon, but possible, in MS-DOS…
joncampbell123 May 10, 2026
c1b388a
block device read and parse BPB
joncampbell123 May 10, 2026
9ea6d87
constify
joncampbell123 May 10, 2026
a40e13c
Add very basic support for very basic MS-DOS block device drivers. At…
joncampbell123 May 10, 2026
3d98891
Force FAT driver into absolute sector mode when talking to an MS-DOS …
joncampbell123 May 10, 2026
db9a937
Silence "no geometry" warning for MS-DOS device drivers in FAT driver
joncampbell123 May 10, 2026
f8c5aaa
CHANGELOG
joncampbell123 May 10, 2026
e8b175b
Merge remote-tracking branch 'origin/master' into main-osfree
joncampbell123 May 10, 2026
68e84de
OSFREE fixup
joncampbell123 May 11, 2026
e0c7b04
more
joncampbell123 May 11, 2026
bcb5c1e
non-extended block devices cannot address more than 65536 sectors (32MB)
joncampbell123 May 11, 2026
15f5ae7
fix: V-001 security vulnerability
orbisai0security May 11, 2026
623fd87
fix: V-003 security vulnerability
orbisai0security May 11, 2026
1fb5dfe
fix: V-002 security vulnerability
orbisai0security May 11, 2026
7680b5c
Merge pull request #6277 from orbisai0security/fix-enet-heap-overflow…
joncampbell123 May 11, 2026
f4c42bf
Merge pull request #6278 from orbisai0security/fix-v-003-osascript-sh…
joncampbell123 May 11, 2026
b026ea1
Merge pull request #6279 from orbisai0security/fix-v-002-bios-disk-me…
joncampbell123 May 11, 2026
81ed2d3
Change CDROM interface object to use refcount, for future object shar…
joncampbell123 May 11, 2026
5b1c520
retab
joncampbell123 May 11, 2026
94ca691
Update IDE emulation to use refcount of CD-ROM interface
joncampbell123 May 11, 2026
1356ddc
Update IDE ATAPI emulation to try to eliminate runtime MSCDEX depende…
joncampbell123 May 11, 2026
f36e83d
Fix logging of 'Packed file is corrupt' message detection
maron2000 May 11, 2026
165de16
Update CHANGELOG
maron2000 May 11, 2026
6958d62
Fix upper 32-bit of LBA was always cleared
maron2000 May 11, 2026
6b88bd6
Update CHANGELOG
maron2000 May 11, 2026
af80f30
Change El Torito floppy emulation to addref cdrom drive once instead …
joncampbell123 May 11, 2026
34718cf
set MCB kernel shutdown flag for El Torito boot
joncampbell123 May 11, 2026
7c6cea5
Convert El Torito no emulation boot to CD-ROM reference instead of th…
joncampbell123 May 11, 2026
8078135
Fix addref/release for El Torito floppy boot
joncampbell123 May 11, 2026
cabaa77
I think it is safe now to get rid of MSCDEX on DOS shutdown, IDE and …
joncampbell123 May 11, 2026
8e5d232
Comment out debug messages, fix compiler warning about uninitialized var
joncampbell123 May 11, 2026
ef686f1
CHANGELOG
joncampbell123 May 11, 2026
1a43860
CHANGELOG
joncampbell123 May 11, 2026
b45679e
Merge branch 'master' into fix_cd
joncampbell123 May 11, 2026
8e17642
Merge pull request #6281 from maron2000/fix_cd
joncampbell123 May 11, 2026
f5baaa0
Merge branch 'master' into fix_int13
joncampbell123 May 11, 2026
04abad9
Merge pull request #6282 from maron2000/fix_int13
joncampbell123 May 11, 2026
8176673
CDROM: Move CDROM interface allocation into a separate function that …
joncampbell123 May 12, 2026
cd41f5f
Cleanup cdrom ref
joncampbell123 May 12, 2026
5bcd9ce
retab
joncampbell123 May 12, 2026
a49bff3
SetDevice and other CDROM emulation functions are accepting C strings…
joncampbell123 May 12, 2026
ebc9c7c
UpdateMscdex no longer needs to copy the path string, both are const …
joncampbell123 May 12, 2026
99dad41
Do not use DOS_WriteFile from ISO driver if running in a guest OS
joncampbell123 May 12, 2026
06a0dba
MSCDEX is still required for CD-ROM emulation. While single CD emulat…
joncampbell123 May 12, 2026
5150889
Recent changes broke CD swap through IDE emulation, fix
joncampbell123 May 12, 2026
4461eba
Move subUnit into base class
joncampbell123 May 12, 2026
37dd005
more
joncampbell123 May 12, 2026
20ebfa5
Merge branch 'rebase2026_05_12' into masterUpstream
SergioMartin86 May 12, 2026
dd4bb81
Resolving small diff
SergioMartin86 May 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dos/drive_fat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
#define FAT12 0
#define FAT16 1
#define FAT32 2
#endif

extern bool _driveUsed;
#endif

static uint16_t dpos[256];
static uint32_t dnum[256];
Expand Down
10 changes: 10 additions & 0 deletions src/dosbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ struct __processor_model {
} __cpu_model = {0, 0, 0, {0}};
#endif

#if __APPLE__ && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200
/* FIX_ME: A workaround to avoid build error. Change version to 101300 if error occurs for Sierra (10.12) */
struct __processor_model {
unsigned int __cpu_vendor;
unsigned int __cpu_type;
unsigned int __cpu_subtype;
unsigned int __cpu_features[1];
} __cpu_model = {0, 0, 0, {0}};
#endif

#if C_EMSCRIPTEN
# include <emscripten.h>
#endif
Expand Down
Loading