1
Programming / Re: DOSBox-x - infinite loop in configure/make
« on: November 07, 2024, 07:51:49 am »As an example. this code compiles fine with DosBox,Code: [Select]FSINFO fsinfo;
Whereas with DosBox-x, the error is,
ULONG drivenumber = drive[0];
if (drivenumber > 26) { // drive letter was lowercase
drivenumber = drive[0] - 'a' + 1;
}
APIRET rc = DosQueryFSInfo(drivenumber, FSIL_VOLSER, &fsinfo, sizeof(FSINFO));
if (rc == NO_ERROR) {
bool cdrom = false;Code: [Select]drive_cache.cpp: In member function 'void DOS_Drive_Cache::SetBaseDir(const char*, DOS_Drive*)':
drive_cache.cpp:159:32: error: cannot convert 'DOS_Drive' to 'ULONG' {aka 'long unsigned int'} in initialization
159 | ULONG drivenumber = drive[0];
| ~~~~~~~^
| |
| DOS_Drive
drive_cache.cpp:161:32: error: no match for 'operator-' (operand types are 'DOS_Drive' and 'char')
161 | drivenumber = drive[0] - 'a' + 1;
| ~~~~~~~~ ^ ~~~
| | |
| | char
| DOS_Drive
Thanks a million for all of these contributions on your side, Dave. It seems DosBox-x is not viable - too bad, but hey, I did try at least
Now back to RetroArch. I'll try to delve deeper into the network part and see if I can go a little further than my first attempt (there are some interesting TLS libraries, I shall try them all).
Mentore