Changeset 1045
- Timestamp:
- Aug 28, 2016, 6:01:38 PM (8 years ago)
- Location:
- Daodan/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Daodan_Patch.c
r1008 r1045 66 66 branches++; 67 67 int target = disasm.Instruction.AddrValue; 68 bool targetInTrampoline = ((void*) disasm.Instruction.AddrValue- from) < 5;68 bool targetInTrampoline = ((void*)((int)disasm.Instruction.AddrValue) - from) < 5; 69 69 switch (disasm.Instruction.BranchType) { 70 70 case JmpType: -
Daodan/src/makefile
r994 r1045 6 6 DEF = BEA_ENGINE_STATIC 7 7 INCLUDEPATHS = . 8 GCCFLAGS = -std= c99 -O0 -Wall -fomit-frame-pointer -fpack-struct -Wextra -Wno-pragmas -Wno-unused-variable $(addprefix -I,$(INCLUDEPATHS)) -Wno-unused-parameter $(addprefix -D,$(DEF))8 GCCFLAGS = -std=gnu99 -O0 -Wall -fomit-frame-pointer -fpack-struct -Wextra -Wno-pragmas -Wno-unused-variable $(addprefix -I,$(INCLUDEPATHS)) -Wno-unused-parameter $(addprefix -D,$(DEF)) 9 9 LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll 10 10 LOCALE = LC_MESSAGES=C
Note:
See TracChangeset
for help on using the changeset viewer.