mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
Merge branch 'develop'
This commit is contained in:
commit
d9b5bc587b
@ -15,7 +15,11 @@
|
|||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
/* VIM ref for tabbing:
|
||||||
|
*
|
||||||
|
* set tabstop=8 | set softtabstop=8 | set shiftwidth=8 | set expandtab
|
||||||
|
*
|
||||||
|
*/
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -97,6 +101,7 @@ int MBRAutoChoose_FAT(const std::vector<partTable::partentry_t> &parts,imageDisk
|
|||||||
use_ver_min = dos.version.minor = 0;
|
use_ver_min = dos.version.minor = 0;
|
||||||
dos_ver_menu(false);
|
dos_ver_menu(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (use_ver_maj >= 7) /* MS-DOS 7.0 or higher */
|
if (use_ver_maj >= 7) /* MS-DOS 7.0 or higher */
|
||||||
return (int)i;
|
return (int)i;
|
||||||
else
|
else
|
||||||
@ -220,12 +225,6 @@ public:
|
|||||||
bool modified = false;
|
bool modified = false;
|
||||||
bool loadedSector = false;
|
bool loadedSector = false;
|
||||||
fatDrive *myDrive;
|
fatDrive *myDrive;
|
||||||
|
|
||||||
#if 0/*unused*/
|
|
||||||
private:
|
|
||||||
enum { NONE,READ,WRITE } last_action;
|
|
||||||
uint16_t info;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void time_t_to_DOS_DateTime(uint16_t &t,uint16_t &d,time_t unix_time) {
|
void time_t_to_DOS_DateTime(uint16_t &t,uint16_t &d,time_t unix_time) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user