mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #6542 from lioncash/cast
BPStructs: Remove an unnecessary pointer cast in GetBPRegInfo
This commit is contained in:
@ -718,7 +718,7 @@ void GetBPRegInfo(const u8* data, std::string* name, std::string* desc)
|
|||||||
const char* no_yes[2] = {"No", "Yes"};
|
const char* no_yes[2] = {"No", "Yes"};
|
||||||
|
|
||||||
u8 cmd = data[0];
|
u8 cmd = data[0];
|
||||||
u32 cmddata = Common::swap32(*(u32*)data) & 0xFFFFFF;
|
u32 cmddata = Common::swap32(data) & 0xFFFFFF;
|
||||||
switch (cmd)
|
switch (cmd)
|
||||||
{
|
{
|
||||||
// Macro to set the register name and make sure it was written correctly via compile time assertion
|
// Macro to set the register name and make sure it was written correctly via compile time assertion
|
||||||
|
Reference in New Issue
Block a user