| Previous | 15994 Revisions | Next |
| r7358 Monday 15th February, 2010 at 01:44:20 UTC by Firewave |
|---|
| Fixed VS2008 compilation |
| [src/mess/formats] | apridisk.c |
| r7357 | r7358 | |
|---|---|---|
| 176 | 176 | } |
| 177 | 177 | else if (compression == APR_COMPRESSED) |
| 178 | 178 | { |
| 179 | UINT8 buffer | |
| 179 | UINT8 *buffer = (UINT8 *)osd_malloc(data_size * sizeof(UINT8)); | |
| 180 | 180 | UINT16 length; |
| 181 | 181 | UINT8 value; |
| 182 | 182 | |
| r7357 | r7358 | |
| 184 | 184 | |
| 185 | 185 | length = pick_integer_le(buffer, 0, 2); |
| 186 | 186 | value = pick_integer_le(buffer, 2, 1); |
| 187 | ||
| 188 | osd_free(buffer); | |
| 187 | 189 | |
| 188 | 190 | /* not sure if this is possible */ |
| 189 | 191 | if (length != 512) |
| Previous | 15994 Revisions | Next |