chore: instantly refill the pipeline on flush
I believe this to be necessary in order to get hardware interrupts working. thumb.gba test 108 fails but I'm committing anyways (despite the regression) because this is kind of rebase/merge hell and I have something that at least sort of works rn
This commit is contained in:
		@@ -183,6 +183,7 @@ pub const Logger = struct {
 | 
			
		||||
 | 
			
		||||
    pub fn print(self: *Self, comptime format: []const u8, args: anytype) !void {
 | 
			
		||||
        try self.buf.writer().print(format, args);
 | 
			
		||||
        try self.buf.flush(); // FIXME: On panics, whatever is in the buffer isn't written to file
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn mgbaLog(self: *Self, cpu: *const Arm7tdmi, opcode: u32) void {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user