Few bugs fixed and license file added

* Fixed GUI issues caused by the update to wxWidgets 3.
* Fixed small bug in SC_TTY (thanks Nukem9!)
* Added GPL v2 license file.
This commit is contained in:
Alexandro Sánchez Bach
2014-02-13 11:33:07 +01:00
parent 256ee2ff8a
commit 5953781c13
4 changed files with 344 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ int sys_tty_read(u32 ch, u64 buf_addr, u32 len, u64 preadlen_addr)
return CELL_OK;
}
int sys_tty_write(u32 ch, u64 buf_addr, u32 len, u64 pwritelen_addr)
int sys_tty_write(s32 ch, u64 buf_addr, u32 len, u64 pwritelen_addr)
{
if(ch < 0 || ch > 15 || (s32)len <= 0) return CELL_EINVAL;
if(!Memory.IsGoodAddr(buf_addr)) return CELL_EFAULT;