diff --git a/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm b/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm index 80fdc95a4..49d935bf4 100644 --- a/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm +++ b/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm @@ -92,7 +92,7 @@ class EmuTOS: public CPU::MC68000::BusHandler { // Put teardown code here. This method is called after the invocation of each test method in the class. } -- (void)testExample { +- (void)testStartup { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct results. _machine->run_for(HalfCycles(4000)); diff --git a/Processors/68000/Implementation/68000Storage.cpp b/Processors/68000/Implementation/68000Storage.cpp index c49ba4422..c7039e33d 100644 --- a/Processors/68000/Implementation/68000Storage.cpp +++ b/Processors/68000/Implementation/68000Storage.cpp @@ -502,7 +502,7 @@ struct ProcessorStorageConstructor { // if(mode == 0x03) { // op(int(Action::Increment4) | MicroOp::DestinationMask); // } - break; + continue; case 0x004: // ADD/SUB.bw Dn, -(An) // op( int(is_byte_access ? Action::Decrement1 : Action::Decrement2) | MicroOp::SourceMask, @@ -859,7 +859,7 @@ struct ProcessorStorageConstructor { default: // (An), (An)+, -(An), (d16, An), (d8, An Xn), (xxx).W, (xxx).L storage_.instructions[instruction].source = &storage_.source_bus_data_[0]; - storage_.instructions[instruction].source_address = &storage_.source_bus_data_[source_register]; + storage_.instructions[instruction].source_address = &storage_.address_[source_register]; break; } @@ -874,7 +874,7 @@ struct ProcessorStorageConstructor { default: // (An), (An)+, -(An), (d16, An), (d8, An Xn), (xxx).W, (xxx).L storage_.instructions[instruction].destination = &storage_.destination_bus_data_[0]; - storage_.instructions[instruction].destination = &storage_.source_bus_data_[destination_register]; + storage_.instructions[instruction].destination = &storage_.address_[destination_register]; break; }