mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-26 07:50:04 +00:00
Fixing a bug with the write in 0x0
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by anonymus-raccoon on 2/12/20.
|
||||
//
|
||||
|
||||
#include <criterion/criterion.h>
|
||||
#include <iostream>
|
||||
#include <bitset>
|
||||
#include "../tests.hpp"
|
||||
#include "../../sources/SNES.hpp"
|
||||
using namespace ComSquare;
|
||||
//
|
||||
//Test(STA, 8bits)
|
||||
//{
|
||||
// auto pair = Init();
|
||||
// pair.second.cpu->_registers.p.m = false;
|
||||
// pair.second.cpu->_registers.a = 0x11;
|
||||
// pair.second.cpu->STA(0x0);
|
||||
// auto data = pair.second.wram->_data[0];
|
||||
// cr_assert_eq(data, 0x11, "The stored value should be 0x11 but it was 0x%x.", data);
|
||||
//}
|
||||
Reference in New Issue
Block a user