mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-03 01:32:55 +02:00
Use rgblink -x
instead of dd
This saves a few build steps and intermediate files
This commit is contained in:
@@ -1238,6 +1238,7 @@ BootEnd:
|
||||
IF BootEnd > $900
|
||||
FAIL "BootROM overflowed: {BootEnd}"
|
||||
ENDC
|
||||
ds $100 + $800 - @ ; Ensure that the ROM is padded up to standard size.
|
||||
|
||||
SECTION "HRAM", HRAM[$FF80]
|
||||
TitleChecksum:
|
||||
|
5
Makefile
5
Makefile
@@ -638,9 +638,8 @@ $(BIN)/BootROMs/sgb2_boot: BootROMs/sgb_boot.asm
|
||||
$(BIN)/BootROMs/%.bin: BootROMs/%.asm $(OBJ)/BootROMs/SameBoyLogo.pb12
|
||||
-@$(MKDIR) -p $(dir $@)
|
||||
$(RGBASM) -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
||||
$(RGBLINK) -o $@.tmp2 $@.tmp
|
||||
dd if=$@.tmp2 of=$@ count=1 bs=$(if $(findstring cgb,$@)$(findstring agb,$@),2304,256) 2> $(NULL)
|
||||
@rm $@.tmp $@.tmp2
|
||||
$(RGBLINK) -x -o $@ $@.tmp
|
||||
@rm $@.tmp
|
||||
|
||||
# Libretro Core (uses its own build system)
|
||||
libretro:
|
||||
|
Reference in New Issue
Block a user