From d8226c7b5d1e746ee93b56381eaa5fb96731e169 Mon Sep 17 00:00:00 2001 From: Ender's Games Date: Wed, 22 Aug 2018 14:45:02 -0400 Subject: [PATCH] Fix: "Functions should be declared at file scope" --- core/hw/sh4/interpr/sh4_interpreter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/hw/sh4/interpr/sh4_interpreter.cpp b/core/hw/sh4/interpr/sh4_interpreter.cpp index 033c8ad43..91c100159 100644 --- a/core/hw/sh4/interpr/sh4_interpreter.cpp +++ b/core/hw/sh4/interpr/sh4_interpreter.cpp @@ -193,6 +193,7 @@ int rtc_schid; //14336 Cycles const int AICA_TICK=145124; +extern void aica_periodical(u32 cycl); int AicaUpdate(int tag, int c, int j) { @@ -201,8 +202,6 @@ int AicaUpdate(int tag, int c, int j) //static int aica_sample_cycles=0; //aica_sample_cycles+=14336*AICA_SAMPLE_GCM; - - extern void aica_periodical(u32 cycl); //if (aica_sample_cycles>=AICA_SAMPLE_CYCLES) {