Compare commits
10 Commits
5d3a653b2e
...
a17d7e6d41
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | a17d7e6d41 | |
Rekai Nyangadzayi Musuka | c73966135c | |
Rekai Nyangadzayi Musuka | be4396fb0d | |
Rekai Nyangadzayi Musuka | 5c7cd72bbb | |
Rekai Nyangadzayi Musuka | 628b7688cc | |
Rekai Nyangadzayi Musuka | 56029c5a1e | |
Rekai Nyangadzayi Musuka | a156a8763d | |
Rekai Nyangadzayi Musuka | 131d3fd6bd | |
Rekai Nyangadzayi Musuka | 9992acfb55 | |
Rekai Nyangadzayi Musuka | a2e93b98ce |
|
@ -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.11.0-dev.144+892fb0fc8](https://github.com/ziglang/zig/tree/892fb0fc8)
|
Most recently built on Zig [v0.10.0](https://github.com/ziglang/zig/tree/0.10.0)
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
|
|
|
@ -652,7 +652,9 @@ 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);
|
||||||
|
|
||||||
const opcode = self.stage[0];
|
// FIXME: https://github.com/ziglang/zig/issues/12642
|
||||||
|
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