mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 00:28:27 +00:00
parent
052ea42c0b
commit
bae8157697
4
deps/ibxm/ibxm.c
vendored
4
deps/ibxm/ibxm.c
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
#include "ibxm.h"
|
||||
|
||||
const char *IBXM_VERSION = "ibxm/ac mod/xm/s3m replay 20170704 (c)mumart@gmail.com";
|
||||
const char *IBXM_VERSION = "ibxm/ac mod/xm/s3m replay 20170901 (c)mumart@gmail.com";
|
||||
|
||||
static const int FP_SHIFT = 15, FP_ONE = 32768, FP_MASK = 32767;
|
||||
|
||||
@ -92,7 +92,7 @@ static char* data_ascii( struct data *data, int offset, int length, char *dest )
|
||||
if( offset > data->length ) {
|
||||
offset = data->length;
|
||||
}
|
||||
if( offset + length > data->length ) {
|
||||
if( ( unsigned int ) offset + length > ( unsigned int ) data->length ) {
|
||||
length = data->length - offset;
|
||||
}
|
||||
for( idx = 0; idx < length; idx++ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user