summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2020-10-06 20:30:38 +0200
committertwinaphex2020-10-06 20:30:38 +0200
commitc1aaaebfefb37f67df780df51d91254bbf2f3ecb (patch)
tree632c7e004f45913e5013833d13c89ad891774de5
parent860c2fb9e7ac2e43a434d11b7808de61d6f2a9a2 (diff)
downloadsnes9x2002-c1aaaebfefb37f67df780df51d91254bbf2f3ecb.tar.gz
snes9x2002-c1aaaebfefb37f67df780df51d91254bbf2f3ecb.tar.bz2
snes9x2002-c1aaaebfefb37f67df780df51d91254bbf2f3ecb.zip
Cleanups
-rw-r--r--jni/Android.mk4
-rw-r--r--libretro/libretro.c10
2 files changed, 0 insertions, 14 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index bb8d209..c3fb7f2 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -8,10 +8,6 @@ ARM_ASM := 0
DEFINES :=
COMMON_DEFINES :=
-ifeq ($(TARGET_ARCH),arm)
- ARM_ASM := 1
-endif
-
include $(ROOT_DIR)/Makefile.common
COREFLAGS := $(DEFINES) $(COMMON_DEFINES) $(INCLUDES)
diff --git a/libretro/libretro.c b/libretro/libretro.c
index fa2c4ba..c6e6bf0 100644
--- a/libretro/libretro.c
+++ b/libretro/libretro.c
@@ -318,7 +318,6 @@ static void snes_init (void)
{
MemoryDeinit();
S9xDeinitAPU();
- fprintf(stderr, "[libsnes]: Failed to init Memory or APU.\n");
exit(1);
}
@@ -343,10 +342,7 @@ static void snes_init (void)
GFX.Delta = 1048576; //(GFX.SubScreen - GFX.Screen) >> 1;
if (GFX.Delta != ((GFX.SubScreen - GFX.Screen) >> 1))
- {
- printf("BAD DELTA! (is %u, should be %u)\n", ((GFX.SubScreen - GFX.Screen) >> 1), GFX.Delta);
exit(1);
- }
/* controller port 1 */
//S9xSetController(0, CTL_JOYPAD, 0, 0, 0, 0);
@@ -591,20 +587,14 @@ bool retro_load_game(const struct retro_game_info *game)
check_variables();
if (!environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt))
- {
- fprintf(stderr, "[libretro]: RGB565 is not supported.\n");
return false;
- }
/* Hack. S9x cannot do stuff from RAM. <_< */
memstream_set_buffer((uint8_t*)game->data, game->size);
loaded = LoadROM("");
if (!loaded)
- {
- fprintf(stderr, "[libretro]: Rom loading failed...\n");
return false;
- }
//S9xGraphicsInit();
S9xReset();