DragonMinded / libdragon

Open source library for N64 development.
https://libdragon.dev
The Unlicense
674 stars 98 forks source link

ISViewer: use io_read/io_write functions to access PI address space #560

Closed Polprzewodnikowy closed 1 month ago

Polprzewodnikowy commented 1 month ago

This PR fixes the issue where ISViewer logging was always enabled on the hardware - isviewer_init always returned true due to reading from the PI immediately after writing without waiting for PI to not be busy. I've also added some comments about quirks that libdragon utilizes in its ISViewer implementation.