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

« back to all changes in this revision

Viewing changes to src/mame/video/vrender0.c

  • 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:
21
21
**************/
22
22
 
23
23
static UINT16 InternalPalette[256];
24
 
static UINT32 LastPalUpdate=0xffffffff;
 
24
static UINT32 LastPalUpdate;
25
25
 
26
26
/*
27
27
Pick a rare enough color to disable transparency (that way I save a cmp per loop to check
364
364
 
365
365
#define Packet(i) memory_read_word(space, PacketPtr+2*i)
366
366
 
 
367
void vrender0_init(running_machine *machine)
 
368
{
 
369
        memset(InternalPalette, 0, sizeof(InternalPalette));
 
370
        LastPalUpdate=0xffffffff;
 
371
}
 
372
 
367
373
//Returns TRUE if the operation was a flip (sync or async)
368
374
int vrender0_ProcessPacket(const address_space *space, UINT32 PacketPtr,UINT16 *Dest,UINT8 *TEXTURE)
369
375
{