• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 3 4 5 6 7 ... 116 Next »

Memmap::Read_U8() not working?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Memmap::Read_U8() not working?
08-04-2021, 06:21 AM
#1
CNace13 Offline
Junior Member
**
Posts: 3
Threads: 2
Joined: Jul 2021
Hey all,

I am trying to read some values for memory but for some reason Memory::Read_U8() is not returning values for some addresses.

For example I am trying to read from 0x803535C9, 0x803535DA, 0x803535E1, and 0x803535E4 but the function is not returning any data.

It works for other addresses 0x80353XXX addrs though and Read_U16 seems to be working perfectly as well whenever I use it.

Any ideas on why I am seeing this behavior? I know I could just use Read_U16 and mask the bytes I actually need but I'd rather not if I do
not need to. Thanks
Find
Reply
08-05-2021, 12:26 PM
#2
CNace13 Offline
Junior Member
**
Posts: 3
Threads: 2
Joined: Jul 2021
Turn out this was actually an issue with printing a u8 to console or file. Casting to a string solves it. My bad!
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode