Skip to content

Commit

Permalink
moved the extern Controls[] definition out of api/m64p_plugin.h into …
Browse files Browse the repository at this point in the history
…plugin/plugin.h, because this is only used within the core
  • Loading branch information
richard42 committed Feb 13, 2010
1 parent b51d78d commit ce1d96c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/api/m64p_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ typedef struct {
CONTROL Controls[4]; */
} CONTROL_INFO;

extern CONTROL Controls[4];

/* common plugin function pointer types */
typedef void (*ptr_RomClosed)(void);
typedef int (*ptr_RomOpen)(void);
Expand Down
2 changes: 2 additions & 0 deletions src/plugin/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ extern m64p_error plugin_connect(m64p_plugin_type, m64p_dynlib_handle plugin_han
extern m64p_error plugin_start(m64p_plugin_type);
extern m64p_error plugin_check(void);

extern CONTROL Controls[4];

/*** Version requirement information ***/
#define MINIMUM_RSP_API_VERSION 0x10000
#define MINIMUM_GFX_API_VERSION 0x10000
Expand Down

0 comments on commit ce1d96c

Please sign in to comment.