Subversion Repositories Shiroi

Rev

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

Rev 22 Rev 29
Line 1... Line 1...
1
/* $Id: shiroi_debug.c 22 2024-08-31 10:44:32Z nishi $ */
1
/* $Id: shiroi_debug.c 29 2024-08-31 17:41:43Z nishi $ */
2
#include "shiroi_debug.h"
2
#include "shiroi_debug.h"
3
 
3
 
4
#include "shiroi.h"
4
#include "shiroi.h"
5
 
5
 
6
#include <stdlib.h>
6
#include <stdlib.h>
Line 12... Line 12...
12
	int i;
12
	int i;
13
	for(i = 0; i < 4; i++) shiroi->cards[slot].debug.latch[i] = 0xff;
13
	for(i = 0; i < 4; i++) shiroi->cards[slot].debug.latch[i] = 0xff;
14
}
14
}
15
 
15
 
16
void shiroi_debug_reset(shiroi_t* shiroi, int slot) {
16
void shiroi_debug_reset(shiroi_t* shiroi, int slot) {
17
	shiroi->cards[slot].text.key = 0;
17
	int i;
18
	shiroi->cards[slot].text.caps = false;
18
	for(i = 0; i < 4; i++) shiroi->cards[slot].debug.latch[i] = 0xff;
19
}
19
}
20
 
20
 
21
void shiroi_debug(shiroi_t* shiroi) {
21
void shiroi_debug(shiroi_t* shiroi) {
22
	int i;
22
	int i;
23
 
23