DragonMinded / libdragon

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

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

Closed Polprzewodnikowy closed 6 months ago

Polprzewodnikowy commented 6 months 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.