diff options
author | twinaphex | 2017-08-14 08:06:11 +0200 |
---|---|---|
committer | twinaphex | 2017-08-14 08:06:11 +0200 |
commit | 78b32e05a8e3c221279ba40c8f19d762420be8a6 (patch) | |
tree | 522343d835ca7eec5ebae18c20ec35ac768250be /source/cpuexec.c | |
parent | 75dbfcb2348fb8f41feb5b9b1536d8525a47f9e3 (diff) | |
download | snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.gz snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.bz2 snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.zip |
C++ comments need to become C
Diffstat (limited to 'source/cpuexec.c')
-rw-r--r-- | source/cpuexec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/cpuexec.c b/source/cpuexec.c index fedb318..e031483 100644 --- a/source/cpuexec.c +++ b/source/cpuexec.c @@ -297,8 +297,8 @@ void S9xSetIRQ(uint32_t source) CPU.IRQCycleCount = 3; if (CPU.WaitingForInterrupt) { - // Force IRQ to trigger immediately after WAI - - // Final Fantasy Mystic Quest crashes without this. + /* Force IRQ to trigger immediately after WAI - + * Final Fantasy Mystic Quest crashes without this. */ CPU.IRQCycleCount = 0; CPU.WaitingForInterrupt = false; CPU.PC++; @@ -358,10 +358,10 @@ void S9xDoHBlankProcessing_SFX() if (CPU.V_Counter == PPU.ScreenHeight + FIRST_VISIBLE_LINE) { - // Start of V-blank + /* Start of V-blank */ S9xEndScreenRefresh(); IPPU.HDMA = 0; - // Bits 7 and 6 of $4212 are computed when read in S9xGetPPU. + /* Bits 7 and 6 of $4212 are computed when read in S9xGetPPU. */ PPU.ForcedBlanking = (Memory.FillRAM [0x2100] >> 7) & 1; if (!PPU.ForcedBlanking) @@ -488,10 +488,10 @@ void S9xDoHBlankProcessing_NoSFX() if (CPU.V_Counter == PPU.ScreenHeight + FIRST_VISIBLE_LINE) { - // Start of V-blank + /* Start of V-blank */ S9xEndScreenRefresh(); IPPU.HDMA = 0; - // Bits 7 and 6 of $4212 are computed when read in S9xGetPPU. + /* Bits 7 and 6 of $4212 are computed when read in S9xGetPPU. */ PPU.ForcedBlanking = (Memory.FillRAM [0x2100] >> 7) & 1; if (!PPU.ForcedBlanking) |