~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/video/ppu2c0x.h

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
typedef struct _ppu2c0x_interface ppu2c0x_interface;
88
88
struct _ppu2c0x_interface
89
89
{
90
 
        const char *    vrom_region;                    /* region id of gfx vrom (or REGION_INVALID if none) */
91
90
        int                             gfx_layout_number;              /* gfx layout number used by each chip */
92
91
        int                             color_base;                             /* color base to use per ppu */
93
92
        int                             mirroring;                              /* mirroring options (PPU_MIRROR_* flag) */
94
93
        ppu2c0x_nmi_cb  nmi_handler;                    /* NMI handler */
95
 
        int                             vram_enabled;                   /* PPU uses vram together with vrom */
96
94
};
97
95
 
98
96
 
109
107
/* routines */
110
108
void ppu2c0x_init_palette(running_machine *machine, int first_entry ) ATTR_NONNULL(1);
111
109
 
112
 
void ppu2c0x_set_videorom_bank( const device_config *device, int start_page, int num_pages, int bank, int bank_size ) ATTR_NONNULL(1);
113
 
void ppu2c0x_set_videoram_bank( const device_config *device, int start_page, int num_pages, int bank, int bank_size ) ATTR_NONNULL(1);
114
110
void ppu2c0x_spriteram_dma(const address_space *space, const device_config *device, const UINT8 page ) ATTR_NONNULL(1);
115
111
void ppu2c0x_render( const device_config *device, bitmap_t *bitmap, int flipx, int flipy, int sx, int sy ) ATTR_NONNULL(1);
116
112
int ppu2c0x_get_pixel( const device_config *device, int x, int y ) ATTR_NONNULL(1);
117
113
int ppu2c0x_get_colorbase( const device_config *device ) ATTR_NONNULL(1);
118
114
int ppu2c0x_get_current_scanline( const device_config *device ) ATTR_NONNULL(1);
119
 
void ppu2c0x_set_mirroring( const device_config *device, int mirroring ) ATTR_NONNULL(1);
120
115
void ppu2c0x_set_scanline_callback( const device_config *device, ppu2c0x_scanline_cb cb ) ATTR_NONNULL(1);
121
116
void ppu2c0x_set_hblank_callback( const device_config *device, ppu2c0x_scanline_cb cb ) ATTR_NONNULL(1);
122
117
void ppu2c0x_set_vidaccess_callback( const device_config *device, ppu2c0x_vidaccess_cb cb ) ATTR_NONNULL(1);