Fix typos in comments in libretro

This commit is contained in:
Ryan Schmidt 2022-10-05 19:53:00 -05:00
parent 1f533b761c
commit 97b257e8b4
2 changed files with 4 additions and 4 deletions

View File

@ -14,9 +14,9 @@ PATCHEDLOADSEG:
# Stack now: # Stack now:
# (arguments for function) # (arguments for function)
# (return address) # (return address)
# (don't care any more -- address in jt entry) # (don't care anymore -- address in jt entry)
# (saved registers) # (saved registers)
# (4 bvtes of space for return value) # (4 bytes of space for return value)
# (address in jt entry) # (address in jt entry)
jsr RETRO68LOADSEGMENT jsr RETRO68LOADSEGMENT

View File

@ -90,7 +90,7 @@ int _open_r(struct _reent *reent, const char* name, int flags, int mode)
// Carbon has the new, sane version. // Carbon has the new, sane version.
c2pstrcpy(pname,name); c2pstrcpy(pname,name);
#else #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. // in some versions of InterfaceLib, but it's confusing.
// Using the inplace variant, c2pstr, isn't much better than // Using the inplace variant, c2pstr, isn't much better than
// doing things by hand: // 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) int _gettimeofday_r(struct _reent *reent, struct timeval *tp, void *__tz)
{ {
/* Classic MacOS's GetDateTime function returns an integer. /* 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; unsigned long secs;
GetDateTime(&secs); GetDateTime(&secs);