Fix typecasting

This commit is contained in:
cam900 2023-04-03 06:42:37 +09:00
parent 04f208c535
commit d9c64e7c8c

View file

@ -70,7 +70,7 @@ u8 DivPlatformK053260::read_sample(u32 address) {
}
void DivPlatformK053260::acquire(short** buf, size_t len) {
for (int i=0; i<len; i++) {
for (size_t i=0; i<len; i++) {
k053260.tick(TICK_DIVIDER);
int lout=(k053260.output(0)); // scale to 16 bit
int rout=(k053260.output(1)); // scale to 16 bit