Commit Graph

4339 Commits

Author SHA1 Message Date
mtabachenko 31b7f554b9 winport:
- add hotkeys for change JIT block size; (default: Ctrl+Numpad+, Ctrl+Numpad-);
2013-04-15 20:23:04 +00:00
rogerman 3982cdb90e Cocoa Port:
- In the Xcode 4 project, enable LTO for the OS X App Release Build and OpenEmu Plug-in build targets.
2013-04-15 19:50:34 +00:00
mtabachenko 9bfbbb1441 winport:
- add "jit block size" field in Emulation Settings dialog;
2013-04-15 19:49:36 +00:00
rogerman e5c8509ad1 - Fix compiling of SoundTouch library when using GCC or Clang compilers.
- Fix detectCPUextensions() to work with 64-bit processors and certain compiler optimizations like LTO. We do this because the current version of the SoundTouch library (v1.7.0) uses cpuid for the CPU detection, which may not be available on all compilers.
2013-04-15 18:04:58 +00:00
zeromus 982cc77111 update soundtouch library sources 2013-04-15 16:05:18 +00:00
zeromus 734ed9a271 add ImageHasSafeExceptionHandlers=false to vs2012 sln to make it buildable (this was due to incorporation of a zlib built by old msvc) 2013-04-15 16:00:14 +00:00
mtabachenko 2db82d334c JIT:
- fix OP_SMLAW_B instruction in 32 bit mode (test on Golden Sun Dark Dawn);
2013-04-14 16:09:21 +00:00
mtabachenko 6989113b71 JIT:
- fix OP_SMLAW_B in 32 bit mode (test on Golden Sun Dark Dawn);
2013-04-14 16:04:54 +00:00
mtabachenko 440c666545 JIT:
- fix timings broken in r4561;
2013-04-14 08:45:43 +00:00
squall-leonhart c482d90d8a this fixes up the VS2012 debug property groups.
unlike vs2010, vs2012 will set the toolset property group in order to differentiate itself from vs2010 (and 2012 has 2 toolsets, v110 and v110_xp
this commit also changes the toolset to v110_xp (since some  people actually want to run vs2012 builds on XP (shock; horror)

anyway, because vs2012 sets the property group, the property group condition lines ending in /> were buggering up loading the file in vs2012, so these have been corrected and the required </PropertyGroup> lines have been inserted
2013-04-14 02:13:27 +00:00
rogerman 749badfd22 Cocoa Port:
- Add support for separating the DS screens while in Combo display mode.
2013-04-12 04:25:52 +00:00
rogerman d6c2dfa7dc Cocoa Port (OpenEmu Plug-in):
- Fix type in plist.
2013-04-11 23:51:17 +00:00
rogerman defb771f8a Cocoa Port (OpenEmu Plug-in):
- Update copyright year in plist.
- Add Sparkle properties in plist.
2013-04-11 23:34:45 +00:00
rogerman ae7f6c76d0 Cocoa Port (OpenEmu Plug-in):
- Fix bug where the display aspect ratio was incorrect.
- Update code to match the latest changes to the OpenEmu SDK.
- Do some code cleanup.

The method for building the OpenEmu Plug-in has changed. Please refer to this link for the newest build procedure:
http://wiki.desmume.org/index.php?title=Installing_DeSmuME_from_source_on_OS_X
2013-04-11 22:49:46 +00:00
rogerman bd571202e1 Cocoa Port:
- New feature: Audio files may now be used as audio generators for microphone input. Any Core Audio supported audio format may be used.
- New feature: A sine wave tone audio generator is now available as a microphone input.
- Fix bug where retrieving input device info from a CommandAttributes struct would retrieve garbage values if an object value was nil.
- Fix bug where editing input settings would immediately change the input device info state, instead of waiting for user confirmation as intended.
- Decouple the audio sample generation code from the microphone handling code.
- Do some code cleanup.
2013-04-10 21:59:55 +00:00
rogerman cc767726aa Cocoa Port:
- Fix bug where where nil profile names were unhandled.
- Prevent the user from continuing if a blank profile name is entered.
2013-04-04 07:17:18 +00:00
rogerman 41a4ee009f Cocoa Port:
- New feature: Users can now save and restore their favorite input settings as an "Input Profile". This feature may be accessed in the Input section in DeSmuME > Preferences.
2013-04-04 01:21:21 +00:00
squall-leonhart 02f7b9f030 my cleanup prevented the vcproj file from starting correctly because i added </PropertyGroup> for the Debug profile lines
this isn't required as these lines end in />
2013-04-01 13:11:00 +00:00
squall-leonhart 15470b2fe7 VCXproj cleanups for 2010 and 2012, no functional change 2013-04-01 12:54:01 +00:00
mtabachenko c542768e68 JIT:
- add commend line option to set max block size [1..100] (1-accuracy, 100-faster);
2013-03-31 22:20:06 +00:00
mtabachenko 59ff024507 JIT:
- fix typo;
2013-03-31 13:26:44 +00:00
mtabachenko 7033fcbf86 JIT:
- refactoring some code;
- fix & make static some timings;
2013-03-31 12:50:58 +00:00
rogerman 2ae5f548f9 Cocoa Port:
- In coreaudiosound.cpp, do not use deprecated Component Manager functions when running on OS X v10.6 or later.
- When checking the OS version, read SystemVersion.plist only once.
- Move the lowest-level utility functions to their own file, utilities.c.
- Geometry-based utility functions no longer take NSPoint and NSSize parameters, instead favoring raw double values.
- Disable JIT in the Legacy port, since it no longer works there and is too low priority an issue to make working again.
- Do a bunch of code cleanup.
2013-03-28 22:37:38 +00:00
zeromus e4d487bf14 implement BKPT instruction better 2013-03-25 20:41:41 +00:00
rogerman 2815eaf0af Cocoa Port:
- Fix compiling when using the Xcode 3 project.
2013-03-17 02:20:00 +00:00
rogerman 98ed8e83e6 Cocoa Port:
- Fix bug where the menu hotkeys for File > Load State Slot and File > Save State Slot weren't being passed to the event manager.
2013-03-13 23:02:27 +00:00
rogerman 12dc048a63 Cocoa Port:
- Fix a crashing bug where making the build using Xcode 4 would crash on OS X versions earlier than v10.7 (missing _strnlen() function).
2013-03-13 07:34:09 +00:00
rogerman b78553cca8 Cocoa Port:
- Fix a performance bug where CocoaDSDisplay objects weren't properly frameskipping.
- Fix compiling when building on a machine running Leopard.
2013-03-13 05:04:12 +00:00
rogerman a18082d29b Cocoa Port:
- Fix a crashing bug that can sometimes occur when removing an input mapping.
- Make command names and input setting strings localizable.
- Do some minor code cleanup.
2013-03-12 21:14:34 +00:00
rogerman 5cd1cdef80 Cocoa Port:
- Users can now take advantage of the new input handling system with a completely redesigned user interface. Check it out in the input preferences!
- New feature: Touch input can be mapped to any input device. In addition, touch coordinates can now be user-defined.
- New feature: Multiple inputs may be assigned to the same command at the same time.
- Enhancement: It is now possible to remove all input mappings from a command.
- Also, many new commands are available for mapping. They are: Execute/Pause, Reset, Mute/Unmute, Load State Slot, Save State Slot, Copy Screen, Set Speed, Enable/Disable Speed Limiter, Enable/Disable Auto Frame Skip, Enable/Disable Cheats, and Enable/Disable GPU State.
2013-03-12 09:13:29 +00:00
zeromus 4577cc9c92 win32-a little tweak to ogl display method, should fix some video cards.. dont think it should break anything 2013-03-11 02:05:28 +00:00
zeromus 7f7beb6027 win32-improve opengl display method, i hope. 2013-03-10 02:45:47 +00:00
zeromus eb67250f71 win32-fix dev+ build compilation 2013-03-10 02:12:54 +00:00
rogerman a961a2e690 armcpu.cpp
- Silence the 1000+ compiler warnings about using offsetof() on a non-POD type.
2013-03-01 23:49:52 +00:00
rogerman 52090c2be7 Cocoa Port:
- Completely reimplement the input handling architecture to be simpler, more efficient, and more extensible.
- Decouple the high level input handling code from the lower level emulation interfacing code.
- Obsolete and remove the following classes: CocoaDSInput, CocoaHIDManager, CocoaHIDDevice. (Their functionality has been superseded by InputManager, InputHIDManager and InputHIDDevice, respectively.)
2013-03-01 23:41:03 +00:00
zeromus 7051021efc slight refinements in backup type database recordkeeping, and win32 import save dialog 2013-02-27 08:44:52 +00:00
zeromus df34dec94f win32-fix building in x64 projects 2013-02-25 19:58:00 +00:00
zeromus e60c2c5503 oops. revert r4543 2013-02-24 19:03:21 +00:00
zeromus d65baf1245 win32-fix error in 2005 vcproj 2013-02-24 18:59:54 +00:00
zeromus ad46657229 win32-fix weird scanline linking error 2013-02-24 18:55:47 +00:00
zeromus 7b1fe7eef0 win32-apply patches from ov2, to add xaudio2 output driver support 2013-02-24 18:51:09 +00:00
rogerman 839727664b Cocoa Port:
- Do some Cocoa bindings cleanup.
2013-02-20 01:50:43 +00:00
rogerman dc661e3edb Cocoa Port:
- New feature: Add support for multiple display windows. Use the File > New Display Window menu option!
- Add menu option File > Close Window (Command-W).
- The menu option File > Unload ROM keyboard shortcut has been changed to Command-Option-W.
- Rename menu option View > Show Video Output Settings... to View > Show Display Video Settings..., and also change its position in the menu.
- Obsolete and remove the following classes: EmuWindowDelegate, DisplayViewDelegate, ImageDisplayView, OpenGLDisplayView. (Their functionality has been incorporated into DisplayWindowController and DisplayView.)
- Obsolete and remove the following protocols: DisplayViewDelegate. (The new DisplayView class uses the CocoaDSDisplayVideoDelegate protocol directly.)
- Fix several bugs with thread handling and cleanup.
- Do heavy code cleanup of EmuControllerDelegate.
2013-02-19 01:31:04 +00:00
rogerman 514e09a159 - Revert commandline.cpp and videofilter.cpp back to r4536. Fixes regression from r4538 that broke compiling on non-Windows platforms.
- Do temporary workaround for setting the scanline filter parameters on Windows.
2013-02-18 19:44:06 +00:00
mtabachenko f00e94c64b - fix compile (broke on r4536); 2013-02-18 14:35:54 +00:00
zeromus 355cf3f367 win32-try not to freak out so much when using a hotkey to summon the printscreen dialog 2013-02-18 07:32:10 +00:00
riccardom ee6501fbc0 Add filters support to the gtk frontend
From Alberto, #3603211
2013-02-15 21:01:03 +00:00
riccardom 6acaab2bf5 GPU: Rename BlendFunc's enum value None to NoBlend
It looks like None is defined in X.h as 0L so breaking
compilation on platforms which use X. Instead of playing
with the preprocessor just rename the enum value.
As seen on:
http://forums.desmume.org/viewtopic.php?pid=20591

Thanks Alberto for forwarding the issue.

Remember: everytime a bug is reported in a forum a kitten dies!
2013-02-15 08:46:08 +00:00
rogerman 1055a9235f Cocoa Port:
- Fix regression from r4533 where the UI elements in the Cheat Manager window wouldn't update in sync with ROM loading/unloading.
- Do a bunch of code cleanup.
2013-02-15 02:37:14 +00:00
rogerman 4dd70a0120 Cocoa Port:
- Decouple window handling from the emulation control logic.
- Update copyright year on several files.
- Do various minor code cleanup.
2013-02-13 23:46:02 +00:00