You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to abstract the use of pointers to access data. There are some obvious places where pointers are being used:
run_dl() - the main method takes in a pointer to the start of the draw lists we iterate through
vertex, matrix commands - w1 points to location in memory where the vertices or matrices can be read
branch dl command - points to a location in memory where a new display list can be found
One possible way might be to introduce some kind of new Memory trait that implements some methods for grabbing the pointer to the display list and for branches.. as well as reading u8's and u16's for reading vertices and matrices.
The text was updated successfully, but these errors were encountered:
It'd be great to abstract the use of pointers to access data. There are some obvious places where pointers are being used:
One possible way might be to introduce some kind of new
Memory
trait that implements some methods for grabbing the pointer to the display list and for branches.. as well as reading u8's and u16's for reading vertices and matrices.The text was updated successfully, but these errors were encountered: