Since r3947 ctrlssdl.h breaks the build with a compile
error in build environments that don't have GL.h such as
Mac OS.
[xrmx: define screen_texture anyway to be on the safe side]
Based from a patch from Sidney Markowitz in #3288504
From Roger Manual, #3259154:
BUGFIXES:
- Fixed the bug tracker website link used by the "Submit a Bug Report" command
in the Help menu.
- Fixed issue where if one of the text files used for the About window was
missing from the DeSmuME/Contents/Resources folder, then the entire panel
didn't show.
CHANGES:
- Frame skipping options have been removed in this release. The way it works
now, drawing a frame in Cocoa takes an insignificant amount of time. In other
words, skipping Cocoa frames does NOT yield any significant speed improvement.
It may be possible to gain speed by skipping frames in the actual NDS GPU
rendering, but this is an emulation engine issue, not a Cocoa frontend issue.
- Added OBJ layer toggling in the View/Layers menu.
- Files are now saved in more logical locations. Save states slot files are now
saved in "~/Library/Application Support/DeSmuME/(DeSmuME version number)/States".
All other files (like battery files) are now saved in the same directory as the ROM.
DEVELOPER:
- Added Application Creator Code for DeSmuME. Registered 'DSmM' with Apple.
- Reworked the execution loop for better maintainability.
- Preliminary code refactoring for better DS controller function. Cocoa DeSmuME now
uses the NDS_beginProcessingInput() and NDS_endProcessingInput() functions, which
helps input support for some games. Note that this change probably breaks support
for PowerPC Macs, but I don't know if we should be supporting PowerPC Macs anyways...
xrmx: I'm not able to build this with xcode because 10.4 SDK does not like gcc4.2 but
the cocoa stuff builds fine in cocoa so applying it.
The conflicting macro is the check() assertion macro defined
in Apple's CoreFoundation framework, specifically in the
AssertMacros.h file.
Unfortunately, this file must be included in the Cocoa port.
From rogerman in bug #3259154
Apply pengvado pthread backend for task. We are probably
not gaining that much but it is better than a stub :)
Removed the rasterize.cpp hunk sice zeromus likes it more
as it is now.
Patch from #3203082.
From: Loren Merritt <pengvado@akuvian.org>
On some systems SDL_SetVideoMode resets OpenGL context,
dropping the screen texture and leading to glTexSubimage2D
failure when using the --opengl-2d switch.
Attached patch reinitialized OpenGL after window resize.
This is a forward port of Jakub Higersberger patch at
#2839785. This fix the broken resize with cli frontend
reported in #3195218.
Simplify and make the fps limit behave better.
From: Thomas Jones <thomas.jones@utoronto.ca>
[rm: remove fps_limiter_frame_period now unused and fixup whitespace]
AC_CANONICAL_TARGET is for compilers, desmume is not a compiler. It
figures out what platform the compiler should generate binaries for.
AC_CANONICAL_HOST is for figuring out what platform you will run on.
From: Thomas Jones <thomas.jones@utoronto.ca>