Previous 15994 Revisions Next

r14774 Tuesday 20th March, 2012 at 02:20:40 UTC by R. Belmont
Correct several no-boot regressions from Judge's #14738 (nw)
[src/mess/drivers]apexc.c gba.c gp2x.c ng_aes.c

src/mess/drivers/ng_aes.c
r14773r14774
992992   UINT8* Z80 = space->machine().region("audiocpu")->base();
993993   UINT8* PCM = space->machine().region("ymsnd")->base();
994994   UINT8* FIX = space->machine().region("fixed")->base();
995   UINT16* SPR = (UINT16*)space->machine().region("sprites");
995   UINT16* SPR = (UINT16*)(*space->machine().region("sprites"));
996996
997997   switch(state->m_neocd_ctrl.area_sel)
998998   {
r14773r14774
10191019   UINT8* Z80 = space->machine().region("audiocpu")->base();
10201020   UINT8* PCM = space->machine().region("ymsnd")->base();
10211021   UINT8* FIX = space->machine().region("fixed")->base();
1022   UINT16* SPR = (UINT16*)space->machine().region("sprites");
1022   UINT16* SPR = (UINT16*)(*space->machine().region("sprites"));
10231023
10241024   switch(state->m_neocd_ctrl.area_sel)
10251025   {
src/mess/drivers/gp2x.c
r14773r14774
202202
203203READ32_MEMBER( gp2x_state::nand_r )
204204{
205   UINT32 *ROM = (UINT32 *)machine().region("maincpu");
205   UINT32 *ROM = (UINT32 *)(*machine().region("maincpu"));
206206   UINT32 ret;
207207
208208   if (offset == 0)
src/mess/drivers/apexc.c
r14773r14774
102102      UINT32 *RAM;
103103      int i;
104104
105      RAM = (UINT32 *)machine().region("maincpu");
105      RAM = (UINT32 *)(*machine().region("maincpu"));
106106
107107      for (i=0; i < /*0x2000*/0x0400; i++)
108108         RAM[i] = BIG_ENDIANIZE_INT32(RAM[i]);
r14773r14774
126126         UINT32 *RAM;
127127         int i;
128128
129         RAM = (UINT32 *) machine().region("maincpu");
129         RAM = (UINT32 *)(*machine().region("maincpu"));
130130
131131         for (i=0; i < /*0x2000*/0x0400; i++)
132132            RAM[i] = BIG_ENDIANIZE_INT32(RAM[i]);
src/mess/drivers/gba.c
r14773r14774
19251925         prev |= data << 8;
19261926         break;
19271927      case 0xff000000:
1928         prev &= 0xffffffff;
1929         prev |= data << 8;
1928         prev &= 0xff00ffff;
1929         prev |= data >> 8;
19301930         break;
19311931      default:
19321932         break;
r14773r14774
19621962{
19631963   running_machine &machine = space->machine();
19641964   gba_state *state = machine.driver_data<gba_state>();
1965   UINT32 *rom = (UINT32 *)space->machine().region("maincpu");
1965   UINT32 *rom = (UINT32 *)(*space->machine().region("maincpu"));
19661966   if (state->m_bios_protected != 0)
19671967   {
19681968      offset = (state->m_bios_last_address + 8) / 4;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team