- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 NES -Tips
void PPU6528::ScanlineStart(){ if (PPU.m_REG[1] & (PPU_SHOWBG | PPU_SHOWSPR)) { m_CurLineOft = m_ScreenOffset; m_CurByteIndex = m_ByteIndex; m_Counter = (m_Counter & 0xF3E0) | (m_Register & 0
2014-08-24 09:36:40
541
原创 wx
LPWSTR wxPath(wxString wxStr){ static wchar_t Src[0xF0],Des[0xF0]; static unsigned int SxL,DxL; __asm CLD __asm MOV EAX,0 __asm MOV ECX,120 __asm LEA EDI
2014-08-12 11:26:55
573
原创 坑 - NES模拟器(1) - 读 ROM
NES.hpp#ifndef _WXWIDGETS_NES_#define _WXWIDGETS_NES_#include #include "MyMarco.h"#include "mapper.hpp"#define PRG_BLOCK_SIZE 0x4000#define PAT_BLOCK_SIZE 0x2000#define FETCH_CYCLES 0x8t
2014-08-11 21:02:11
2100
原创 渣
#include #include static int year = 0, day = 0; void init(void) { glClearColor (0.0, 0.0, 0.0, 0.0); glShadeModel (GL_FLAT);} void display(void){ glClear (GL_COLOR_BUFFER_BIT); gl
2014-08-11 20:56:22
425
原创 代码片-Demo 演示..
Direct7.h#ifndef ______G35IOSA__#define ______G35IOSA__#define _RGB32BIT(a,r,g,b) ((b) + ((g) << 8) + ((r) << 16) + ((a) << 24))#define _RGB16BIT555(r,g,b) ((b & 31) + ((g & 31) << 5) + ((r &
2014-06-20 21:00:22
1749
原创 关于 Direct Blt 0x887601AE (DDERR_SURFACEBUSY) 和函数指针
0x887601ae(0x887601ae, "DDERR_SURFACEBUSY", "Access to this surface is being refused because the surface is already locked by another thread.")
2014-05-18 22:16:48
1835
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人