mirror of
https://github.com/holub/mame
synced 2025-05-30 17:41:47 +03:00
Fixed foreground color offsets in Tryout, game colors should now be 100% accurate. [Angelo Salese]
This commit is contained in:
parent
b69b61e2d8
commit
90368f3ba4
@ -7,7 +7,6 @@
|
||||
|
||||
TODO:
|
||||
- Fix the scroll properly
|
||||
- Some colors problems
|
||||
- Fix sprite position in cocktail mode
|
||||
|
||||
****************************************************************/
|
||||
|
@ -42,14 +42,14 @@ PALETTE_INIT( tryout )
|
||||
|
||||
static TILE_GET_INFO( get_fg_tile_info )
|
||||
{
|
||||
int code, attr;
|
||||
int code, attr, color;
|
||||
|
||||
code = videoram[tile_index];
|
||||
attr = videoram[tile_index + 0x400];
|
||||
|
||||
code |= ((attr & 0x03) << 8);
|
||||
color = ((attr & 0x4)>>2)+6;
|
||||
|
||||
SET_TILE_INFO(0, code, 6, 0);
|
||||
SET_TILE_INFO(0, code, color, 0);
|
||||
}
|
||||
|
||||
static TILE_GET_INFO( get_bg_tile_info )
|
||||
|
Loading…
Reference in New Issue
Block a user