From 97b257e8b4f9383d29ca362aef05f9e6a630f97a Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 5 Oct 2022 19:53:00 -0500 Subject: [PATCH] Fix typos in comments in libretro --- libretro/LoadSeg.s | 4 ++-- libretro/syscalls.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libretro/LoadSeg.s b/libretro/LoadSeg.s index b985ba7b6f..e3a0a690ac 100644 --- a/libretro/LoadSeg.s +++ b/libretro/LoadSeg.s @@ -14,9 +14,9 @@ PATCHEDLOADSEG: # Stack now: # (arguments for function) # (return address) -# (don't care any more -- address in jt entry) +# (don't care anymore -- address in jt entry) # (saved registers) -# (4 bvtes of space for return value) +# (4 bytes of space for return value) # (address in jt entry) jsr RETRO68LOADSEGMENT diff --git a/libretro/syscalls.c b/libretro/syscalls.c index a255165c91..4cd1fc5ae6 100644 --- a/libretro/syscalls.c +++ b/libretro/syscalls.c @@ -90,7 +90,7 @@ int _open_r(struct _reent *reent, const char* name, int flags, int mode) // Carbon has the new, sane version. c2pstrcpy(pname,name); #else - // It is also availble in various glue code libraries and + // It is also available in various glue code libraries and // in some versions of InterfaceLib, but it's confusing. // Using the inplace variant, c2pstr, isn't much better than // doing things by hand: @@ -248,7 +248,7 @@ int _wait_r(struct _reent *reent, int *wstatus) int _gettimeofday_r(struct _reent *reent, struct timeval *tp, void *__tz) { /* Classic MacOS's GetDateTime function returns an integer. - * TickCount() has a slightly higher resolution, but is independend of the real-time clock. + * TickCount() has a slightly higher resolution, but is independent of the real-time clock. */ unsigned long secs; GetDateTime(&secs);