More include cleanup. Hoping for very slightly faster compile times..

This commit is contained in:
Henrik Rydgård committed 2013-12-30 10:49:05 +01:00
1 parent 00c32ddadb
commit e5e17fbc6e
23 files changed
+125 -137

No files matched your search

+1 -16
View File
@@ -236,7 +236,7 @@ void Write_Opcode_JIT(const u32 _Address, const Opcode _Value)
}
void Memset(const u32 _Address, const u8 _iValue, const u32 _iLength)
{
{
u8 *ptr = GetPointer(_Address);
if (ptr != NULL) {
memset(ptr, _iValue, _iLength);
@@ -251,21 +251,6 @@ void Memset(const u32 _Address, const u8 _iValue, const u32 _iLength)
#endif
}
void GetString(std::string& _string, const u32 em_address)
{
char stringBuffer[2048];
char *string = stringBuffer;
char c;
u32 addr = em_address;
while ((c = Read_U8(addr)))
{
*string++ = c;
addr++;
}
*string++ = '\0';
_string = stringBuffer;
}
const char *GetAddressName(u32 address)
{
// TODO, follow GetPointer