Reverting

This commit is contained in:
AnonymusRaccoon
2020-02-13 18:37:43 +01:00
parent 41355191aa
commit ae5cae8f28
6 changed files with 80 additions and 40 deletions
+17 -6
View File
@@ -9,9 +9,20 @@
#include "../../sources/SNES.hpp"
#include "../../sources/Memory/MemoryBus.hpp"
using namespace ComSquare;
Test(SEP, setall)
{
auto pair = Init();
pair.second.cpu.SEP()
}
//
//Test(SEP, setall)
//{
// auto pair = Init();
// pair.second.wram->_data[0] = 0xFF;
// pair.second.cpu->SEP(0x0);
// auto data = pair.second.cpu->_registers.p.flags;
// cr_assert_eq(data, 0xFF, "The flag should be 0xFF but it was %b", data);
//}
//
//Test(SEP, setsome)
//{
// auto pair = Init();
// pair.second.wram->_data[0] = 0b10110101;
// pair.second.cpu->SEP(0x0);
// cr_assert_eq(pair.second.cpu->_registers.p.flags, 0xFF);
//}