Fixed VRAM window not showing correctly if opened while the game is paused

This commit is contained in:
Lior Halphon 2017-05-27 12:52:31 +03:00
parent da852119de
commit 44b414d45f
1 changed files with 1 additions and 0 deletions

View File

@ -1195,6 +1195,7 @@ static void printImage(GB_gameboy_t *gb, uint32_t *image, uint8_t height,
- (IBAction)showVRAMViewer:(id)sender - (IBAction)showVRAMViewer:(id)sender
{ {
[self.vramWindow makeKeyAndOrderFront:sender]; [self.vramWindow makeKeyAndOrderFront:sender];
[self reloadVRAMData: nil];
} }
- (void) printImage:(uint32_t *)imageBytes height:(unsigned) height - (void) printImage:(uint32_t *)imageBytes height:(unsigned) height