Commit Graph

5883 Commits

Author SHA1 Message Date
zeromus f0bef635c2 try to fix some winport joystick hotkey bullcrap for >1 attached joysticks 2015-02-02 19:16:34 +00:00
rogerman 928004e13e GFX3D:
- Fix possible invalid memory access crashes when Y-sorting, most notably, in Super Mario 64 adventure mode. Using std::stable_sort() instead of std::sort() should have little to no performance impact since we're not sorting a lot of elements here. (Regression from r2436.)
2015-01-26 19:46:34 +00:00
rogerman 3abfa637b4 Cocoa Port:
- Initialize the HQnx LUTs only once, instead of doing it per display window.
- Fix issue where the HQnx LUT init code was causing extremely long compile times. (Regression from r5087.)
2015-01-26 05:22:43 +00:00
rogerman c233b1c14f Cocoa Port:
- Add shader-based equivalents to the following pixel scalers: LQ2x, LQ2xS, HQ2x, HQ2xS, HQ4x, HQ4xS
2015-01-25 01:43:37 +00:00
rogerman 1041fe8e3a Video Filters:
- Fix bug where the LQ2xS pixel scaler was using the same code as LQ2x.
- Change LQ2xS brightness thresholds so that LQ2xS actually works as intended.
2015-01-23 18:34:51 +00:00
rogerman 9849a88269 Cocoa Port:
- Fix bug where using Deposterize with a CPU-based pixel scaler would make the video fail to update. (Regression from r5083.)
2015-01-21 02:53:45 +00:00
rogerman 81772f1906 Cocoa Port:
- Oops! Missed some files that should've been committed in r5083. (Regression from r5083.)
2015-01-21 02:15:38 +00:00
rogerman d880c58f75 Cocoa Port:
- Read the GPU_screen buffer directly and avoid making multiple copies of it. Improves performance when many display windows are used.
2015-01-21 02:09:59 +00:00
yki 245586a978 gtk-glade port: Added gdbstub_mutex_init() and destroy() to src/gtk-glade/main.cpp. Now it should be in all ports. 2015-01-17 21:38:06 +00:00
rogerman 6724ce53e3 Cocoa Port:
- Fix crashes from illegal memory accesses when a display window is set to Touch mode. (Regression from r5079.)
2015-01-17 19:51:04 +00:00
yki e714ce9e20 GDB stub:
- Added CPU mutex functions gdbstub_mutex_init/destroy/lock/unlock, which govern access to NDS_ARM9 and NDS_ARM7 structs.
- Added locking and unlocking of the mutex to gdbstub.cpp/processPacket_gdb() and NDSSystem.cpp/NDS_exec()
Cocoa, CLI, GTK, Windows ports:
- Added mutex initialization and destruction to main() functions (cocoa/cocoa_core.mm, cli/main.cpp, gtk/main.cpp, windows/main.cpp)
2015-01-17 15:37:33 +00:00
rogerman 0754569c17 Cocoa Port:
- Have video from CPU-based pixel scalers transfer to GPU via DMA. Should improve performance on pixel scalers with large scaling sizes, such as HQ4xS and 5xBRZ.
2015-01-17 00:53:25 +00:00
rogerman 9329a961f2 Video Filters:
- Add method VideoFilter::SetDstBufferPtr() - allows users to use their own destination buffer instead of having to use the VideoFilter object's internal buffer.
2015-01-17 00:16:29 +00:00
rogerman 433d263b4e Qt Port:
- Fix compiling issues. (Regression from r5068.)
2015-01-16 22:06:11 +00:00
zeromus 37ee317415 clean up sleep hack 2015-01-15 21:48:27 +00:00
rogerman d0aeee71dd Cocoa Port:
- Fix GDB stub functionality in the optimized dev+ build.
2015-01-15 01:18:33 +00:00
rogerman 7b096b400f Glade Port:
- Fix compiling issues. Updates to latest code structure changes. (Regressions from r1031, r5061, r5068.)
2015-01-14 21:02:00 +00:00
rogerman aef36c1949 Cocoa Port:
- Silence some compiler warnings.
- Do some tiny code cleanup.
2015-01-13 05:17:39 +00:00
rogerman acc22b29cb Cocoa Port:
- Fix Latest build. (Regression from r5070.)
2015-01-13 05:10:29 +00:00
rogerman 402434fe19 Cocoa Port:
- Delete the Legacy Cocoa port. (Not only was the Tiger build broken in several ways, but all features from the Legacy port have been subsumed into the main Cocoa port now. Therefore, the Legacy port is no longer necessary.)
- Remove the "Xcode 4" and "Xcode 5" project files. These files have been superseded by the one project file "Xcode (Latest)".
2015-01-13 04:15:07 +00:00
rogerman 3e96459aea Cocoa Port:
- Fix building for the OpenEmu Plug-in build target.
- Enable PGO. (Xcode 6 and later only.)
- Do some misc. build tweaks.
2015-01-13 03:52:49 +00:00
rogerman 8fefb4fb7a Core:
- Do a massive cleanup of the #include and header structure.
- Remove a lot of unnecessary dependencies in the headers.
- Make headers responsible for including what they need for themselves. This makes the headers more independent of where they are in the #include order.
- Relocate some structs/classes to more logical locations.
- Clean up some platform-specific #ifdef stuff.
2015-01-10 02:04:18 +00:00
rogerman d5ab656090 GTK Port:
- Fix compiling issue. (Regression from r5061.)
2015-01-04 21:18:48 +00:00
rogerman bf413dc443 Windows Port:
- Fix compiling issue. (Regression from r5065.)
2015-01-04 05:46:27 +00:00
rogerman 9273aa58cd GDB Stub:
- Fix bug where set breakpoints were being ignored. (Regression from r5061.)
- Do some more cleanup on the GDB stub init code.
2015-01-04 04:45:53 +00:00
rogerman a987ce8ad2 CLI Port:
- Fix compiling issue. (Regression from r5061.)
2015-01-02 22:31:08 +00:00
rogerman c0a710fadb Windows Port:
- Fix compiling issue. (Regression from r5061.)
2015-01-02 09:48:39 +00:00
rogerman 5b9061264b Cocoa Port:
- Oops! Needed to add the .xcscheme files to the Xcode projects. Fixes build issues from r5061.
2015-01-02 09:11:01 +00:00
rogerman 32d9abebbc Cocoa Port:
- Add a new developer-oriented build scheme called "OS X App; dev+" to the Xcode4 and Xcode5 projects.
- Add preliminary GDB stub support to the dev+ build. (Use the menu option Tools > Show GDB Stub Control.)

GDB Stub:
- Do some minor cleanup on the GDB stub init code.
2015-01-02 09:08:50 +00:00
zeromus b7273762fb windows - rename Zup and Zdown to Z+ and Z- and straighten them out 2014-12-17 21:17:01 +00:00
zeromus 64ce4799fd add a vs2015 sln and stuff, but it only uses the vs2010 toolset. thats the lazy way. works ok though. 2014-12-15 03:33:37 +00:00
rogerman 878649a0a8 Cocoa Port:
- Remove the extra mutex from NDS_exec() in the main emulation loop. Have all consumers use the rwlock instead.
2014-11-27 05:36:45 +00:00
rogerman f17312c91d GFX3D:
- Clean up magic numbers related to the 3D framebuffer size.
2014-11-26 23:17:34 +00:00
zeromus fb2e4730e3 revert r5043. this revision quite unexpectedly broke about 8000 games. 2014-11-24 20:38:58 +00:00
rogerman 588744d323 Video Filters:
- Update XBRZ filters to v1.1 (thanks Zenju!) Addresses feature request #160 - https://sourceforge.net/p/desmume/feature-requests/160/
2014-11-19 23:00:19 +00:00
zeromus 16f9140960 fix regression within past 2 commits of launching any game from firmware 2014-09-16 04:42:38 +00:00
zeromus 66e6ba9497 improve previous commit, which was just plain buggy. now card is detected again. but... the game crashes when trying to boot. 2014-09-16 04:30:55 +00:00
zeromus dd13e33401 fix obvious crashy bug in NAND cards when booting from firmware, but for some reason the card isn't detected still. 2014-09-16 03:53:58 +00:00
zeromus b781234576 fix bug loading gba roms with no .sav file (fixes bug #1431) 2014-09-14 17:36:25 +00:00
zeromus 6ab5ff5917 savestate gamecode printing was endian-wrong 2014-09-05 03:28:08 +00:00
zeromus 51e478e66a fix bugs from r4926 (off-by-one error in out-of-range rom-reading check). possibly broke the last u32 in the rom. fixes bug #1406 (phantasy star 0 CHS translation black screen freeze) 2014-09-01 23:20:20 +00:00
zeromus e24720f69d apply patch #164 to screenshot path building format 2014-08-21 16:17:21 +00:00
normmatt234 b95380054e Fix Action Replay DS code type 0xE (Patch #163) 2014-08-17 06:57:10 +00:00
zeromus 204e9b46e5 block reading of BGxHOFS and BGxVOFS registers. fixes some ratatouille stages 2014-08-10 04:42:33 +00:00
zeromus bbc1517cc8 fix ancient errors in instruction decode table created by r3504 and r3510. not known to fix anything, but might be hg/ss related. 2014-07-30 22:20:25 +00:00
zeromus dabca07a9e add comments to instruction_tabdef.inc to salvage r3504 which modified the formatting as well as the contents 2014-07-30 20:56:43 +00:00
zeromus 0c54127f59 fix #1134 - american girl games (need system jamming when sending 3d commands with pending flush)
TODO - check #1428 (reportedly it affects PMD somehow)
2014-06-17 05:46:49 +00:00
alvinwong fca4afd7ce Fix file seeking of gba ROM and fix seeking behaviour of EMUFILE_FILE 2014-05-26 09:50:11 +00:00
zeromus 262fc4f14a apply alvinhochun's gbagame patches
--- 
add system in EMUFILE_FILE to switch correctly between read/write modes; add system in EMUFILE_FILE to (optionally) track current file position and avoid redundant fseeks - this code is UNTESTED.
 --- 
add better console feedback when gbagame .sav is being scanned, to make developers less likely to think the emulator is frozen
2014-05-26 06:23:56 +00:00
thelemonman fc6930c2e1 Fix JIT profiler compilation on linux 2014-05-03 15:52:20 +00:00