aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml60
-rw-r--r--source/dsp1emu.c1
-rw-r--r--source/fxemu.c1
-rw-r--r--source/fxinst.c1
-rw-r--r--source/memmap.c8
-rw-r--r--source/snes9x.h1
-rw-r--r--source/soundux.c1
7 files changed, 61 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..11d2b17
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,60 @@
+.core-defs:
+ variables:
+ JNI_PATH: .
+ CORENAME: snes9x2005
+
+include:
+ - template: Jobs/Code-Quality.gitlab-ci.yml
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/vita-static.yml'
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/linux-x64.yml'
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/windows-x64-mingw.yml'
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/android-jni.yml'
+
+stages:
+ - build-prepare
+ - build-shared
+ - build-static
+ - test
+
+#Desktop
+libretro-build-linux-x64:
+ extends:
+ - .core-defs
+ - .libretro-linux-x64-make-default
+
+libretro-build-windows-x64:
+ extends:
+ - .core-defs
+ - .libretro-windows-x64-mingw-make-default
+
+# Android
+android-armeabi-v7a:
+ extends:
+ - .core-defs
+ - .libretro-android-jni-armeabi-v7a
+
+android-arm64-v8a:
+ extends:
+ - .core-defs
+ - .libretro-android-jni-arm64-v8a
+
+android-x86_64:
+ extends:
+ - .core-defs
+ - .libretro-android-jni-x86_64
+
+android-x86:
+ extends:
+ - .core-defs
+ - .libretro-android-jni-x86
+
+# Static
+#
+libretro-build-vita:
+ extends:
+ - .core-defs
+ - .libretro-vita-static-retroarch-master
diff --git a/source/dsp1emu.c b/source/dsp1emu.c
index e7c3f7d..76df362 100644
--- a/source/dsp1emu.c
+++ b/source/dsp1emu.c
@@ -1,6 +1,5 @@
#include "../copyright"
-#include <stdio.h>
#include <stdarg.h>
#include <math.h>
#include <string.h>
diff --git a/source/fxemu.c b/source/fxemu.c
index 9d62b05..17102c9 100644
--- a/source/fxemu.c
+++ b/source/fxemu.c
@@ -4,7 +4,6 @@
#include "fxinst.h"
#include <stdlib.h>
#include <string.h>
-#include <stdio.h>
#include <retro_inline.h>
diff --git a/source/fxinst.c b/source/fxinst.c
index 7b79cd5..6912bde 100644
--- a/source/fxinst.c
+++ b/source/fxinst.c
@@ -3,7 +3,6 @@
#include "fxemu.h"
#include "fxinst.h"
#include <string.h>
-#include <stdio.h>
#include <retro_inline.h>
diff --git a/source/memmap.c b/source/memmap.c
index 9f409a6..98dd0c3 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -1,5 +1,6 @@
#include "../copyright"
+#include <stdio.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
@@ -1344,13 +1345,6 @@ void InitROM(bool Interleaved)
sprintf(Memory.ROMName, "%s", Safe(Memory.ROMName));
sprintf(Memory.ROMId, "%s", Safe(Memory.ROMId));
sprintf(Memory.CompanyId, "%s", Safe(Memory.CompanyId));
-
-#if 0
- fprintf(stderr,
- "\"%s\" [%s] %s, %s, Type: %s, Mode: %s, TV: %s, S-RAM: %s, ROMId: %s Company: %2.2s\n",
- Memory.ROMName, (Memory.ROMChecksum + Memory.ROMComplementChecksum != 0xffff || Memory.ROMChecksum != Memory.CalculatedChecksum) ? "bad checksum" : "checksum ok", MapType(), Size(), KartContents(), MapMode(), TVStandard(), StaticRAMSize(), Memory.ROMId, Memory.CompanyId);
-#endif
-
Settings.ForceHeader = Settings.ForceHiROM = Settings.ForceLoROM = Settings.ForceInterleaved = Settings.ForceNoHeader = Settings.ForceNotInterleaved = Settings.ForceInterleaved2 = false;
}
diff --git a/source/snes9x.h b/source/snes9x.h
index ad410e1..6dd2e8f 100644
--- a/source/snes9x.h
+++ b/source/snes9x.h
@@ -3,7 +3,6 @@
#ifndef _SNES9X_H_
#define _SNES9X_H_
-#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
diff --git a/source/soundux.c b/source/soundux.c
index ebf6915..42098ed 100644
--- a/source/soundux.c
+++ b/source/soundux.c
@@ -3,7 +3,6 @@
#ifndef USE_BLARGG_APU
#include <stdlib.h>
-#include <stdio.h>
#include <string.h>
#include <errno.h>