Bugs fixed
This commit is contained in:
@@ -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];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user