mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00: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)
|
||||
{
|
||||
memcpy(GetMemFromAddr<T>(addr), str.c_str(), str.size());
|
||||
strcpy((char*)GetMemFromAddr<T>(addr), str.c_str());
|
||||
}
|
||||
|
||||
u32 GetUserMemTotalSize()
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace detail
|
|||
|
||||
static __forceinline T func(PPUThread& CPU)
|
||||
{
|
||||
return (T&)CPU.FPR[f_count];
|
||||
return (T)CPU.FPR[f_count];
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue