Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
eu_settings.c File Reference
#include "common.h"
#include "engine/file.h"
#include "engine/gfx.h"
Include dependency graph for eu_settings.c:

Go to the source code of this file.

Variables

s32 LANGUAGE = 2
 The European version's settings, in the small data (.sdata) between file/file_table.c's and system/main.c's.
 
s32 NTSC_MODE = 0
 The European version runs at 50 Hz (PAL) unless NTSC_MODE is set; its clocks then advance 0x133, 60/50 of 0x100, per frame.
 
s32 SHIFT_PAL_SCREEN = 1
 moves both display areas 0x18 lines down
 

Variable Documentation

◆ LANGUAGE

s32 LANGUAGE = 2

The European version's settings, in the small data (.sdata) between file/file_table.c's and system/main.c's.

2-5

Every module that uses them reads them through their address, so none of those defines them (in a -G8 unit GCC would read them through $gp); file/file_table.c and task/task.c, the modules linked between the two, never read them.

Definition at line 13 of file eu_settings.c.

Referenced by CARDGAME_drawPanel(), CNTY_SEL_tickMenu(), readPadButtons(), setSaveFileName(), STAGSLCT_updateStageSelect(), STDGNAME_createNameEntry(), STDWTITL_drawSplash(), STDWTITL_leaveTitle(), STDWTITL_loadTitleImages(), STDWTITL_tickMovie(), STDWTITL_tickTitle(), STGMCARD_updateInfo(), and STPLNMET_createNameEntry().

◆ NTSC_MODE

s32 NTSC_MODE = 0

The European version runs at 50 Hz (PAL) unless NTSC_MODE is set; its clocks then advance 0x133, 60/50 of 0x100, per frame.

Definition at line 14 of file eu_settings.c.

Referenced by drawFrame(), fadeOutSound(), FIELDSTG_createActor(), FIELDSTG_runActorAction(), initSound(), main(), and vsyncCallback().

◆ SHIFT_PAL_SCREEN