Skip to content

Instantly share code, notes, and snippets.

From 4e4dc6e60a8951f2ebe9bc0ab7506d8a669ec72c Mon Sep 17 00:00:00 2001
From: Toad King <toadking@toadking.com>
Date: Sat, 2 Jun 2012 01:01:03 -0400
Subject: [PATCH] fix initialization for the two custom CPU cores
in CPP those were valid declarations, but not in C
---
src/cpuintrf.c | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 44 insertions(+), 2 deletions(-)
From 3b8f02c6df7f5e25ed6c17b4405a8d2bf8bf5cda Mon Sep 17 00:00:00 2001
From: Toad King <toadking@toadking.com>
Date: Sun, 10 Jun 2012 22:24:25 -0400
Subject: [PATCH] Fix byte order detection
---
src/port.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/port.h b/src/port.h
$ gdb -args /d/RetroArch/retroarch -c /d/RetroArch/retroarch.cfg -L /d/libretro
-prboom/retro.dll /d/doom19s/DOOMS/DOOM1.WAD
GNU gdb (GDB) 7.4.50.20120311-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
diff --git a/Makefile.wii b/Makefile.wii
index 89364c3..c6a6c38 100644
--- a/Makefile.wii
+++ b/Makefile.wii
@@ -14,6 +14,8 @@ CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc
CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++
LD = $(DEVKITPPC)/bin/powerpc-eabi-ld
+FREETYPECONFIG = $(DEVKITPRO)/portlibs/ppc/bin/freetype-config
+
diff --git a/Makefile.wii b/Makefile.wii
index 89364c3..c6a6c38 100644
--- a/Makefile.wii
+++ b/Makefile.wii
@@ -14,6 +14,8 @@ CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc
CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++
LD = $(DEVKITPPC)/bin/powerpc-eabi-ld
+FREETYPECONFIG = $(DEVKITPRO)/portlibs/ppc/bin/freetype-config
+
From cb52028cab6d98aaa10e88e13fdcc1fddc0f6737 Mon Sep 17 00:00:00 2001
From: Toad King <toadking@toadking.com>
Date: Wed, 18 Jul 2012 18:38:31 -0400
Subject: [PATCH] video fixes
---
libretro.cpp | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/libretro.cpp b/libretro.cpp
diff --git a/console/rarch_console_exec.c b/console/rarch_console_exec.c
index d599c56..204debb 100644
--- a/console/rarch_console_exec.c
+++ b/console/rarch_console_exec.c
@@ -140,6 +140,9 @@ void rarch_console_exec(const char *path)
fclose(fp);
DCFlushRange(EXECUTE_ADDR, size);
#else
+#ifdef HAVE_LOGGER
+ *((vu32 *) 0x93300000) = logger_send;
diff --git a/console/rarch_console_exec.c b/console/rarch_console_exec.c
index d599c56..204debb 100644
--- a/console/rarch_console_exec.c
+++ b/console/rarch_console_exec.c
@@ -140,6 +140,9 @@ void rarch_console_exec(const char *path)
fclose(fp);
DCFlushRange(EXECUTE_ADDR, size);
#else
+#ifdef HAVE_LOGGER
+ *((vu32 *) 0x93300000) = logger_send;
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
@ToadKing
ToadKing / gist:4632063
Last active December 11, 2015 17:08
RetroArch Android nits
* Can't assign custom keys for unsupported IME's, should either allow custom
configuration (hard) or have a standard set of binds users can configure to
match from the IME config (easy!)
* Default overlays not the best, need to make better ones (or find someone who
makes them now its released)