common: quote the include path

This commit is contained in:
Zack Buhman 2024-10-17 22:49:39 -05:00
parent e1e63795c9
commit 7e535e8038
3 changed files with 5 additions and 4 deletions

View File

@ -2,14 +2,14 @@ MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
DIR := $(dir $(MAKEFILE_PATH)) DIR := $(dir $(MAKEFILE_PATH))
LIB ?= . LIB ?= .
OPT ?= -O3 OPT ?= -O2
GENERATED ?= GENERATED ?=
AARCH = --isa=sh4 --little AARCH = --isa=sh4 --little
CARCH = -m4-single-only -ml CARCH = -m4-single-only -ml
CFLAGS += -mfsca -funsafe-math-optimizations -ffast-math CFLAGS += -mfsca -funsafe-math-optimizations -ffast-math
CFLAGS += -I$(dir $(MAKEFILE_PATH)) CFLAGS += -I"$(dir $(MAKEFILE_PATH))"
CXXFLAGS += -std=c++23 CXXFLAGS += -std=c++23

View File

@ -14,7 +14,8 @@
void core_init() void core_init()
{ {
holly.ISP_FEED_CFG = isp_feed_cfg::cache_size_for_translucency(0x200) holly.ISP_FEED_CFG = isp_feed_cfg::cache_size_for_translucency(0x200)
| isp_feed_cfg::punch_through_chunk_size(0x040); | isp_feed_cfg::punch_through_chunk_size(0x040)
;
holly.FPU_SHAD_SCALE = fpu_shad_scale::simple_shadow_enable::intensity_volume_mode holly.FPU_SHAD_SCALE = fpu_shad_scale::simple_shadow_enable::intensity_volume_mode
| fpu_shad_scale::scale_factor_for_shadows(127); | fpu_shad_scale::scale_factor_for_shadows(127);

View File

@ -142,7 +142,7 @@ void ta_wait_opaque_list()
{ {
while ((system.ISTNRM & istnrm::end_of_transferring_opaque_list) == 0) { while ((system.ISTNRM & istnrm::end_of_transferring_opaque_list) == 0) {
if (system.ISTERR) { if (system.ISTERR) {
serial::string("ta "); serial::string("ta ISTERR: ");
serial::integer<uint32_t>(system.ISTERR); serial::integer<uint32_t>(system.ISTERR);
} }
}; };