mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 18:23:39 -04:00
[Decompile] connect, text-h, settings-h, capture, memory-usage-h (#410)
* decompile stuff * temp * temp2 * fix * temp * preparing for merge * working * fix stupid format * fix codacy
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
:size-assert #x6e0
|
||||
:flag-assert #xc000006e0
|
||||
(:methods
|
||||
(dummy-9 () none 9)
|
||||
(dummy-10 () none 10)
|
||||
(reset! (_type_) _type_ 9)
|
||||
(calculate-total (_type_) int 10)
|
||||
(dummy-11 () none 11)
|
||||
)
|
||||
)
|
||||
@@ -34,3 +34,17 @@
|
||||
(define *mem-usage* (new 'debug 'memory-usage-block))
|
||||
(define *dma-mem-usage* (new 'debug 'memory-usage-block))
|
||||
(define *temp-mem-usage* #f)
|
||||
|
||||
|
||||
;; Memory usage stats are organized by the type of object.
|
||||
;; This enum allows you to go from type to the index in the memory-usage-block's data array.
|
||||
(defenum mem-usage-id
|
||||
:bitfield #f
|
||||
:type uint32
|
||||
(texture 79)
|
||||
)
|
||||
|
||||
;; get a memory usage id as an integer.
|
||||
(defmacro mem-usage-id-int (kind)
|
||||
`(the int (mem-usage-id ,kind))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user