mirror of https://github.com/mgba-emu/mgba.git
GB: Remove faulty debug logging
This commit is contained in:
parent
5dbe240442
commit
084b56b3bf
|
@ -854,13 +854,6 @@ static void _GBAdvanceCycles(struct GB* gb) {
|
||||||
|
|
||||||
void GBProcessEvents(struct SM83Core* cpu) {
|
void GBProcessEvents(struct SM83Core* cpu) {
|
||||||
struct GB* gb = (struct GB*) cpu->master;
|
struct GB* gb = (struct GB*) cpu->master;
|
||||||
#ifndef NDEBUG
|
|
||||||
int stateMask = (4 * (2 - gb->doubleSpeed)) - 1;
|
|
||||||
int state = (mTimingGlobalTime(&gb->timing) & stateMask) >> !gb->doubleSpeed;
|
|
||||||
if (((state + 3) & 3) != (cpu->executionState & 3)) {
|
|
||||||
mLOG(GB, ERROR, "T-states and M-cycles became misaligned");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
bool wasHalted = cpu->halted;
|
bool wasHalted = cpu->halted;
|
||||||
while (true) {
|
while (true) {
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue