Commit Graph

4777 Commits

Author SHA1 Message Date
zeromus 9295bb5f73 set eol-style on aggdraw.cpp 2014-03-01 06:21:33 +00:00
alvinwong 041941876d Linux (gtk):
- Don't render HUD directly to gpu screen.
- Redraw display for some operations which updates HUD display.
- Make HUD aware of swapped screen and/or single screen.
2014-03-01 06:13:30 +00:00
alvinwong 8b8e7b1648 Linux (gtk):
- Fix possible stack overflow if video filter resolution is high enough.
- Fix not being able to toggle HUD when paused.
- Fix HUD 3d fps display when there is frameskip.
2014-02-28 15:33:26 +00:00
alvinwong 2fe8cb330d Linux (gtk):
- Remove gtk pixbuf usage on drawing DS screens, use only Cairo.
- Use transformation matrix to handle touchscreen coordinates.
- Adapt RGB555-to-RGBA8888 conversion code from Cocoa port, should result in brighter colour.
- Re-enable fullscreen menu item on start.
2014-02-28 07:52:39 +00:00
rogerman 4fec0a060e Cocoa Port:
- 16-bit to 32-bit color space conversions no longer darken images.
2014-02-27 05:56:32 +00:00
alvinwong e9da2c318c Video Filter:
- When changing source image size, force the construction of a new buffer. Fixes [bugs:#1384] introduced in [r4987].
2014-02-26 14:32:01 +00:00
alvinwong 4e5b6e6d6f Linux (gtk, glade, cli):
- Add control for Lid (defaults to Backspace).
- Disallow Left+Right or Up+Down, acts like Windows port.
- Show correct button state on HUD.
2014-02-26 11:29:53 +00:00
alvinwong fed37e55d3 Windows:
- Fix a possible (but slim) buffer overflow caused by the usage of sprintf.

Linux (gtk):
- Show error instead of warning if --enable-hud is configured but libagg not found.
- Change F10 to use savestate slot 0 instead of 10.
- Show savestate time on savestate menu.
- Change startup window size back to resizable.
2014-02-26 09:52:06 +00:00
alvinwong ae36159259 Linux (gtk): Add fixed window size options. 2014-02-25 14:13:40 +00:00
zeromus 513370ca21 fix bug that made 5x filters crash in windows 2014-02-22 20:48:14 +00:00
rogerman 823d99c73a task.cpp:
- Have CPU core detect on OS X use sysctl() instead of sysconf().
2014-02-21 21:15:25 +00:00
alvinwong 76732a03ed Linux (gtk): Add sound interpolation option. 2014-02-20 13:58:00 +00:00
alvinwong f71fe6e108 Linux (gtk): Fix foolish typos. 2014-02-17 05:36:24 +00:00
alvinwong 6f91e947c3 Linux (gtk): Add preliminary AV recording with x264 and flac. 2014-02-17 04:02:42 +00:00
rogerman a15e6cee10 Video Filters:
- Have the Bilinear filter use the same SSurface struct as all the others.
2014-02-15 20:35:54 +00:00
rogerman 98713caf4b Cocoa Port:
- Fix potential crashing bug when changing the video filter from None to a different video filter with 1x scaling.
2014-02-15 06:40:55 +00:00
rogerman def065be97 Video Filters:
- Fix compiling of videofilter.cpp if compiled on Windows.
2014-02-14 01:09:30 +00:00
rogerman 9d44ca55f6 Video Filters:
- Have the xBRZ filter handle the alpha channel.
- Minor code cleanup of video filter managing code.
2014-02-13 23:30:01 +00:00
rogerman 9a642be896 Video Filter:
- When changing filters, skip the costly construction of a new destination buffer if the new surface size will be the same.
2014-02-13 04:49:00 +00:00
rogerman d1c6c6e3ac Cocoa Port:
- On startup, expand all items in the Input Preferences control list by default.
2014-02-13 02:43:08 +00:00
rogerman cf109b69dd Cocoa Port:
- Add SoftRasterizer hack from r4984.
- Update UI to reflect the current feature set.
- Do some code cleanup.
2014-02-10 07:14:05 +00:00
zeromus 443b24cac2 apply patch #159 from tracker to add hack for softrasterizer text rendering improvement in some games 2014-02-09 08:28:48 +00:00
alvinwong fd3b89bac2 Linux (gtk): Minor change to HUD toggle code 2014-02-09 08:17:51 +00:00
alvinwong 04d0faa240 Linux (gtk):
- Add HUD display toggle menu (require --enable-hud on configure)
- Reorganize menu items to be more alike the Windows port
- Change fullscreen hotkey to F11
- Change default video filter to None (user can still switch via menu)
2014-02-09 08:11:33 +00:00
alvinwong 249059e9c0 Linux (gtk):
- Fix DesMuME name case inconsistency
- Make title and status bar more informative in some situations
2014-02-08 15:23:09 +00:00
rogerman 2a85d684eb Cocoa Port:
- Disable replay related UI elements whenever a ROM is not loaded or if the save state sheet is shown.
2014-02-08 03:32:45 +00:00
rogerman f2cd7ad4b0 Cocoa Port:
- Add preliminary replay support.
2014-02-07 21:40:21 +00:00
alvinwong 74b7993d1a Linux (gtk): Fix screen gap bug 2014-02-07 14:13:08 +00:00
alvinwong 675e3424b3 Linux (gtk):
- Rewrite fps limiter and frame skipping code.
- Decrease EmuLoop priority to force screen redraw at maximum rate.
- Add menu option for fps limiter.
- Support boost button.
- Force disable Ubuntu's global menu.
2014-02-07 09:18:01 +00:00
alvinwong 895be3efec Linux (gtk):
- Support xBRZ filters (and fixed build error)
2014-02-07 08:17:53 +00:00
zeromus 0bcf4eaf59 actually make the filters work in windows 2014-02-07 07:44:22 +00:00
squall-leonhart 73bc032c1c just adding a couple of files missing from the VS2010 project file 2014-02-07 06:57:54 +00:00
zeromus c76469cbc1 update vcproj with xbrz files 2014-02-07 04:41:25 +00:00
rogerman 875ae2cc4b Video Filters:
- Add new xBRZ family of filters.

Cocoa Port:
- Refactor all display code. OpenGL code is pushed to a lower level and filter code is pushed towards the UI level.
- Add support for the new xBRZ filters.
- The Execution Control panel no longer always appears on app startup.
2014-02-07 04:34:32 +00:00
rogerman 2c3db349c3 Cocoa Port:
- Don't completely block output threads when they are set to idle, since we need to assume that messages will be passed to them at any time. It seems like NSRunLoop is smart enough not to unnecessarily wake the CPU on idle, so the thread block was not necessary.
- Fix bug where user settings were not being applied while the emulator was paused. (Regression from r4970.)
2014-02-05 19:38:39 +00:00
rogerman 9f6f8c1cfd Cocoa Port:
- Optimize the emulator idle state to achieve 0% CPU usage. This greatly reduces the app's energy usage when the emulator is idle.

Cocoa Port (OpenEmu Plug-in):
- Remove some dependencies needed to compile the OpenEmu plug-in.
2014-01-31 08:31:20 +00:00
rogerman 8e3198436b Cocoa Port:
- Update status text when the autohold state changes.
2014-01-31 03:28:37 +00:00
rogerman 491a978f31 Cocoa Port:
- Add support for .dss Action Replay save files.
2014-01-31 02:08:33 +00:00
rogerman 7fa5f7763e Cocoa Port:
- The input handler now supports autohold.
- NDS inputs in the input handler now support turbo.
2014-01-31 01:30:52 +00:00
rogerman 71c196b920 Cocoa Port:
- Fix building when using the Xcode 5 project. (Regression from r4965.)
2014-01-29 18:04:20 +00:00
rogerman 47b2b6eac6 Cocoa Port:
- Add controls for frame advance, frame jump, and display mode toggle.
- Add new execution control panel. (Emulation > Show Execution Control)
- Reorganize several menu items in the Emulation and View menus.
2014-01-29 08:36:47 +00:00
rogerman db94b7c8a6 movie.cpp:
- Do some preliminary cleanup of the code.
- Fix bug where firmware nicknames and messages weren't being saved properly.
2014-01-25 00:39:52 +00:00
rogerman 088495f0cd Cocoa Port:
- Change DefaultUserPrefs.plist from binary format to XML format.
- Update copyright year in plist files.
2014-01-09 08:37:26 +00:00
zeromus 0c99529409 etc 2014-01-08 16:36:58 +00:00
zeromus 0983a34bd4 same for CLI 2014-01-08 16:28:14 +00:00
zeromus c88a2071a7 try to fix GTK port compilation after gbagame configuration changes. i havent tried compiling this yet 2014-01-08 16:20:28 +00:00
rogerman b93e53ac1a Cocoa Port:
- Add support for the Guitar Grip and the Easy Piano.
- Fix minor alignment issues with some UI elements.
- Do some random code cleanup.
2014-01-08 09:16:24 +00:00
rogerman 0ec2b21a20 Cocoa Port:
- Do a bunch of optimization and cleanup of the input handler.
- Add support for using analog inputs in their native format.
- The paddle controller now supports native analog control.
- NOTE: Due to the changes in the input handler, users will need to rebind any hatswitch inputs that were previously used. Only hatswitch inputs were affected by these changes.
2014-01-07 18:35:40 +00:00
rogerman ac146b26d2 Cocoa Port:
- Add preliminary support for SLOT-2 devices. (Guitar Grip and Piano remain unsupported, but all other devices work.) Happy New Year, folks!
2014-01-02 03:13:44 +00:00
rogerman e568f8c4fd Slot-2:
- Clean up GBA Cartridge device code, and also add the ability to have the SRAM file be on a different file path from the ROM file.
- Force Rumble Pak to turn off rumble upon disconnect.
- Fix file path issue when trying to use a disk image file for an MPCF device.
2014-01-02 01:29:31 +00:00
rogerman 38f02e0804 Slot-2 Rumble Pak:
- The use of the BOOL datatype in a function pointer for front-ends is not as portable as one might think. Switch to using a standard C++ bool datatype instead.
- Add auto-selection to Rumble Pak for Metroid Prime Pinball.
2013-12-31 04:49:37 +00:00
rogerman 2b633d1cb3 Windows Port:
- Fix compiling for Windows port. (Regression from r4952.)
2013-12-30 06:38:54 +00:00
rogerman dd09eb888d Cocoa Port:
- Fix a possible crashing bug that was exposed by the changes from r4952.
2013-12-24 07:38:15 +00:00
rogerman c95eba3901 Slot-2:
- Fix SLOT-2 connect/disconnect behaviors when switching in and out of auto-detect mode.
- Do some cleanup on the auto-detect code.
2013-12-24 07:35:46 +00:00
rogerman c7c3662ed2 Slot-2:
- Fix possible crash on init when using expansion memory.
2013-12-24 00:22:31 +00:00
rogerman c2a4da43c3 Cocoa Port:
- Update all info .plist files to v0.9.11 for future SVN builds.
2013-12-21 08:32:53 +00:00
zeromus 76f83f2bf6 make some tweaks for netbsd compiling 2013-12-19 05:40:16 +00:00
rogerman 995459dc92 Core:
- Fix ROM reading on big-endian systems.
2013-12-18 08:05:32 +00:00
zeromus bc7e3bf00f speedfix for speedtyporeport 2013-12-16 05:25:55 +00:00
zeromus a8d01255ed add warning when booting homebrew game while using "stream rom from disk" since it doesnt work right now, and it essentially breaks most homebrew apps by default. 2013-12-16 05:22:49 +00:00
zeromus 0445bcc9ee fix crashy bug in slot2_gbagame and also change it to use EMUFILE while I was at it, like it shouldve been in the first place. but.. i didnt really test it. 2013-12-16 05:17:34 +00:00
zeromus f94727dc1e win32-remove libdwarf etc link deps from 2005 vcproj 2013-12-14 03:35:38 +00:00
mtabachenko acaa4e85d2 winport:
- now VS2012 build works on Windows XP/2003 64;
2013-12-09 11:03:25 +00:00
mtabachenko 074c9881ae winport:
- now VS2012 build works on Windows XP 32 bit;
- update svn tools to 1.8.4;
2013-12-09 10:45:25 +00:00
jsteffens fd55e1af4d fix include case 2013-12-09 07:54:40 +00:00
zeromus fcccf48307 fix potential but unlikely bug in advanscene import 2013-12-09 01:31:50 +00:00
zeromus 6caeb38edc add --advanscene-import <infile> commandline option which reads <infile> and writes to <infile>.ddb. (and then exits) its not completely clear whether this would work on ports other than windows due to completely disorganized emulator initialization logic between different frontends, but it should be easy to resolve. 2013-12-09 01:26:08 +00:00
zeromus da4b6487e2 win32-use the same method for displaying colors in the palette tool as is used for converting 555 to 888 in the frontend, so they match 2013-12-08 23:41:37 +00:00
rogerman 82f9342a5b Cocoa Port:
- Make frame rate transitions more smooth. This has the effect of making video much smoother, with only a negligible effect on execution speed accuracy.
- Make auto frame skip slightly less aggressive.
2013-12-07 22:21:52 +00:00
mtabachenko 72c34257a6 winport:
- fixed the path of directories in VS2012 project;
2013-12-07 18:36:33 +00:00
mtabachenko c8586c1241 buildfix VS2008 project 2013-12-05 23:22:39 +00:00
mtabachenko 285c4d567f core:
- add import Action Replay .dss save file;
2013-12-04 14:43:03 +00:00
mtabachenko 4c8e70acd9 winport:
- fix multiselect rows in Cheats List dialog;
2013-12-03 18:41:59 +00:00
mtabachenko 702879c848 core:
- add autofix the device capacity value in broken header (fix bug [#1353]);
2013-12-02 12:49:36 +00:00
zeromus d2ed4ca30e make the engineering around kUninitializedSaveDataValue not so horrible; affects "Daigassou! Band Brothers DX" but not tested (make the slot1comp_mc configure the BackupDevice with the appropriate uninitializedValue since it is a property of the physical backup memory hardware) 2013-12-01 07:06:56 +00:00
zeromus 912355488e fix new bugs in save code which broke some games in sneaky ways. fixes apollo justice, although reportedly it was broken for other reasons in previous releases. also might have fixed a regression in tomb raider underworld 2013-12-01 06:52:14 +00:00
mtabachenko 0191b680c4 core:
- fixed a bug in SPU when total length of the samples is less than 16 bytes (fixed issue [#1357])
2013-11-30 12:48:25 +00:00
zeromus dba7e21423 revert a little bit of r4815. it seems wrong, or needs more documentation: the rom header should not be consulted when deciding whether to return 0xFFFFFFF for out of range cart rom data. did dsi have something to do with this? please explain or comment. 2013-11-30 05:07:58 +00:00
mtabachenko f9eb416311 core:
- optimize SPU and fix bug [#1356];
winport:
- optimize Sound View Tool;
2013-11-30 03:15:42 +00:00
mtabachenko 02701e48d9 the BIAS register set to 0x200 on fake boot. 2013-11-28 14:40:14 +00:00
mtabachenko cc13d8f6d4 bump version number in trunk for future SVN builds. 2013-11-28 09:19:19 +00:00
rogerman dbcbeedd8a Cocoa Port (OpenEmu Plug-in):
- Fix compiling issues.
- Fix bug where sound wasn't working.
- Add cheat system support.
- Implement changeDisplayMode method.
2013-11-28 08:55:08 +00:00
rogerman ddf957fcf7 Cocoa Port:
- Load cheat item icons higher up in the front-end code.
- Remove CocoaDSCheatManager's and CocoaDSCheatSearch's dependence on CocoaDSCore. Just use basic mutex pointers instead.
2013-11-28 08:51:43 +00:00
yabause f9f6a74a72 deinit_glx_3Demu is not a void function anymore. 2013-11-28 00:46:17 +00:00
yabause 3b0797a21d We need to use a modern tar format for those very long
file paths in the repository.
2013-11-28 00:45:23 +00:00
rogerman fc733b695f Documentation:
- Update Read Me for Macintosh.
2013-11-27 20:38:43 +00:00
rogerman 432a56ec95 Cocoa Port:
- Update Bug Report URL to the current one.
- Silence some compiler warnings.
2013-11-27 20:36:39 +00:00
mtabachenko ea6ad164db - comment out print log in RLUnCompWram;
- applied changes from thunk to 0.9.10 branch.
2013-11-27 12:09:40 +00:00
mtabachenko 7b48e7f650 sorry, my silly brain; 2013-11-26 22:57:42 +00:00
zeromus 0fbe77a9a8 add some notes to self 2013-11-26 22:37:17 +00:00
zeromus 9815ef3cab authors and changelog updated for 0.9.10 2013-11-26 22:37:01 +00:00
mtabachenko 5e5e56df87 winport:
- move "Show Console" parameter in ini-file for [Display] to [Console] section and renamed to "Show";
2013-11-25 13:48:27 +00:00
jsteffens eee29ace05 error: return-statement with a value, in function returning 'void' 2013-11-25 12:52:22 +00:00
thelemonman 0e9766f096 Deinit the opengl context before exiting. 2013-11-24 22:21:58 +00:00
rogerman 50dbb2aee5 Cocoa Port:
- Add AppleScript for deleting the user defaults files.
2013-11-24 01:01:50 +00:00
rogerman a8b27aeb66 Cocoa Port:
- The Support Request and Bug Report forms now report more application states.
2013-11-23 21:18:47 +00:00
mtabachenko d6db1f7e96 - fix path to firmware settings file (fix [#1354]); 2013-11-23 14:34:27 +00:00
mtabachenko 3d8f138874 core:
- set ROM Loading to "Stream from Disk" by default;
2013-11-23 11:49:40 +00:00
mtabachenko 5e3aae6b9f update AUTHORS list 2013-11-22 23:35:52 +00:00
mtabachenko 6db2459178 revert GNU license 2013-11-22 23:13:08 +00:00
mtabachenko 3c03def68f - update GNU license;
- update bug tracker URL in the README file;
2013-11-22 23:04:26 +00:00
mtabachenko 3a88139f99 core:
- added copying logo data from ROM header into ARM9 BIOS memory area when not using the external BIOS;
2013-11-22 21:40:36 +00:00
rogerman e52511502e Cocoa Port:
- Remember the emulation speed setting between app runs.
2013-11-22 19:36:14 +00:00
mtabachenko e5eb8918d4 winport:
- fixed the icon for file association.
2013-11-22 09:52:20 +00:00
rogerman 5f44858edd Cocoa Port:
- Fix bug where SPU settings were not properly being set. (Regression from r4882.)
2013-11-21 20:41:54 +00:00
mtabachenko e05ef815ce core:
- fix export backup.
2013-11-21 18:12:57 +00:00
mtabachenko bdd4f2e3f5 core:
- fix bug in backup savestate.
2013-11-21 18:00:17 +00:00
mtabachenko 1fa0886fe7 - fix import save; 2013-11-21 09:03:02 +00:00
rogerman 9e45290c47 Cocoa Port:
- Fix bug where the "Automatically load this ROM on startup" pop-up menu wouldn't update properly if the same option is chosen.
2013-11-20 22:59:37 +00:00
mtabachenko 63406703aa fix auto import raw (uncompressed) no$gba saves; 2013-11-19 10:32:58 +00:00
mtabachenko b3586a0a98 fix auto import no$gba saves; 2013-11-19 09:24:17 +00:00
mtabachenko b05fe32a44 winport: add wiki and faq links to menu; 2013-11-17 19:03:32 +00:00
mtabachenko ebfe8a312c - add SPU synchronization mode and method to command line; 2013-11-16 15:04:32 +00:00
mtabachenko c6d959ea53 fix write backup bug introduced by [r4880]; 2013-11-16 13:19:45 +00:00
mtabachenko b5f78e2652 - optimizing reads/writes NAND backup data. 2013-11-16 12:30:47 +00:00
mtabachenko 88e34db3e7 fix import backup memory 2013-11-16 10:56:39 +00:00
mtabachenko 6cdd10b84a - rewrite IO backup memory. now reading/writing direct from/to file without temporary buffer in memory. 2013-11-15 15:08:15 +00:00
rogerman 2db8779e08 Cocoa Port:
- Remove embedded scripts for generating SVN_REV from Xcode projects; move the script to a single common script file.
- Make the SVN_REV generation script a bit more robust. Building no longer fails if svnrevision doesn't support SVN 1.7.
2013-11-13 19:33:33 +00:00
mtabachenko 7e176d1998 Slot1:
- add Slot1 NAND savestate;
2013-11-13 17:33:08 +00:00
normmatt234 59d8d798ef Fix save corruption bug in retail nand slot1. 2013-11-13 08:18:34 +00:00
normmatt234 5b6d16da87 Fix initializer-list bug reported by VS2013. 2013-11-13 08:16:52 +00:00
mtabachenko 1c49c3daf5 slot2:
- fix crash Memory Expansion Pak;
2013-11-13 08:12:55 +00:00
jsteffens 3233bf9c86 SVN revision fixes, mostly for linux 2013-11-12 16:50:40 +00:00
mtabachenko 31d2679e07 fix linux build 2013-11-12 15:31:32 +00:00
mtabachenko a61e91a078 savestates:
- fix write Slot1/Slot2 device ID;
- write more info in savestate;
2013-11-12 14:51:38 +00:00
mtabachenko ed85c3df12 Slot2:
- implement save state of "Memory Expansion Pak";
2013-11-12 11:08:23 +00:00
mtabachenko 429afd87f6 core:
- fix load slot2 savestate from old savestates created before [r4867]
2013-11-12 10:32:51 +00:00
mtabachenko 2f094cf11d core:
- add slot2 to savestate;
2013-11-12 09:55:14 +00:00
thelemonman f838938887 Fix r4862 and make the input system a bit saner. 2013-11-12 02:41:02 +00:00
rogerman 6ea032a191 Cocoa Port:
- Integrate new SLOT-2 code with all projects.
2013-11-11 20:46:03 +00:00
mtabachenko 3ee1fe0d4b winport:
- fix initialize slot2;
2013-11-11 20:25:33 +00:00
mtabachenko b4e1286dd3 slot2:
- added new games to auto-selection list;
winport:
- added customizing the keys for Taito Paddle Controller;
- now don't need reset DS when you change the slot2 device;
2013-11-11 19:47:59 +00:00
thelemonman a57bf33472 Reset the keypad status before reading. Fixes spurious keys being pressed at startup. 2013-11-11 18:06:26 +00:00
thelemonman b4c243fade Integrate the new slot2 system in gtk/cli frontends. 2013-11-11 17:28:25 +00:00
mtabachenko 3cd1e909fc Slot1:
- add device ID code;
2013-11-11 10:04:10 +00:00
mtabachenko 94aac3fccd Slot1:
- add ID code to Slot2 devices;
2013-11-11 09:19:20 +00:00
mtabachenko 69f5f165e2 slot2:
- add more games to autodetect list;
2013-11-11 07:51:42 +00:00
mtabachenko ec07d6bd55 Slot2:
- add new "PassME" stuff;
2013-11-11 00:17:13 +00:00
mtabachenko e5b34983a9 winport:
- Slot2 device set to Auto by default;
2013-11-11 00:07:33 +00:00
mtabachenko 61124f6551 Slot2:
- add auto-detection device;
2013-11-11 00:01:22 +00:00
mtabachenko 2d93fc7901 Slot2:
- add new "GBA Cartridge" stuff;
2013-11-10 23:08:25 +00:00
mtabachenko 41fe58e0f8 Slot2:
- add new MPCF Flash Card Device code;
- add new paddle code (untested);
2013-11-10 21:05:11 +00:00
mtabachenko 08c66df12b Slot2:
- rewrite all slot2 code, not finished yet;
2013-11-10 20:20:46 +00:00
mtabachenko 0cc53ad207 core:
- fake boot: read secure area before boot and remove this from readROM function (fixed);
2013-11-09 23:57:23 +00:00
mtabachenko 40b58be6ba revert my last commit, this is wrong way; 2013-11-09 23:08:44 +00:00
mtabachenko 4c50354b0e core:
- fake boot: read secure area before boot and remove this from readROM function;
2013-11-09 22:51:52 +00:00
mtabachenko 95d32bc4d2 core:
- don't read from secure area buffer for ROMs with GBA Loader;
- fix declare importData function in BackupDevice class;
2013-11-09 20:49:42 +00:00
rogerman 4700d63db8 Cocoa Port:
- Add slot2_passme.cpp to all projects.
- Fix compiling. (Regression from r4843.)
2013-11-09 20:22:55 +00:00
mtabachenko 742bc11da3 core:
- fix load ROM with GBA Loader (*.ds.gba);
2013-11-09 17:20:35 +00:00
jsteffens 0fdac4d989 linux compile fix (missing include) 2013-11-09 14:22:37 +00:00