Skip to content

Instantly share code, notes, and snippets.

@realmonster
realmonster / NES SVideo.cg
Last active August 29, 2015 14:25
changed to sampled mode
// CG shader
// NES CRT simulation
// by r57shell
// thanks to feos & HardWareMan
void main_vertex
(
float4 position : POSITION,
out float4 oPosition : POSITION,
uniform float4x4 modelViewProj,
#include "m68k.h"
#include <windows.h>
unsigned int m68k_read_memory_8(unsigned int address)
{
if (address&1)
return 0x38;
else
return 0;
}