mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-25 15:39:32 -05:00
Fix RGBDS 0.4.1
This commit is contained in:
parent
7f84d05e82
commit
7b88a2b8e1
|
|
@ -3,7 +3,7 @@ os: linux
|
|||
install:
|
||||
- |-
|
||||
( cd
|
||||
git clone -b v0.3.8 --depth=1 https://github.com/rednex/rgbds
|
||||
git clone -b v0.4.1 --depth=1 https://github.com/rednex/rgbds
|
||||
sudo make -C rgbds install
|
||||
rm -rf rgbds
|
||||
sudo apt-get install wget p7zip-full
|
||||
|
|
|
|||
5
Makefile
5
Makefile
|
|
@ -65,10 +65,9 @@ linkerscript: $(ROM:.gb=-gen.link)
|
|||
%.map: %.gb
|
||||
|
||||
$(CORRECTEDROM): %-correctheader.gb: %.gb
|
||||
$(RGBASM) $(RGBASMFLAGS) -o $(BUILD)/zero_checksum.o zero_checksum.asm
|
||||
$(RGBLINK) -O $< -o $@ $(BUILD)/zero_checksum.o
|
||||
$(RGBFIX) -f hg -m 0x10 $@
|
||||
cp $< $@
|
||||
cp $(<:.gb=.sym) $(@:.gb=.sym)
|
||||
$(RGBFIX) -f hg -m 0x10 $@
|
||||
|
||||
$(ROM): poke%-spaceworld.gb: $(OBJS) | $(BASEROM)
|
||||
$(RGBLINK) -d -n $(@:.gb=.sym) -m $(@:.gb=.map) -l $(@:.gb=.link) -O $(BASEROM) -o $@ $^
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ SECTION "home/toolgear.asm", ROM0
|
|||
|
||||
; local charmap, global charmap won't apply
|
||||
; see https://github.com/rednex/rgbds/issues/265#issuecomment-395229694
|
||||
newcharmap local
|
||||
charmap "0", $66
|
||||
charmap "1", $67
|
||||
charmap "2", $68
|
||||
|
|
@ -185,4 +186,4 @@ endc
|
|||
add "0"
|
||||
ld [de], a
|
||||
inc de
|
||||
ret
|
||||
ret
|
||||
|
|
|
|||
4
shim.sym
4
shim.sym
|
|
@ -61,7 +61,7 @@
|
|||
0B:5663 Function2d663
|
||||
|
||||
0E:4B78 LoadTrainerClassName
|
||||
0E:4BA0 LoadTrainerClassName.got_name
|
||||
;0E:4BA0 LoadTrainerClassName.got_name
|
||||
0E:4BA9 LoadTrainerClass
|
||||
|
||||
0D:7E3D Function37e3d
|
||||
|
|
@ -179,5 +179,5 @@
|
|||
3F:64CE MonsterTest
|
||||
3F:654E PicTest
|
||||
3F:6750 PicTestMenu
|
||||
3F:6755 PicTestMenu.loop
|
||||
;3F:6755 PicTestMenu.loop
|
||||
3F:67A1 CallSubGameMenu
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
; This is part of a workaround to RGBFIX 0.3.7, which does not compute the global checksum correctly
|
||||
; if it's not 0 in the pre-fix ROM. See https://github.com/rednex/rgbds/issues/280
|
||||
|
||||
SECTION "RGBFIX 0.3.7 workaround", ROM0[$14E]
|
||||
dw 0
|
||||
Loading…
Reference in New Issue
Block a user