Commit Graph

4614 Commits

Author SHA1 Message Date
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
rogerman 0fd5648ab6 Cocoa Port:
- Do some random code cleanup.
2013-02-11 20:57:16 +00:00
rogerman f923c7a493 GFX3D:
- Fix regression from r4528 where 32-bit colors might have an incorrect alpha value on certain compilers.
2013-02-11 07:17:27 +00:00
rogerman 52ffa0e577 Video Filters:
- Move videofilter.cpp/.h files out of the cocoa directory since it is planned to be use in other ports.
2013-02-11 06:53:26 +00:00
zeromus 529797517c win32-reorganize menus to be more compact and sensible 2013-02-10 08:16:03 +00:00
rogerman 90b038f19a GFX3D:
- Fix some texture coloring bugs on big-endian systems. (Some endianness bugs remain with texturing enabled.)
2013-02-10 04:46:50 +00:00
zeromus 654b51eeb9 win32-unhook language option. its just doing a disservice to people 2013-02-09 19:19:01 +00:00
zeromus 24647e57e0 win32-tweak opengl display method 2013-02-09 19:02:17 +00:00
rogerman 533b810efe OpenGL Renderer:
- Fix polygon coloring bug when converting the framebuffer on big-endian systems. (Disabling textures will show the correct polygon coloring. Endianness bugs remain with texturing enabled.)
2013-02-08 23:38:10 +00:00
rogerman 58d32b05c4 OpenGL Renderer:
- Revert OpenGLRenderer_1_2::CreateShaders() to r4522.
- Add OpenGLRenderer::LoadShaderPrograms() to give a chance to modify the shader programs before compiling them.
- Fix bug where shader compiling would fail on the 3.2 renderer.
2013-02-08 22:37:15 +00:00
zeromus a08b1a3d0a win32-improve opengl initialization some more, add gma965 hack 2013-02-08 09:23:28 +00:00
rogerman 006d39c3a3 OpenGL Renderer:
- Remove vertex draw batching. This fixes polygon rendering in certain games, like Metroid Prime Hunters. There is a performance penalty in doing this, but for GPUs that support VBOs, the performance hit will be negligible.
- Do a bunch of code cleanup.
2013-02-08 04:15:51 +00:00
rogerman 78c13cc41d Cocoa Port:
- Bring back glVertexAttribPointer() to the OpenGL blitter.
- Disable shaders on PowerPC builds since they don't seem to work there.
- Since OS X v10.5 is required, assume the availability of GL_APPLE_vertex_array_object and GL_ARB_vertex_buffer_object. Remove the associated code paths to reduce code complexity.
2013-02-07 22:18:21 +00:00
zeromus 854c15de87 win32-dont depend on wgl render target extension 2013-02-07 20:27:46 +00:00
zeromus 83b9722276 win32-refine opengl init code 2013-02-07 20:17:53 +00:00
squall-leonhart 53756bc480 and missing libsasl32.dll 2013-02-07 15:14:41 +00:00
squall-leonhart 4127ce530e may as well put the latest executable as well. 2013-02-07 15:06:25 +00:00
squall-leonhart f57f8e00fb added missing libsvn_tsvn32.dll 2013-02-07 15:02:21 +00:00
zeromus dfe56f909d win32-retool opengl initialization 2013-02-07 09:07:59 +00:00
zeromus ba1a39d2e5 win32-update subwcrev and bring dll deps along for the ride 2013-02-07 09:06:31 +00:00
rogerman 98b01c43d8 Cocoa Port:
- The OpenGL blitter now uses legacy gl*Pointer functions instead of glVertexAttribPointer() to improve compatibility with older drivers.
- The OpenGL blitter now uses ARB versions of VBO functions to improve compatibility with older drivers.
- Do some code cleanup.
2013-02-07 07:52:20 +00:00
zeromus 0e380f908a win32-fix bug making old opengl renderer not work well at all 2013-02-07 00:43:22 +00:00
zeromus 9bd7b25aff win32-fix selection of null 3d core 2013-02-06 23:53:29 +00:00
zeromus 37ebeb0682 win32-dont print garbage in console when initializing 2013-02-06 21:59:08 +00:00
zeromus b16f5e8c07 win32-try a different approach to improve new opengl initialization reliability 2013-02-06 21:39:38 +00:00
rogerman 719e1244cc Cocoa Port:
- Remove the requirement for the OS X v10.5 SDK when building using the "OS X App; v10.5 Leopard Release Build" scheme in the Xcode 4 project. The scheme now uses the latest OS X SDK available. This is being done for forward compatibility purposes.
- Fix compiling when building using the OS X v10.5 and earlier SDKs in the Xcode 3 and Legacy projects.
- Fix compiling when building for all PowerPC build targets.
2013-02-06 21:39:22 +00:00