changed the entrypoint in the makefile, yet again. In testing, this fixed the bug which caused some to get code dump when launching a game.

Also messed with the run command within the makefile.  press alt+r to compile the source code and then send the resulting dol to the wii.   
*note*
you must have the environmental variable set up for wiiload.  you don't need to have the .exe file, just the WIILOAD variable
This commit is contained in:
giantpune 2009-07-31 05:22:33 +00:00
parent f8cd80b183
commit 8e42f68cae
3 changed files with 8 additions and 4 deletions

View File

@ -29,7 +29,7 @@ INCLUDES := source
CFLAGS = -g -O2 -save-temps -Wall $(MACHDEP) $(INCLUDE)
CXXFLAGS = -Xassembler -aln=$@.lst $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map,--section-start,.init=0x80b00000
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map,--section-start,.init=0x8090a000
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
@ -110,6 +110,10 @@ clean:
#---------------------------------------------------------------------------------
run:
make
@echo Done building ...
@echo Now Run That Shit ...
wiiload $(OUTPUT).dol
#---------------------------------------------------------------------------------

File diff suppressed because one or more lines are too long

View File

@ -39,8 +39,8 @@ int tmd_dirty = 0, tik_dirty = 0, temp_ios_slot = 0;
// yeah, yeah, I know.
signed_blob *s_tmd = NULL, *s_tik = NULL, *s_certs = NULL;
static u8 tmdbuf[MAX_SIGNED_TMD_SIZE] ATTRIBUTE_ALIGN(0x20);
static u8 tikbuf[STD_SIGNED_TIK_SIZE] ATTRIBUTE_ALIGN(0x20);
//static u8 tmdbuf[MAX_SIGNED_TMD_SIZE] ATTRIBUTE_ALIGN(0x20);
//static u8 tikbuf[STD_SIGNED_TIK_SIZE] ATTRIBUTE_ALIGN(0x20);
void zero_sig(signed_blob *sig) {