mirror of
https://github.com/InvisibleUp/uvmac.git
synced 2024-11-08 08:05:24 +00:00
efb229d8d5
Also added some include guards on some headers
50 lines
998 B
C
50 lines
998 B
C
/*
|
|
Configuration options used by both platform specific
|
|
and platform independent code.
|
|
|
|
Hopefully, one day, we can remove this file entirely.
|
|
*/
|
|
|
|
#ifndef CNFGGLOB_H
|
|
#define CNFGGLOB_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define MayInline inline __attribute__((always_inline))
|
|
#define SmallGlobals 0
|
|
#define cIncludeUnused 0
|
|
#define UnusedParam(p) (void) p
|
|
|
|
/* capabilities provided by platform specific code */
|
|
|
|
#define SoundEnabled 1
|
|
#define kLn2SoundSampSz 3
|
|
|
|
#define dbglog_HAVE 0
|
|
#define WantAbnormalReports 0
|
|
|
|
#define NumDrives 6
|
|
#define IncludeSonyRawMode 1
|
|
#define IncludeSonyGetName 1
|
|
#define IncludeSonyNew 1
|
|
#define IncludeSonyNameNew 1
|
|
|
|
#define kROM_Size 0x00020000
|
|
|
|
#define IncludePbufs 1
|
|
#define NumPbufs 4
|
|
|
|
#define EnableMouseMotion 0
|
|
|
|
#define IncludeHostTextClipExchange 1
|
|
#define EmLocalTalk 0
|
|
#define AutoLocation 1
|
|
#define AutoTimeZone 1
|
|
|
|
// Variable versions of configuration flags
|
|
extern uint16_t vMacScreenHeight;
|
|
extern uint16_t vMacScreenWidth;
|
|
extern uint16_t vMacScreenDepth;
|
|
|
|
#endif
|