Permalink
Browse files

Cosmetics (whitespace, comment)

  • Loading branch information...
mrehkopf committed Oct 2, 2018
1 parent 24245f4 commit 6fd109834bcff4672f3770f15e58a822758ac4bc
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/main.c
  2. +1 −1 src/smc.c
View
@@ -70,7 +70,7 @@ int main(void) {
BITBAND(SNES_CIC_PAIR_REG->FIOSET, SNES_CIC_PAIR_BIT) = 1;
LPC_GPIO0->FIODIR = BV(16);
/* disable pull-up on fake USB_CONNECT pin (P4.28), set P1.30 to VBUS */
/* disable pull-up on fake USB_CONNECT pin (P4.28), set P1.30 function to VBUS */
LPC_PINCON->PINMODE9 |= BV(25);
LPC_PINCON->PINSEL3 |= BV(29);
LPC_PINCON->PINMODE3 |= BV(29);
View
@@ -189,7 +189,7 @@ void smc_id(snes_romprops_t* props) {
else if (header->map == 0x20 && ((header->carttype >= 0x13 && header->carttype <= 0x15) ||
header->carttype == 0x1a)) {
props->has_gsu = 1;
props->has_gsu_sram = (header->carttype == 0x15 || header->carttype == 0x1a) ? 1 : 0;
props->has_gsu_sram = (header->carttype == 0x15 || header->carttype == 0x1a) ? 1 : 0;
props->fpga_conf = FPGA_GSU;
props->fpga_dspfeat = CFG.gsu_speed;
header->ramsize = header->expramsize & 0x7;

0 comments on commit 6fd1098

Please sign in to comment.