SFC: disable math color bleed for first pixel
(fixes green line on the left-edge of Jurassic Park)
SFC/GG: attach Screen settings to Screen node, not PPU/VDP node
(fixes remembering Screen settings)
This commit is contained in:
byuu
2019-12-02 19:28:48 +09:00
parent d094c21824
commit 0d6a02168b
4 changed files with 4 additions and 12 deletions

View File

@@ -6,9 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include <unistd.h> #include <unistd.h>
#ifdef LIBCO_MPROTECT #include <sys/mman.h>
#include <sys/mman.h>
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -99,9 +99,7 @@ static void (*co_swap)(cothread_t, cothread_t) = 0;
}; };
#include <unistd.h> #include <unistd.h>
#ifdef LIBCO_MPROTECT #include <sys/mman.h>
#include <sys/mman.h>
#endif
static void co_init() { static void co_init() {
#ifdef LIBCO_MPROTECT #ifdef LIBCO_MPROTECT

4
arm.c
View File

@@ -5,9 +5,7 @@
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#ifdef LIBCO_MPROTECT #include <sys/mman.h>
#include <sys/mman.h>
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

4
x86.c
View File

@@ -53,9 +53,7 @@ static const unsigned char co_swap_function[4096] = {
} }
#else #else
#include <unistd.h> #include <unistd.h>
#ifdef LIBCO_MPROTECT #include <sys/mman.h>
#include <sys/mman.h>
#endif
static void co_init() { static void co_init() {
#ifdef LIBCO_MPROTECT #ifdef LIBCO_MPROTECT