Skip to content

Commit

Permalink
cps1: cleanup, normalization, and a touch of de-barry-zation
Browse files Browse the repository at this point in the history
d_ambush: fix mariobl pld
  • Loading branch information
barbudreadmon committed Feb 6, 2025
1 parent 5614b55 commit a6ffb68
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 175 deletions.
6 changes: 3 additions & 3 deletions src/burn/drv/capcom/cps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ static INT32 CpsLoadSf2ceeablTiles(UINT8* Tile, INT32 nNum)
return 0;
}

static INT32 CpsLoadSf2ceuab7Tiles(UINT8* Tile, INT32 nNum)
static INT32 CpsLoadSf2ceblpTiles(UINT8* Tile, INT32 nNum)
{
UINT8 *Rom = (UINT8*)BurnMalloc(0x200000 * sizeof(UINT8));
UINT8 *Temp = (UINT8*)BurnMalloc(0x200000 * sizeof(UINT8));
Expand Down Expand Up @@ -1340,7 +1340,7 @@ INT32 CpsLoadTilesSf2ceeabl(INT32 nStart)
return 0;
}

INT32 CpsLoadTilesSf2ceuab7(INT32 nStart)
INT32 CpsLoadTilesSf2ceblp(INT32 nStart)
{
CpsLoadOneBootlegType2SmallSingle(CpsGfx + 0x000000, nStart + 0, 0, 0);
CpsLoadOneBootlegType2SmallSingle(CpsGfx + 0x000004, nStart + 1, 0, 0);
Expand All @@ -1360,7 +1360,7 @@ INT32 CpsLoadTilesSf2ceuab7(INT32 nStart)
CpsLoadOneBootlegType2SmallSingle(CpsGfx + 0x200004, nStart + 15, 0, 3);

// The last eight roms are a complete pain, handled by this custom function
CpsLoadSf2ceuab7Tiles(CpsGfx + 0x400000, nStart + 16);
CpsLoadSf2ceblpTiles(CpsGfx + 0x400000, nStart + 16);

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/burn/drv/capcom/cps.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ INT32 CpsLoadTilesSf2mdt(INT32 nStart);
INT32 CpsLoadTilesSf2mdta(INT32 nStart);
INT32 CpsLoadTilesSf2m8(INT32 nStart);
INT32 CpsLoadTilesSf2ceeabl(INT32 nStart);
INT32 CpsLoadTilesSf2ceuab7(INT32 nStart);
INT32 CpsLoadTilesSf2ceblp(INT32 nStart);
INT32 CpsLoadTilesSf2ebbl3(INT32 nStart);
INT32 CpsLoadTilesSf2amf10(INT32 nStart);
INT32 CpsLoadTilesFcrash(INT32 nStart);
Expand Down
Loading

0 comments on commit a6ffb68

Please sign in to comment.