Subversion Repositories Shiroi

Rev

Rev 19 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 21
Line 1... Line 1...
1
/* $Id: shiroi_video_mk_i.c 19 2024-08-29 07:16:04Z nishi $ */
1
/* $Id: shiroi_video_mk_i.c 21 2024-08-31 09:25:21Z nishi $ */
2
#include "shiroi_video_mk_i.h"
2
#include "shiroi_video_mk_i.h"
3
 
3
 
4
#include "shiroi.h"
4
#include "shiroi.h"
5
 
5
 
6
#include "tms9918util.h"
6
#include "tms9918util.h"
Line 17... Line 17...
17
 
17
 
18
	shiroi->cards[slot].video.vdp = vrEmuTms9918New();
18
	shiroi->cards[slot].video.vdp = vrEmuTms9918New();
19
	int x, y;
19
	int x, y;
20
	for(y = 0; y < TMS9918_PIXELS_Y; y++) {
20
	for(y = 0; y < TMS9918_PIXELS_Y; y++) {
21
		for(x = 0; x < TMS9918_PIXELS_X; x++) {
21
		for(x = 0; x < TMS9918_PIXELS_X; x++) {
22
			shiroi->cards[slot].video.fb[y * TMS9918_PIXELS_X + x] = 0;
22
			shiroi->cards[slot].video.fb[y * TMS9918_PIXELS_X + x];
23
		}
23
		}
24
	}
24
	}
25
}
25
}
26
 
26
 
27
void shiroi_video_mk_i_reset(shiroi_t* shiroi, int slot) {
27
void shiroi_video_mk_i_reset(shiroi_t* shiroi, int slot) {