diff --git a/desmume/src/MMU.cpp b/desmume/src/MMU.cpp index 2ef2caf..5c8bb1e 100755 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -1928,7 +1928,7 @@ static INLINE u16 read_timer(int proc, int timerIndex) //for unchained timers, we do not keep the timer up to date. its value will need to be calculated here s32 diff = (s32)(nds.timerCycle[proc][timerIndex] - nds_timer); - assert(diff>=0); + //assert(diff>=0); if(diff<0) printf("NEW EMULOOP BAD NEWS PLEASE REPORT: TIME READ DIFF < 0 (%d) (%d) (%d)\n",diff,timerIndex,MMU.timerMODE[proc][timerIndex]); diff --git a/iNDS/AppDelegate.m b/iNDS/AppDelegate.m index 031d6e8..88eb927 100755 --- a/iNDS/AppDelegate.m +++ b/iNDS/AppDelegate.m @@ -258,10 +258,8 @@ - (NSString *)batteryDir - (NSString *)documentsPath { if ([self isSystemApplication]) { - NSLog(@"You're System!"); return [[self rootDocumentsPath] stringByAppendingPathComponent:@"iNDS"]; } else { - NSLog(@"Not System"); return [self rootDocumentsPath]; } } @@ -320,7 +318,7 @@ - (void)moveFolderAtPath:(NSString *)oldDirectory toPath:(NSString *)newDirector } -(BOOL)isSystemApplication { - return [[[[NSBundle mainBundle] executablePath] pathComponents][0] isEqualToString:@"applications"]; + return [[[[NSBundle mainBundle] executablePath] pathComponents][1] isEqualToString:@"db"]; } - (void)applicationWillResignActive:(UIApplication *)application diff --git a/iNDS/MainStoryboard.storyboard b/iNDS/MainStoryboard.storyboard index d235ce8..fa2f3d3 100755 --- a/iNDS/MainStoryboard.storyboard +++ b/iNDS/MainStoryboard.storyboard @@ -254,7 +254,7 @@