blob: a9034cc1e49b1113f9f33e2082561945dfda1ed5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef GLOBAL_INC__H__
#define GLOBAL_INC__H__
/* *************************************
* Includes
* *************************************/
#include <psx.h>
#include <stdio.h>
#include <psxsio.h>
#include <stdlib.h>
#include <string.h>
#include <types.h>
#include <fixmath.h>
#include "Serial.h"
/* *************************************
* Defines
* *************************************/
#ifndef SERIAL_INTERFACE
#define Serial_printf printf
#endif // SERIAL_INTERFACE
#define REFRESH_FREQUENCY 50 //50 Hz PAL / 60 Hz NTSC
#define DEBUG_PRINT_VAR(var) Serial_printf(#var " = %d\n", var);
#if (PSXSDK_VERSION != 0x0599)
#error "Wrong PSXSDK version! Please use version 0.5.99."
#endif
#endif // GLOBAL_INC__H__
|