#ifndef _PLUGIN_H_
#define _PLUGIN_H_

#include "types.h"
#include "gcplugin.h"

extern gcplugin_jumptable_t jumptable[];

#ifdef RELOAD_SUPPORT
extern gcplugin_jumptable_t jumptable2;
#endif

/** Base offset for read (set by gcbackuplauncher). */
extern unsigned long base_offset;
extern unsigned long base_offset_2nd_disc;

#ifdef RELOAD_SUPPORT
extern unsigned long reloader_enabled;
extern int jmpNr;
#endif


#ifdef DONTTELL
extern unsigned long hooks;
#endif

#ifdef ACTION_REPLAY
extern unsigned long action_replay;
#endif


#ifdef GEKKO_DEBUG
#if defined(MIOS_PLUGIN) || defined(HIGH_PLUGIN) /* Only MIOS and high version has enough memory. */
void printDVDRegs(void);
void hexDump(unsigned long *buffer, unsigned long size);
#endif
#endif

#endif
