mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Bugs fixed
This commit is contained in:
parent
06486b6537
commit
49b295e332
2 changed files with 2 additions and 2 deletions
|
@ -358,7 +358,7 @@ public:
|
||||||
|
|
||||||
template<typename T> void WriteString(const T addr, const std::string& str)
|
template<typename T> void WriteString(const T addr, const std::string& str)
|
||||||
{
|
{
|
||||||
memcpy(GetMemFromAddr<T>(addr), str.c_str(), str.size());
|
strcpy((char*)GetMemFromAddr<T>(addr), str.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 GetUserMemTotalSize()
|
u32 GetUserMemTotalSize()
|
||||||
|
|
|
@ -38,7 +38,7 @@ namespace detail
|
||||||
|
|
||||||
static __forceinline T func(PPUThread& CPU)
|
static __forceinline T func(PPUThread& CPU)
|
||||||
{
|
{
|
||||||
return (T&)CPU.FPR[f_count];
|
return (T)CPU.FPR[f_count];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue