More cleanups, also updated Makefile.local with all "user-settable" parts.

This commit is contained in:
waltje
2017-10-19 21:08:34 -04:00
parent 1d60a99ea3
commit 0af26c1c3b
13 changed files with 102 additions and 90 deletions

View File

@@ -8,7 +8,7 @@
*
* Handling of hard disk image files.
*
* Version: @(#)hdd_image.c 1.0.5 2017/10/16
* Version: @(#)hdd_image.c 1.0.6 2017/10/19
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -50,11 +50,13 @@ static char empty_sector[512];
static char *empty_sector_1mb;
int hdd_image_do_log = 0;
#ifdef ENABLE_HDD_LOG
int hdd_image_do_log = ENABLE_HDD_LOG;
#endif
void hdd_image_log(const char *format, ...)
{
#ifdef ENABLE_HDD_IMAGE_LOG
#ifdef ENABLE_HDD_LOG
if (hdd_image_do_log)
{
va_list ap;