twinaphex/genesis-next — comment on commit 62ee45296bd1e23ca9dede6461caa59d0d0f7357
File:  line 0
By ekeeke:

1) /usr/include/sys/types.h:153:22: error: duplicate 'unsigned'
/usr/include/sys/types.h:153:22: error: two or more data types in declaration specifiers

-> I see, it shouldn't include that file but types.h from the emulator (see m68k.h). It seems like I added the include to m68k.h for something I then reverted later (C89 fixes probably ?) but forgot to remove it later. I think we can safely remove #include to types.h from m68k.h and let #include to stdlib.h in m68kops.h (and yes it was already there, it's indeed needed by a few functions). It's however strange the compiler is not picking the correct include file (it makes me wonder what it does with the other C files where types.h is needed).

2) Thanks for the explanation about NTSC filters, I will have a deeper look into Blargg's configurable implementation (it's very possible I removed stuff not needed for GX port when I first implemented it) but I guess we can safely use the USE_15BPP_RENDERING #define for that one and modify vdp_render.c to allow NTSC filters for 15 or 16-bit RGB output.

3) About SRAM being always active, I answered you in the bug report topic.