mirror of https://github.com/LIJI32/SameBoy.git
This commit is contained in:
parent
55507274d6
commit
c0966ceeba
|
@ -329,7 +329,7 @@ FirstChecksumWithDuplicate:
|
|||
ChecksumsEnd:
|
||||
|
||||
PalettePerChecksum:
|
||||
palette_index: MACRO ; palette, flags
|
||||
MACRO palette_index ; palette, flags
|
||||
db ((\1)) | (\2) ; | $80 means game requires DMG boot tilemap
|
||||
ENDM
|
||||
palette_index 0, 0 ; Default Palette
|
||||
|
@ -433,10 +433,10 @@ Dups4thLetterArray:
|
|||
; We assume the last three arrays fit in the same $100 byte page!
|
||||
|
||||
PaletteCombinations:
|
||||
palette_comb: MACRO ; Obj0, Obj1, Bg
|
||||
MACRO palette_comb ; Obj0, Obj1, Bg
|
||||
db (\1) * 8, (\2) * 8, (\3) *8
|
||||
ENDM
|
||||
raw_palette_comb: MACRO ; Obj0, Obj1, Bg
|
||||
MACRO raw_palette_comb ; Obj0, Obj1, Bg
|
||||
db (\1) * 2, (\2) * 2, (\3) * 2
|
||||
ENDM
|
||||
palette_comb 4, 4, 29
|
||||
|
|
File diff suppressed because it is too large
Load Diff
4
Makefile
4
Makefile
|
@ -467,12 +467,14 @@ $(BIN)/SDL/Palettes: Misc/Palettes
|
|||
|
||||
$(OBJ)/%.2bpp: %.png
|
||||
-@$(MKDIR) -p $(dir $@)
|
||||
rgbgfx -h -u -o $@ $<
|
||||
rgbgfx $(if $(filter $(shell echo 'print __RGBDS_MAJOR__ || (!__RGBDS_MAJOR__ && __RGBDS_MINOR__ > 5)' | rgbasm -), $$0), -h -u, -Z -u -c embedded) -o $@ $<
|
||||
|
||||
$(OBJ)/BootROMs/SameBoyLogo.pb12: $(OBJ)/BootROMs/SameBoyLogo.2bpp $(PB12_COMPRESS)
|
||||
-@$(MKDIR) -p $(dir $@)
|
||||
$(realpath $(PB12_COMPRESS)) < $< > $@
|
||||
|
||||
$(PB12_COMPRESS): BootROMs/pb12.c
|
||||
-@$(MKDIR) -p $(dir $@)
|
||||
$(NATIVE_CC) -std=c99 -Wall -Werror $< -o $@
|
||||
|
||||
$(BIN)/BootROMs/cgb0_boot.bin: BootROMs/cgb_boot.asm
|
||||
|
|
Loading…
Reference in New Issue