SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 1d7692cff5552e296be5e1ab075c4f187f57132c parent a5325d3374ff9b7d3901df5be213c089f3aa420a Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 11 Jul 2021 23:12:46 +0300 Fix blurry VRAM viewer grid lines Diffstat:
| M | Cocoa/Document.m | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Cocoa/Document.m b/Cocoa/Document.m @@ -691,7 +691,11 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) window_frame.size.height); [self.mainWindow setFrame:window_frame display:YES]; self.vramStatusLabel.cell.backgroundStyle = NSBackgroundStyleRaised; - + + NSUInteger height_diff = self.vramWindow.frame.size.height - self.vramWindow.contentView.frame.size.height; + CGRect vram_window_rect = self.vramWindow.frame; + vram_window_rect.size.height = 384 + height_diff + 48; + [self.vramWindow setFrame:vram_window_rect display:YES animate:NO]; self.consoleWindow.title = [NSString stringWithFormat:@"Debug Console – %@", [self.fileURL.path lastPathComponent]];
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.