# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1570021756 14400 # Node ID bfced396accaa84b13bd007d88b26a4211c7b430 # Parent 0c40b4e8270ec3e40f3b0586dcf65707e5156208 NES_ROM: style fix Switch around the order of a statment so it look like the other branch of the if. diff --git a/nes.py b/nes.py --- a/nes.py +++ b/nes.py @@ -46,8 +46,8 @@ self.PRG = body[0:PRG_size] if CHR_size == 0: # No chr, just read the whole ROM as tiles + self.CHR = None self.tile_data = list(body) - self.CHR = None else: self.CHR = body[PRG_size:PRG_size+CHR_size] self.tile_data = list(self.CHR)