You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.

#1 Re: Support » [MAC] Problems loading ROMs after upgrading to Mountain Lion » 2012-08-02 18:13:23

it was fixed by songohan155

Remember, this is an unofficial build, so use it at your own risk. Also, since I don't have a developer id,  the application is not digitally signed. Therefore, with Gatekeeper's default security settings it won't run. Just right click on desmune and select "open" to bypass it (or just disable gatekeeper).
http://www.mediafire.com/?csy4wg7egl1hh56

#3 Re: Support » Desmume 0.9.8 and Mac OS X Mountain Lion Golden Master » 2012-07-30 17:47:55

could you upload a fixed binary in sendfile or mediafire or wherever you like a copy of the fixed binary???


songohan155 wrote:

I had the same issue when I upgraded my macbook to osx 10.8. For this reason, I had a look the  the code and  I've found what's wrong .
It seems that OSX's lion noes requires each app to specify the opengl profile at initalisation. For this reason, I have set the view to use opengl's legacy profile (not 3.2 core) in the displayView.mm file. Now Desmune video output is working again in osx 10.8:-)

- (id)initWithCoder:(NSCoder *)aDecoder
{
	self = [super init];
	if (self == nil)
	{
		return self;
	}
	
    NSOpenGLPixelFormatAttribute pixelFormatAttributes[] =
    {
        NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersionLegacy,
        0
    };
   
    
	dispViewDelegate = nil;
	lastFrameSize = NSMakeSize(GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT * 2.0);
	glTexPixelFormat = GL_UNSIGNED_SHORT_1_5_5_5_REV;
	glTexRenderStyle = GL_LINEAR;
	
	UInt32 w = GetNearestPositivePOT((UInt32)lastFrameSize.width);
	UInt32 h = GetNearestPositivePOT((UInt32)lastFrameSize.height);
	glTexBack = (GLvoid *)calloc(w * h, sizeof(UInt16));
	glTexBackSize = NSMakeSize(w, h);
    
    NSOpenGLPixelFormat *pixelFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:pixelFormatAttributes] autorelease];
    NSOpenGLContext* openGLContext = [[[NSOpenGLContext alloc] initWithFormat:pixelFormat shareContext:nil] autorelease];
    [super initWithCoder:aDecoder];
    [self setOpenGLContext:openGLContext];
    [openGLContext makeCurrentContext];
  
   
    return self;
}

http://img571.imageshack.us/img571/4458/desmuneosx108.png

Uploaded with ImageShack.us

Can the DeSmenu Mac team members    confirm this "patch" works for them?



could you upload a fixed binary in sendfile or mediafire or wherever you like a copy of the fixed binary???

Board footer

Powered by FluxBB