Closed MrAwesome closed 4 years ago
sys is for sony functions. Put it outside sys as a regular module or something.
Ah, makes sense. How's this?
psp::utils::gu::get_static_vram_buffer
I checked with overdrivenpotato and he said basically everything outside sys is utils so there's no need to have a utils module. Just psp::gu_utils is fine until we have something better like a proper allocator for vram.
I was poking around the
gu
examples and noticed a lot of code reuse that made usinggu
seem more complicated than it is.Pushed these functions back into rust-psp itself, since all of the usages of the functions were identical (and if someone needs to implement them differently, they can easily choose to do so). Happy to put this wherever it needs to be, named however it should be named.