Emulation of the 1970's Chip-8 machine. The emulator has 7 games that are unmodified from the original Chip-8 format.
Diff: LCD_ST7735/Base.h
- Revision:
- 0:bc3f11b1b41f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD_ST7735/Base.h Sun Feb 08 01:58:57 2015 +0000 @@ -0,0 +1,6 @@ +#ifndef __BASE_H__ +#define __BASE_H__ + +template <typename T> +void swap(T &a, T &b) { T t = a; a = b; b = t; } +#endif // __BASE_H__ \ No newline at end of file