Compare commits
11 Commits
a17d7e6d41
...
5d3a653b2e
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 5d3a653b2e | |
Rekai Nyangadzayi Musuka | ee4149716a | |
Rekai Nyangadzayi Musuka | 2405ba2f7d | |
Rekai Nyangadzayi Musuka | ce1c670ba1 | |
Rekai Nyangadzayi Musuka | 8b9d06915e | |
Rekai Nyangadzayi Musuka | f1758e8426 | |
Rekai Nyangadzayi Musuka | 91427aa920 | |
Rekai Nyangadzayi Musuka | 03b2648f16 | |
Rekai Nyangadzayi Musuka | f6f9d3eb8d | |
Rekai Nyangadzayi Musuka | 0ccbd02964 | |
Rekai Nyangadzayi Musuka | 1230aa1e91 |
|
@ -63,7 +63,7 @@ Finally it's worth noting that ZBA uses a TOML config file it'll store in your O
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
||||||
Most recently built on Zig [v0.10.0](https://github.com/ziglang/zig/tree/0.10.0)
|
Most recently built on Zig [v0.11.0-dev.144+892fb0fc8](https://github.com/ziglang/zig/tree/892fb0fc8)
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
|
|
|
@ -652,9 +652,7 @@ const Pipeline = struct {
|
||||||
pub fn step(self: *Self, cpu: *Arm7tdmi, comptime T: type) ?u32 {
|
pub fn step(self: *Self, cpu: *Arm7tdmi, comptime T: type) ?u32 {
|
||||||
comptime std.debug.assert(T == u32 or T == u16);
|
comptime std.debug.assert(T == u32 or T == u16);
|
||||||
|
|
||||||
// FIXME: https://github.com/ziglang/zig/issues/12642
|
const opcode = self.stage[0];
|
||||||
var opcode = self.stage[0];
|
|
||||||
|
|
||||||
self.stage[0] = self.stage[1];
|
self.stage[0] = self.stage[1];
|
||||||
self.stage[1] = cpu.fetch(T, cpu.r[15]);
|
self.stage[1] = cpu.fetch(T, cpu.r[15]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue