warning-free compilation

This commit is contained in:
tildearrow 2021-12-14 12:33:26 -05:00
parent 9da9ed3cd7
commit bde8a7f79d
16 changed files with 28 additions and 35 deletions

View file

@ -8,7 +8,7 @@
#define FREQ_BASE 8015.85f
void DivPlatformGB::acquire(short* bufL, short* bufR, size_t start, size_t len) {
for (int i=start; i<start+len; i++) {
for (size_t i=start; i<start+len; i++) {
GB_advance_cycles(gb,16);
bufL[i]=gb->apu_output.final_sample.left<<2;
bufR[i]=gb->apu_output.final_sample.right<<2;