mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
compile fix linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2505 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1,18 +1,9 @@
|
|||||||
#ifndef _NETBT_HCI_H_
|
#ifndef _NETBT_HCI_H_
|
||||||
#define _NETBT_HCI_H_
|
#define _NETBT_HCI_H_
|
||||||
|
|
||||||
|
#include "CommonTypes.h"
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
typedef u8 uint8_t;
|
|
||||||
#ifdef _WIN32
|
|
||||||
typedef s8 int8_t;
|
|
||||||
#endif
|
|
||||||
typedef u16 uint16_t;
|
|
||||||
typedef s16 int16_t;
|
|
||||||
typedef u32 uint32_t;
|
|
||||||
typedef s32 int32_t;
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -128,7 +128,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
|||||||
wxString name;
|
wxString name;
|
||||||
CopySJISToString(name, OpenGameListItem->GetName(0).c_str());
|
CopySJISToString(name, OpenGameListItem->GetName(0).c_str());
|
||||||
|
|
||||||
SetTitle(wxString::Format(_("%s%s: %s - %s"), filename.c_str(), extension.c_str(), OpenGameListItem->GetUniqueID().c_str(), name));
|
SetTitle(wxString::Format(_("%s%s: %s - %s"), filename.c_str(), extension.c_str(), OpenGameListItem->GetUniqueID().c_str(), name.c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
CISOProperties::~CISOProperties()
|
CISOProperties::~CISOProperties()
|
||||||
@ -785,7 +785,7 @@ void CISOProperties::ChangeBannerDetails(int lang)
|
|||||||
CopySJISToString(description, OpenGameListItem->GetDescription(lang).c_str());
|
CopySJISToString(description, OpenGameListItem->GetDescription(lang).c_str());
|
||||||
|
|
||||||
m_ShortName->SetValue(name);
|
m_ShortName->SetValue(name);
|
||||||
m_Maker->SetValue(OpenGameListItem->GetCompany().c_str());//dev too
|
m_Maker->SetValue(wxString::FromAscii(OpenGameListItem->GetCompany().c_str()));//dev too
|
||||||
m_Comment->SetValue(description);
|
m_Comment->SetValue(description);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -836,4 +836,4 @@ bool CISOProperties::CopySJISToString( wxString& _rDestination, const char* _src
|
|||||||
//returnCode = true;
|
//returnCode = true;
|
||||||
#endif
|
#endif
|
||||||
return returnCode;
|
return returnCode;
|
||||||
}
|
}
|
||||||
|
@ -1176,7 +1176,7 @@ bool GCMemcard::formatWIP(int slot, bool New, bool sjis)
|
|||||||
}
|
}
|
||||||
fread(&m_SRAM, 1, 64, pStream);
|
fread(&m_SRAM, 1, 64, pStream);
|
||||||
fclose(pStream);
|
fclose(pStream);
|
||||||
rand = time = 0XFAB12B2D9FD80700;//0x500;//gettime();
|
rand = time = 0XFAB12B2D9FD80700ULL;//0x500;//gettime();
|
||||||
|
|
||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user