Thank you profi for helping me shut up

This commit is contained in:
wheremyfoodat 2023-08-18 18:28:13 +03:00 committed by GitHub
parent 8ad2ca34cb
commit 9c6296066e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,6 +154,7 @@ u32 Memory::read32(u32 vaddr) {
if (vaddr >= VirtualAddrs::VramStart && vaddr < VirtualAddrs::VramStart + VirtualAddrs::VramSize) {
static int shutUpCounter = 0;
if (shutUpCounter < 5) { // Stop spamming about VRAM reads after the first 5
shutUpCounter++;
Helpers::warn("VRAM read!\n");
}