Cleanup port defintions
commit04f32ca48a50a03a011c0c2d4223ce2a32267642
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Wed, 1 May 2013 14:18:56 +0000 (1 17:18 +0300)
committerIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Wed, 1 May 2013 14:18:56 +0000 (1 17:18 +0300)
tree7cc630244ee768f9e502eb189f7153c50d318865
parent92fe2c0c92a1475471af51997bcde45cdd63415a
Cleanup port defintions

- Replace explicit display methods with data-driven stuff.
- Deduplicate the default system port types.
- Remove generic_port_* because those aren't used in more than one place.

Serialization/Deserialization can't be made data-driven due to performance
constraints (those things are still autogenerated).
include/library/controller-data.hpp
include/library/portfn.hpp [deleted file]
src/core/rom.cpp
src/emulation/bsnes-legacy/core.cpp
src/emulation/gambatte/core.cpp
src/emulation/make-ports.lua
src/emulation/sky/sky.cpp
src/emulation/test/test.cpp
src/library/controller-data.cpp