#ifndef _GLOBAL_H_
#define _GLOBAL_H_
//LUDO:
# define MSX_RENDER_NORMAL     0
# define MSX_RENDER_FIT_WIDTH  1
# define MSX_RENDER_FIT        2
# define MSX_RENDER_MAX        3
# define MSX_LAST_RENDER       3

# define MAX_PATH   256
# define MSX_MAX_SAVE_STATE 5

# define MSX_WIDTH     320
# define MSX_HEIGHT    240

# include <psptypes.h>
  typedef struct MSX_t {
 
    char msx_save_used[MSX_MAX_SAVE_STATE];
    ScePspDateTime msx_save_date[MSX_MAX_SAVE_STATE];
    char msx_save_name[MAX_PATH];
    char msx_home_dir[MAX_PATH];
    int  msx_speed_limiter;
    int  msx_version;
    int  msx_ram_pages;
    int  msx_ntsc;
    int  psp_screenshot_id;
    int  psp_cpu_clock;
    int  psp_reverse_analog;
    int  msx_snd_enable;
    int  msx_render_mode;
    int  msx_render_smooth;
    int  psp_skip_max_frame;
    int  psp_skip_cur_frame;
    int  msx_use_2413;
    int  msx_use_8950;

  } MSX_t;

  extern MSX_t MSX;


//END_LUDO:

# endif
