mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 15:18:44 +00:00
Reverting
This commit is contained in:
@@ -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);
|
||||
//}
|
||||
Reference in New Issue
Block a user