fixed issues found by gregg
This commit is contained in:
@@ -65,9 +65,6 @@
|
||||
#define COLOR_LIGHTBLUE 0x0E
|
||||
#define COLOR_GRAY3 0x0F
|
||||
|
||||
#define CLOCKS_PER_SEC 50 // FIXME: is this correct?
|
||||
#define CLK_TCK 50 // FIXME: is this correct?
|
||||
|
||||
#define TV_NTSC 0
|
||||
#define TV_PAL 1
|
||||
#define TV_OTHER 2
|
||||
|
||||
@@ -99,6 +99,10 @@ unsigned _clocks_per_sec (void);
|
||||
#elif defined(__NES__)
|
||||
# define CLK_TCK 50 /* POSIX */
|
||||
# define CLOCKS_PER_SEC 50 /* ANSI */
|
||||
#elif defined(__PCE__)
|
||||
/* FIXME: we likely need to read it at runtime */
|
||||
# define CLK_TCK 50 /* POSIX */
|
||||
# define CLOCKS_PER_SEC 50 /* ANSI */
|
||||
#elif defined(__GEOS__)
|
||||
# define CLK_TCK 1 /* POSIX */
|
||||
# define CLOCKS_PER_SEC 1 /* ANSI */
|
||||
|
||||
Reference in New Issue
Block a user