mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 18:08:20 -07:00
sonarlint work
This commit is contained in:
@@ -552,9 +552,8 @@ pc_cas_print_state(UNUSED(const pc_cassette_t *cas))
|
||||
static void
|
||||
pc_cas_clock_pcm(pc_cassette_t *cas, unsigned long cnt)
|
||||
{
|
||||
unsigned long i;
|
||||
unsigned long n;
|
||||
int v = 0;
|
||||
uint64_t n;
|
||||
int v = 0;
|
||||
|
||||
n = cas->srate * cnt + cas->clk_pcm;
|
||||
|
||||
@@ -567,11 +566,11 @@ pc_cas_clock_pcm(pc_cassette_t *cas, unsigned long cnt)
|
||||
}
|
||||
|
||||
if (cas->save) {
|
||||
for (i = 0; i < n; i++) {
|
||||
for (uint64_t i = 0; i < n; i++) {
|
||||
pc_cas_write_smp(cas, cas->pcm_out_val);
|
||||
}
|
||||
} else {
|
||||
for (i = 0; i < n; i++) {
|
||||
for (uint64_t i = 0; i < n; i++) {
|
||||
v = pc_cas_read_smp(cas);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <86box/io.h>
|
||||
#include <86box/timer.h>
|
||||
#include <86box/device.h>
|
||||
#include <86box/plat.h> // Replace with plat_unused.h when upstreamed
|
||||
#include <86box/plat_unused.h>
|
||||
|
||||
#include <86box/hwm.h>
|
||||
#include <86box/nsc366.h>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <86box/io.h>
|
||||
#include <86box/device.h>
|
||||
#include <86box/intel_ich2_gpio.h>
|
||||
#include <86box/plat.h> // Replace with plat_unused.h when upstreamed
|
||||
#include <86box/plat_unused.h>
|
||||
|
||||
#ifdef ENABLE_INTEL_ICH2_GPIO_LOG
|
||||
int intel_ich2_gpio_do_log = ENABLE_INTEL_ICH2_GPIO_LOG;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <86box/timer.h>
|
||||
#include <86box/io.h>
|
||||
#include <86box/device.h>
|
||||
#include <86box/plat.h> // Replace with plat_unused.h when upstreamed
|
||||
#include <86box/plat_unused.h>
|
||||
|
||||
#include <86box/apm.h>
|
||||
#include <86box/nvr.h>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <86box/pic.h>
|
||||
#include <86box/pit.h>
|
||||
#include <86box/tco.h>
|
||||
#include <86box/plat.h> // Replace with plat_unused.h when upstreamed
|
||||
#include <86box/plat_unused.h>
|
||||
|
||||
#ifdef ENABLE_TCO_LOG
|
||||
int tco_do_log = ENABLE_TCO_LOG;
|
||||
|
||||
Reference in New Issue
Block a user