From: Javier S. Pedro Date: Sun, 6 Sep 2009 01:02:22 +0000 (+0200) Subject: added SuperFX emu back X-Git-Tag: drnoksnes_1_0_2~18 X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=75163104a2b610d836f30e263f67b4346287a5f7;p=drnoksnes added SuperFX emu back --- diff --git a/fxemu.cpp b/fxemu.cpp index a91db25..6570183 100644 --- a/fxemu.cpp +++ b/fxemu.cpp @@ -44,6 +44,8 @@ #include #include +#include "port.h" + /* The FxChip Emulator's internal variables */ struct FxRegs_s GSU = {{0}, 0}; @@ -189,6 +191,10 @@ static void fx_readRegisterSpace() static uint32 avHeight[] = { 128, 160, 192, 256 }; static uint32 avMult[] = { 16, 32, 32, 64 }; +#ifndef SUPER_FX + abort(); // Tried to run SuperFX game in non SuperFX build. +#endif + GSU.vErrorCode = 0; /* Update R0-R15 */ diff --git a/port.h b/port.h index b861817..c5b1e2c 100644 --- a/port.h +++ b/port.h @@ -105,7 +105,7 @@ typedef int16_t int16_32; // Configuration defines I think I know what they're for #define ASM_SPC700 1 -//#define SUPER_FX 1 +#define SUPER_FX 1 #define CPU_SHUTDOWN 1 //#define NETPLAY_SUPPORT 1