Increase path/file related buffers to system limits instead of hardcoded values (#85)

This commit is contained in:
Dimitris Panokostas 2017-04-19 01:06:14 +02:00
parent 5baf5b0a38
commit 134c7bdc3a
9 changed files with 17 additions and 13 deletions

View file

@ -1,6 +1,14 @@
#pragma once
#define SUPPORT_THREADS
#define MAX_DPATH 256
#define MAX_DPATH 1000
#include <limits.h>
#ifndef MAX_PATH
#define MAX_PATH PATH_MAX
#endif
/* #define DRIVESOUND */
/* #define GFXFILTER */
@ -455,10 +463,6 @@
#define A_DMS
#define A_WRP
#ifndef MAX_PATH
#define MAX_PATH 256
#endif
#define WORDS_BIGENDIAN 1
#define M68K_SPEED_7MHZ_CYCLES 0