Add Portuguese translations thanks to Zilaan.

Update several of the other languages.
Fix those pesky DSPIntUtil.h compiler errors.
Clean up some remnants of building the plugins in the primary CMakeLists.txt file.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7127 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-02-11 02:38:23 +00:00
parent b8e6ea14e1
commit 8e91183897
24 changed files with 8724 additions and 3684 deletions

View File

@ -127,9 +127,10 @@ static inline u16 dsp_decrement_addr_reg(u16 reg)
// --- reg
// ---------------------------------------------------------------------------------------
static inline u16 dsp_op_read_reg(int reg)
static inline u16 dsp_op_read_reg(int _reg)
{
switch (reg & 0x1f) {
int reg = _reg & 0x1f;
switch (reg) {
case DSP_REG_ST0:
case DSP_REG_ST1:
case DSP_REG_ST2:
@ -177,9 +178,10 @@ static inline u16 dsp_op_read_reg(int reg)
}
}
static inline void dsp_op_write_reg(int reg, u16 val)
static inline void dsp_op_write_reg(int _reg, u16 val)
{
switch (reg & 0x1f) {
int reg = _reg & 0x1f;
switch (reg) {
// 8-bit sign extended registers. Should look at prod.h too...
case DSP_REG_ACH0:
case DSP_REG_ACH1:

View File

@ -66,6 +66,7 @@ static const wxLanguage langIds[] =
wxLANGUAGE_KOREAN,
wxLANGUAGE_NORWEGIAN_BOKMAL,
wxLANGUAGE_POLISH,
wxLANGUAGE_PORTUGUESE,
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
wxLANGUAGE_RUSSIAN,
wxLANGUAGE_SPANISH,
@ -330,6 +331,7 @@ void CConfigMain::InitializeGUILists()
arrayStringFor_InterfaceLang.Add(_("Korean"));
arrayStringFor_InterfaceLang.Add(_("Norwegian Bokmaal"));
arrayStringFor_InterfaceLang.Add(_("Polish"));
arrayStringFor_InterfaceLang.Add(_("Portuguese"));
arrayStringFor_InterfaceLang.Add(_("Portuguese (Brazilian)"));
arrayStringFor_InterfaceLang.Add(_("Russian"));
arrayStringFor_InterfaceLang.Add(_("Spanish"));