Skip to content

Instantly share code, notes, and snippets.

diff --git a/OpenEmuSystem/OEBindingsController.m b/OpenEmuSystem/OEBindingsController.m
index 25aaa42..98735d5 100644
--- a/OpenEmuSystem/OEBindingsController.m
+++ b/OpenEmuSystem/OEBindingsController.m
@@ -140,6 +140,10 @@ static NSString *configurationsFolderPath = nil;
[self OE_setupBindingsController];
[self OE_setupNotificationObservation];
[bindingsControllers setObject:self forKey:configurationName];
+
+ dispatch_after(1.0, dispatch_get_main_queue(), ^{
NSTimeInterval tempQuickSaveTime = _lastQuickSave;
_lastQuickSave = [NSDate timeIntervalSinceReferenceDate];
[self render];
CGLLockContext(cgl_ctx);
{
glReadPixels((frameSize.width - textureNSSize.width) / 2,
(frameSize.height - textureNSSize.height) / 2,
textureIntSize.width, textureIntSize.height,
GL_RGB, GL_UNSIGNED_BYTE, [imageRep bitmapData]);
}
- (void)downloadCoverArt:(id)sender
{
[[self selectedGames] makeObjectsPerformSelector:@selector(requestCoverDownload)];
[self reloadDataIndexes:[self selectedIndexes]];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.05 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self downloadCoverArt:sender];
});
}
2014-03-03 19:44:06.141 OpenEmu[63251:12207] *** Terminating app due to uncaught exception 'CSCannotOpenFileException', reason: 'Error attempting to open file "....../Mickey's Safari in Letterland.nes" in mode "rb".'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff90e8b25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff91e4be75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff90e8b10c +[NSException raise:format:] + 204
3 XADMaster 0x00000001014c64ad +[XADFileHandle fileHandleForPath:modes:] + 125
4 XADMaster 0x00000001014c03d1 +[XADArchiveParser archiveParserForPath:] + 52
5 XADMaster 0x00000001014fbe1d -[XADArchive initWithFile:delegate:error:] + 81
6 XADMaster 0x00000001014fbb8a +[XADArchive archiveForFile:] + 48
2013-08-05 10:42:16.257 OpenEmu[4093:a403] *** Assertion failure in -[OESystemBindings OE_playerBindings:didSetDeviceEvent:forKey:], /Users/chris/Shared/Development/OpenEmu/OpenEmu-SDK/OpenEmuSystem/OESystemBindings.m:682
2013-08-05 10:42:16.258 OpenEmu[4093:a403] An uncaught exception was raised
2013-08-05 10:42:16.259 OpenEmu[4093:a403] Controller type 'OEControllerRetrode' does not recognize the event '<OEHIDEvent 0x1064b8220 pad=0x1060ba220 type=Button number=1 state=On 'Button 1' cookie=25>', when attempting to set the key with name: 'OESNESButtonUp'.
2013-08-05 10:42:16.259 OpenEmu[4093:a403] (
0 CoreFoundation 0x00007fff8ca6dd7c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff9023ae15 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8ca6dbd8 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff8e5e65a4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:descripti
2013-07-30 13:13:55.817 OpenEmu[37723:303] OELibraryDatabase loadFromURL:file://localhost/Users/chris/Library/Application%20Support/OpenEmu/Game%20Library/
2013-07-30 13:13:55.873 OpenEmu[37723:303] -[OELibraryDatabase loadPersistantStoreWithError:]: ROMS folder url: ./roms/ -- file://localhost/Users/chris/Library/Application%20Support/OpenEmu/Game%20Library/
2013-07-30 13:13:56.158 OpenEmu[37723:303] Database did not change. Skip Saving.
2013-07-30 13:13:59.241 OpenEmu[37723:303] Found device: void OEHandle_DeviceMatchingCallback(void *, IOReturn, void *, IOHIDDeviceRef)( context: 0x101750d30, result: 0, sender: 0x101759a30, device: 0x10176ad00 ).
2013-07-30 13:13:59.242 OpenEmu[37723:303] Apple Keyboard
2013-07-30 13:14:17.654 OpenEmu[37723:303] TSMProcessRawKeyCode failed (-192)
2013-07-30 13:14:17.988 OpenEmu[37723:303] (
0 CoreFoundation 0x00007fff8b476b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff869c53f0 objc_exception_throw + 43
2 CoreFo
Process: OpenEmu [23509]
Path: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu
Identifier: org.openemu.OpenEmu
Version: 1.0.0b9
Code Type: X86-64 (Native)
Parent Process: launchd [123]
User ID: 501
Date/Time: 2013-03-04 23:11:00.825 +0100
OS Version: Mac OS X 10.8.2 (12C60)
Process: OpenEmu [22776]
Path: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu
Identifier: org.openemu.OpenEmu
Version: 1.0.0b9
Code Type: X86-64 (Native)
Parent Process: launchd [123]
User ID: 501
Date/Time: 2013-03-04 22:48:41.788 +0100
OS Version: Mac OS X 10.8.2 (12C60)
@cyco
cyco / gist:5085758
Created March 4, 2013 21:17
import crash again
Process: OpenEmu [20895]
Path: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu
Identifier: org.openemu.OpenEmu
Version: 1.0.0b9
Code Type: X86-64 (Native)
Parent Process: launchd [123]
User ID: 501
Date/Time: 2013-03-04 22:03:34.204 +0100
OS Version: Mac OS X 10.8.2 (12C60)
2012-12-05 13:47:00.367 OpenEmu[14929:303] -[OESetupAssistant loadView]: for volume file://localhost/Volumes/RETRODE/, store information is {
ActualScanCount = 0;
AvoidedCatchupScan = 1;
"BACKUP_STORE_GENERATION_BATCH" = 0;
"BACKUP_STORE_GENERATION_VALUE" = 0;
BackupActive = 0;
BackupFinishing = 0;
BackupStore = 0;
CurrentlyIndexing = 0;
CurrentlyPrescanning = 0;