SFC: Disable color blending for first hires pixel with accuracy PPU
(fixes a green scanline on the left-edge of Jurassic Park)
libco: Don't include <sys/mman.h> when not using mprotect
nall: Detect Windows without invoking uname [Alcaro]
This commit is contained in:
byuu
2019-12-02 19:54:03 +09:00
parent 0d1d6f329d
commit a64c1adaa8
12 changed files with 126 additions and 64 deletions

View File

@@ -98,8 +98,10 @@ static void (*co_swap)(cothread_t, cothread_t) = 0;
0xff, 0xe0, /* jmp rax */
};
#include <unistd.h>
#include <sys/mman.h>
#ifdef LIBCO_MPROTECT
#include <unistd.h>
#include <sys/mman.h>
#endif
static void co_init() {
#ifdef LIBCO_MPROTECT