Commits

spencercw committed 1c00313

Fix line endings.

Comments (0)

Files changed (2)

gb_emulator/include/gb_emulator/gb_video.hpp

 
 	//! Redraws the display.
 	/**
-	 * \param pixelBuffer The screen buffer of pixels to draw. This buffer is \c WIDTH * \c HEIGHT
-	 * pixels in size. Each value contains either a 15-bit Game Boy Color RGB colour value or a DMG
+	 * \param pixelBuffer The screen buffer of pixels to draw. This buffer is \c WIDTH * \c HEIGHT
+	 * pixels in size. Each value contains either a 15-bit Game Boy Color RGB colour value or a DMG
 	 * palette and index value depending on the value of \c gbc. If it is a DMG value the lower
 	 * 8-bits contain the palette and bits 8-9 contain the palette index.
 	 * \param gbc Whether the emulator is running in GBC of DMG mode. This specifies the format of

gb_emulator/src/gb_video.cpp

 			if (x < 0 || x >= 160)
 				continue;
 
-			// Calculate the value of the pixel. This is a 2-bit number which acts as an index into
+			// Calculate the value of the pixel. This is a 2-bit number which acts as an index into
 			// the colour palette
 			uint8_t value = ((tileLine & (1 << (15 - j))) >> (14 - j)) |
 			                ((tileLine & (1 << (7  - j))) >> (7  - j));