mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Merge pull request #199 from wheremyfoodat/wheremyfoodat-patch-3
Fix shut up counter
This commit is contained in:
commit
358bbe9c76
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ u32 Memory::read32(u32 vaddr) {
|
||||||
if (vaddr >= VirtualAddrs::VramStart && vaddr < VirtualAddrs::VramStart + VirtualAddrs::VramSize) {
|
if (vaddr >= VirtualAddrs::VramStart && vaddr < VirtualAddrs::VramStart + VirtualAddrs::VramSize) {
|
||||||
static int shutUpCounter = 0;
|
static int shutUpCounter = 0;
|
||||||
if (shutUpCounter < 5) { // Stop spamming about VRAM reads after the first 5
|
if (shutUpCounter < 5) { // Stop spamming about VRAM reads after the first 5
|
||||||
|
shutUpCounter++;
|
||||||
Helpers::warn("VRAM read!\n");
|
Helpers::warn("VRAM read!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue