1. spencercw
  2. gb_emulator

Commits

spencercw  committed 9c5463a

Fix unit tests.

  • Participants
  • Parent commits 80e05df
  • Branches default

Comments (0)

Files changed (1)

File tests/emulator_tests/cpu_test.cpp

View file
 class MockGbMemory: public GbMemory
 {
 public:
-	MOCK_CONST_METHOD1(read, uint8_t(uint16_t ptr));
-	MOCK_METHOD2(write, void(uint16_t ptr, uint8_t val));
+	MOCK_METHOD0(reset, void ());
+	MOCK_CONST_METHOD1(read, uint8_t (uint16_t ptr));
+	MOCK_METHOD2(write, void (uint16_t ptr, uint8_t val));
 	MOCK_CONST_METHOD0(vram, const uint8_t * ());
 	MOCK_METHOD0(vram, uint8_t * ());
 	MOCK_CONST_METHOD0(extRam, const uint8_t * ());