mirror of
https://github.com/zeldaret/oot
synced 2026-07-11 15:18:59 -04:00
use CS_FLOAT
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ def ExtractFile(xmlPath, outputPath, outputSourcePath):
|
||||
Path(outputPath).mkdir(parents=True, exist_ok=True)
|
||||
Path(outputSourcePath).mkdir(parents=True, exist_ok=True)
|
||||
|
||||
execStr = f"{zapdPath} e -eh -i {xmlPath} -b baseroms/gc-eu-mq-dbg/segments -o {outputPath} -osf {outputSourcePath} -gsf 1 -rconf {configPath} {ZAPDArgs}"
|
||||
execStr = f"{zapdPath} e -eh -i {xmlPath} -b baseroms/gc-eu-mq-dbg/segments -o {outputPath} -osf {outputSourcePath} -gsf 1 -rconf {configPath} --cs-float both {ZAPDArgs}"
|
||||
|
||||
if "overlays" in xmlPath:
|
||||
execStr += " --static"
|
||||
|
||||
@@ -22,8 +22,10 @@
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define CS_FLOAT(ieee754bin, f) (f)
|
||||
#define CMD_F(a) {.f = (a)}
|
||||
#else
|
||||
#define CS_FLOAT(ieee754bin, f) (ieee754bin)
|
||||
#define CMD_F(a) {(a)}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user