Some typos fixed (thanks to Nukem9)

cellSysutilCheckCallback() modified, some warnings converted
This commit is contained in:
Nekotekina
2014-02-01 14:17:15 +04:00
parent 16c284214f
commit b602260314
13 changed files with 28 additions and 23 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ int sys_tty_read(u32 ch, u64 buf_addr, u32 len, u64 preadlen_addr)
int sys_tty_write(u32 ch, u64 buf_addr, u32 len, u64 pwritelen_addr)
{
if(ch < 0 || ch > 15 || len <= 0) return CELL_EINVAL;
if(ch < 0 || ch > 15 || (s32)len <= 0) return CELL_EINVAL;
if(!Memory.IsGoodAddr(buf_addr)) return CELL_EFAULT;
Emu.GetDbgCon().Write(ch, Memory.ReadString(buf_addr, len));