feat: rename ARM and THUMB SWI functions

This commit is contained in:
2022-02-04 04:20:14 -04:00
parent 1b8db0c427
commit b233981a34
3 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ const Bus = @import("../../Bus.zig");
const Arm7tdmi = @import("../../cpu.zig").Arm7tdmi;
const InstrFn = @import("../../cpu.zig").ThumbInstrFn;
pub fn format17() InstrFn {
pub fn thumbSoftwareInterrupt() InstrFn {
return struct {
fn inner(cpu: *Arm7tdmi, _: *Bus, _: u16) void {
// Copy Values from Current Mode