diff options
author | 2013-03-19 07:22:20 +0000 | |
---|---|---|
committer | 2013-03-19 07:22:20 +0000 | |
commit | 0e1f5ad25b25df7c2ec707ec45c544288eb3c683 (patch) | |
tree | eeef04fdf999692be30c25457fb9b329e1dbfdde /src/mess/machine/nes_unif.c | |
parent | 86614c802b9d611d83520fdb43388ae51d31f553 (diff) |
Cleanups and version bumpmame0148u2
Diffstat (limited to 'src/mess/machine/nes_unif.c')
-rw-r--r-- | src/mess/machine/nes_unif.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mess/machine/nes_unif.c b/src/mess/machine/nes_unif.c index 08d963ba7fc..cf801d6ac85 100644 --- a/src/mess/machine/nes_unif.c +++ b/src/mess/machine/nes_unif.c @@ -160,14 +160,14 @@ const unif *nes_unif_lookup( const char *board ) void unif_mapr_setup( const char *board, int *pcb_id, int *battery, int *prgram, int *vram_chunks ) { - const unif *unif_board = nes_unif_lookup(board); + const unif *unif_board = nes_unif_lookup(board); if (unif_board == NULL) fatalerror("Unknown UNIF board %s.\n", board); - + *pcb_id = unif_board->board_idx; - *battery = unif_board->nvwram; // we should implement battery banks based on the size of this... - *prgram = unif_board->wram; // we should implement WRAM banks based on the size of this... - + *battery = unif_board->nvwram; // we should implement battery banks based on the size of this... + *prgram = unif_board->wram; // we should implement WRAM banks based on the size of this... + if (unif_board->chrram <= CHRRAM_8) *vram_chunks = 1; else if (unif_board->chrram == CHRRAM_16) |