aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.h
diff options
context:
space:
mode:
authorAndrew2016-12-22 17:28:39 -0800
committerAndrew2016-12-22 17:35:37 -0800
commitf40e999393f4316943760459ace0e7994c2c76b9 (patch)
tree72c20c12ab0ab044d9c7c36510c82e67d416aaec /frontend/plugin_lib.h
parent17b93a2844f026f8f0d779e9bae698631c746f8a (diff)
downloadpcsx_rearmed-f40e999393f4316943760459ace0e7994c2c76b9.tar.gz
pcsx_rearmed-f40e999393f4316943760459ace0e7994c2c76b9.tar.bz2
pcsx_rearmed-f40e999393f4316943760459ace0e7994c2c76b9.zip
Do some light multitap cleanup
After seeing the regressions from multitap I took a quick look at the code, and there's quite a bit of cleanup needed. This fixes the initial really obvious stuff, a useless copy and a duplicate in_keystate that can cause compilation issues, along with bringing styling closer to the pcsx standard so it's a bit more readable. The multitap changeset also seems to have been done with an editor that mangled line endings, I'll address that in a followup commit.
Diffstat (limited to 'frontend/plugin_lib.h')
-rw-r--r--frontend/plugin_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index ad27fc2..83b2774 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -23,7 +23,7 @@ extern int multitap1;
extern int multitap2;
extern int in_analog_left[8][2];
extern int in_analog_right[8][2];
-unsigned short in_keystate[8];
+extern unsigned short in_keystate[8];
extern int in_adev[2], in_adev_axis[2][2];
extern int in_adev_is_nublike[2];