From ec1923b417fc01f269fa0f42268d5de16f56bd36 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Thu, 21 Mar 2013 09:49:12 +0000 Subject: [PATCH] Wii: Fix Mapster32. It runs now. git-svn-id: https://svn.eduke32.com/eduke32@3582 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/Makefile | 4 +--- polymer/eduke32/build/src/build.c | 4 ++++ polymer/eduke32/platform/wiibuild.bat | 4 ++-- polymer/eduke32/source/astub.c | 4 ++++ polymer/eduke32/source/common.c | 17 +++++++++++++++++ polymer/eduke32/source/common_game.h | 2 ++ polymer/eduke32/source/game.c | 13 +------------ 7 files changed, 31 insertions(+), 17 deletions(-) diff --git a/polymer/eduke32/Makefile b/polymer/eduke32/Makefile index dccff34db..2aee2bb23 100644 --- a/polymer/eduke32/Makefile +++ b/polymer/eduke32/Makefile @@ -64,9 +64,7 @@ EDUKE32 ?= eduke32$(EXESUFFIX) MAPSTER32 ?= mapster32$(EXESUFFIX) EDUKE32_TARGET:=$(EDUKE32) -ifneq ($(PLATFORM),WII) - MAPSTER32_TARGET:=$(MAPSTER32) -endif +MAPSTER32_TARGET:=$(MAPSTER32) ifndef EBACKTRACEDLL EBACKTRACEDLL = ebacktrace1.dll diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index 125ff964c..1f0102afc 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -68,7 +68,11 @@ double vid_gamma_3d=-1, vid_contrast_3d=-1, vid_brightness_3d=-1; int32_t xdim2d = 640, ydim2d = 480, xdimgame = 640, ydimgame = 480, bppgame = 8; int32_t forcesetup = 1; +#ifndef GEKKO int32_t g_maxCacheSize = 24<<20; +#else +int32_t g_maxCacheSize = 8<<20; +#endif static int16_t oldmousebstatus = 0; char game_executable[BMAX_PATH] = DEFAULT_GAME_LOCAL_EXEC; diff --git a/polymer/eduke32/platform/wiibuild.bat b/polymer/eduke32/platform/wiibuild.bat index d8a89bb29..c72af3148 100644 --- a/polymer/eduke32/platform/wiibuild.bat +++ b/polymer/eduke32/platform/wiibuild.bat @@ -1,7 +1,7 @@ @echo off setlocal ENABLEEXTENSIONS DISABLEDELAYEDEXPANSION -set targets=eduke32 +set targets=eduke32 mapster32 set PATH=C:\devkitPro\devkitPPC\bin;C:\devkitPro\msys\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH% pushd "%~dp0.." @@ -38,7 +38,7 @@ for %%G in (%targets%) do "echo.exe" -e " %rev%\n 1)