mirror of
https://github.com/AxioDL/jbus.git
synced 2025-07-10 15:16:07 +00:00
Merge branch 'master' of https://github.com/AxioDL/jbus
This commit is contained in:
commit
9db987d3dd
@ -1,7 +1,7 @@
|
||||
JBus Documentation {#mainpage}
|
||||
==============================
|
||||
|
||||
JBus functions as a server for acceping connections from GBA emulator clients.
|
||||
JBus functions as a server for accepting connections from GBA emulator clients.
|
||||
The jbus::Listener class may be constructed and [started](@ref jbus::Listener::start)
|
||||
to enque incoming jbus::Endpoint instances.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
#if __APPLE__
|
||||
#include <mach/mach_time.h>
|
||||
#endif
|
||||
@ -27,7 +28,7 @@ u64 GetGCTicks()
|
||||
{
|
||||
#if __APPLE__
|
||||
return mach_absolute_time() * MachToDolphinNum / MachToDolphinDenom;
|
||||
#elif __linux__
|
||||
#elif __linux__ || __FreeBSD__
|
||||
struct timespec tp;
|
||||
clock_gettime(CLOCK_MONOTONIC, &tp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user