Start undoing C++ comments

This commit is contained in:
retro-wertz
2017-10-15 02:07:42 +08:00
parent e428160996
commit ebca2248d0
75 changed files with 641 additions and 582 deletions

View File

@@ -57,7 +57,7 @@ static DECLFW(S74LS374NWrite) {
static DECLFR(S74LS374NRead) {
uint8 ret;
if ((A & 0x4100) == 0x4100)
// ret=(X.DB&0xC0)|((~cmd)&0x3F);
/* ret=(X.DB&0xC0)|((~cmd)&0x3F); */
ret = ((~cmd) & 0x3F) ^ dip;
else
ret = X.DB;
@@ -135,7 +135,7 @@ static void S8259Synco(void) {
int x;
setprg32(0x8000, latch[5] & 7);
if (!UNIFchrrama) { // No CHR RAM? Then BS'ing is ok.
if (!UNIFchrrama) { /* No CHR RAM? Then BS'ing is ok. */
for (x = 0; x < 4; x++) {
int bank;
if (latch[7] & 1)
@@ -191,7 +191,7 @@ static void S8259Restore(int version) {
S8259Synco();
}
void S8259A_Init(CartInfo *info) { // Kevin's Horton 141 mapper
void S8259A_Init(CartInfo *info) { /* Kevin's Horton 141 mapper */
info->Power = S8259Reset;
GameStateRestore = S8259Restore;
AddExState(latch, 8, 0, "LATC");
@@ -199,7 +199,7 @@ void S8259A_Init(CartInfo *info) { // Kevin's Horton 141 mapper
type = 0;
}
void S8259B_Init(CartInfo *info) { // Kevin's Horton 138 mapper
void S8259B_Init(CartInfo *info) { /* Kevin's Horton 138 mapper */
info->Power = S8259Reset;
GameStateRestore = S8259Restore;
AddExState(latch, 8, 0, "LATC");
@@ -207,7 +207,7 @@ void S8259B_Init(CartInfo *info) { // Kevin's Horton 138 mapper
type = 1;
}
void S8259C_Init(CartInfo *info) { // Kevin's Horton 139 mapper
void S8259C_Init(CartInfo *info) { /* Kevin's Horton 139 mapper */
info->Power = S8259Reset;
GameStateRestore = S8259Restore;
AddExState(latch, 8, 0, "LATC");
@@ -215,7 +215,7 @@ void S8259C_Init(CartInfo *info) { // Kevin's Horton 139 mapper
type = 2;
}
void S8259D_Init(CartInfo *info) { // Kevin's Horton 137 mapper
void S8259D_Init(CartInfo *info) { /* Kevin's Horton 137 mapper */
info->Power = S8259Reset;
GameStateRestore = S8259Restore;
AddExState(latch, 8, 0, "LATC");
@@ -317,7 +317,7 @@ void SA0037_Init(CartInfo *info) {
AddExState(&latch[0], 1, 0, "LATC");
}
// -----------------------------------------------
/* ----------------------------------------------- */
static void TCU01Synco() {
setprg32(0x8000, ((latch[0] & 0x80) >> 6) | ((latch[0] >> 2) & 1));
@@ -348,7 +348,7 @@ void TCU01_Init(CartInfo *info) {
AddExState(&latch[0], 1, 0, "LATC");
}
//-----------------------------------------------
/* ----------------------------------------------- */
static void TCU02Synco() {
setprg32(0x8000, 0);
@@ -384,7 +384,7 @@ void TCU02_Init(CartInfo *info) {
AddExState(&latch[0], 1, 0, "LATC");
}
// ---------------------------------------------
/* --------------------------------------------- */
static DECLFR(TCA01Read) {
uint8 ret;