jakibaki / sys-netcheat

Open-source cheat-engine for the Nintendo Switch.
GNU General Public License v3.0
225 stars 23 forks source link

Implement a peek feature #36

Closed aveao closed 5 years ago

aveao commented 5 years ago

This PR implements a simple peek feature, and closes #3 (welp, said # 2 on commit).

I'm not super familiar with printf on C so I'm not sure if %hu or %lu will work (I'd love to hear some input about those), but I tested with u32 values (score on puyo puyo tetris) and it worked perfectly with them:


I also added a gitignore with build files so that no one will accidentally commit them.

jakibaki commented 5 years ago

Thanks!

miketweaver commented 5 years ago

@aveao is there a specific reason we used %hu %lu and %u instead of printing in hex using something like %x?

aveao commented 5 years ago

@miketweaver nope, information I wanted was an integer so I went with integer output.