Commit Graph

9 Commits

Author SHA1 Message Date
Miodrag Milanovic
73bad0ebd0 Since there is no clear way to determine if mouse should be shown or not, I am putting a new flag (no whatsnew) 2012-08-19 09:54:35 +00:00
Miodrag Milanovic
c75c14d4d3 All driver inits are now member of state classes.
Added DECLARE_DRIVER_INIT macro to define it H file, and
DRIVER_INIT_MEMBER for member declaration in C files 
Updated all drivers accordingly (no whatsnew)
2012-08-10 08:33:51 +00:00
Miodrag Milanovic
5c1ae623d5 Added GAME_IMPERFECT_KEYBOARD flag and changed ui.c to use that instead of displaying message for each driver with keyboard (no whatsnew) 2012-08-06 07:51:28 +00:00
Miodrag Milanovic
a5c81ad9a3 Changed macros that are MESS related, no need to recompile MAME since they are not used (nw) 2012-08-05 07:10:11 +00:00
Miodrag Milanovic
ab27740da1 Updated GAME and GAMEL with class name per machine used, for future DRIVER_INIT change (no whatsnew) 2012-08-04 19:12:26 +00:00
Aaron Giles
aa9bc95573 Sega 16-bit cleanup, part 1 (still more coming):
* Converted FD1089/FD1094 into proper devices, derived
   from m68000. They now handle their own decryption and
   memory management, so we can remove all the calls for
   initialization/reset/etc. The key now lives as a 'key'
   subdevice under the CPU, and the FD1089/1094 are now
   specified just like any other CPU.
* Removed the horrible s16fd and s24fd files. Good riddance.
* Created a helper class for managing fd1094 decryption
   caches.
* Converted the memory mapper into a new modern device
   and updated the segas16b, segaorun, and segas18 drivers
   to use it. Fixed ROM memory mapping so that the source
   ROMs can be loaded contiguously, removing a bunch of
   hacks.
* Untangled the joined segas1x_state and split the states
   for each system into their own classes. Cleaned up some
   implementations.
* Added support for member functions to be called as
   DRIVER_INIT functions. To do this, #define 
   MODERN_DRIVER_INIT prior to #including "emu.h" and you
   will be required to specify a class and member function
   for your driver init.
* Fully modernized the segas16b and segas18 drivers.


New working games added
-----------------------
GP Rider (Japan) [ShouTime, Charles MacDonald, Aaron Giles]
Last Survivor [ShouTime, Charles MacDonald, Aaron Giles, 9ofzeven, TrevEB,
  Dr. Spankenstein, ghoolster, Surgeville, Tormod, Tjaberg, Waremonger]


(Note: A couple games are still busted, but most are working. Will 
follow up with more updates.)
2012-08-04 05:19:46 +00:00
Aaron Giles
7f5529c2cd Templatized the palette generators and made naming consistent.
Moved video/generic flip screen management into the base
driver_device class and updated all callers.
2012-04-09 17:30:29 +00:00
Angelo Salese
35e09dd41c Clean-ups and version bump 2012-04-08 14:12:02 +00:00
Aaron Giles
3e575ad6b9 Move driver list/enumerator to new file drivenum.c/.h.
Move game_driver definition and constants to new header gamedrv.h.
2012-04-06 19:59:27 +00:00