Previous 15994 Revisions Next

r7358 Monday 15th February, 2010 at 01:44:20 UTC by Firewave
Fixed VS2008 compilation
[src/mess/formats]apridisk.c

src/mess/formats/apridisk.c
r7357r7358
176176         }
177177         else if (compression == APR_COMPRESSED)
178178         {
179            UINT8 buffer[data_size];
179            UINT8 *buffer = (UINT8 *)osd_malloc(data_size * sizeof(UINT8));
180180            UINT16 length;
181181            UINT8 value;
182182 
r7357r7358
184184 
185185            length = pick_integer_le(buffer, 0, 2);
186186            value = pick_integer_le(buffer, 2, 1);
187             
188            osd_free(buffer);
187189 
188190            /* not sure if this is possible */
189191            if (length != 512)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team