mirror of
https://github.com/open-goal/jak-project
synced 2026-06-09 12:46:43 -04:00
Add the STR RPC to overlord and game code (#134)
* work in progress streaming rpc, simple test is working * actually add the test * debug windows failure * windows fix maybe * windows 2 * use str-load-status * update types
This commit is contained in:
@@ -57,4 +57,17 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(defun charp<-string ((dst (pointer uint8)) (src-string string))
|
||||
"Copy a GOAL string into a character array."
|
||||
(let ((src (-> src-string data)))
|
||||
(while (!= 0 (-> src))
|
||||
(set! (-> dst) (-> src))
|
||||
(&+! dst 1)
|
||||
(&+! src 1)
|
||||
)
|
||||
(set! (-> dst) 0)
|
||||
0
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user