Commit Graph

2977 Commits

Author SHA1 Message Date
luigi__ 90d57bf8ce CPU (THUMB): LSR instruction now deals correctly with carryflag.
For instance this fixes bugs with CpuSet SWI when "Emulate SWIs by BIOS"
is enabled.
2009-08-06 22:20:18 +00:00
mtabachenko 525541d037 new gxFIFO:
- fix bug in FIFO buffer;
2009-08-05 20:30:52 +00:00
zeromus 128305c5fd win32: fix typo in sound config dialog 2009-08-04 22:33:29 +00:00
riccardom 339eb9973c Remove usage of uint which is not available on MSC, thanks CrazyMax for noticing. 2009-08-04 21:00:23 +00:00
riccardom 4029f105d8 On gcc the packed attribute is supposed to not work when you use
a typedef in the struct definition. Then packing the whole struct
and each member is redundant. So cleanup __PACKED usage and
hopefully both shut up gcc warnings and keeps things working :).
2009-08-04 20:49:19 +00:00
riccardom 7324afeafd Move rewindsave and dorewind declaration to a proper header instead of using extern. 2009-08-04 20:32:13 +00:00
riccardom e3c0aadb86 Fix gcc warning about enum not handled in switch. 2009-08-04 20:24:56 +00:00
riccardom 04e66de722 Reorder variable initialization to shut up gcc warnings. 2009-08-04 20:20:39 +00:00
riccardom 3043d4045e Fix a few signed vs unsigned comparison warnings. 2009-08-04 19:47:03 +00:00
riccardom 0069c02e73 Put that big pile of double commented code inside an if 0. 2009-08-04 18:46:39 +00:00
riccardom d0ed6ae79c Kill the extern since this would be the default. 2009-08-04 18:41:09 +00:00
riccardom 8e75d3521a Make a function static, add a missing prototype for another one and remove an unused variable. 2009-08-04 18:35:50 +00:00
riccardom 00b5148274 Make a few functions static and shut up signed vs unsigned gcc warnings. 2009-08-04 18:28:03 +00:00
riccardom c99e7dc2e5 This should be MSC specific. 2009-08-04 18:19:01 +00:00
riccardom fc8b2dbfc2 Oh there is another windowDraw gcc bitches about the possibility to have
it unitialized.
2009-08-04 18:10:23 +00:00
riccardom 8bef7cfa68 gcc warns that windowDraw may be used unitialized which in theory is true. 2009-08-04 17:59:58 +00:00
riccardom 6c3b1059b0 Move variable initialization in constructors to shut up gcc warnings about their ordering. 2009-08-04 17:50:02 +00:00
p989 fbab1c2b5f agg.setFont and agg.text 2009-08-04 16:35:38 +00:00
nitsuja 84f637865f win32: some dialog flags/extensions fixes, minor menu readability/grammar fixes, and changing some instances of "Gens" to "DeSmuME" 2009-08-04 10:06:01 +00:00
nitsuja 194723d96d win32:
- added freeform editing of the screen gap size by dragging the window border (optional)
- added extra gap size option
- fixed bug with window sliding around when resizing from the top/left
- fixed(?) bug with default window size command setting invalid sizes after the rotation/gap settings have changed
- fixed some inconsistency in the restoring of forced aspect ratio when changing modes
- fixed window getting very squashed at large sizes even if force maintain ratio is on
2009-08-04 07:44:39 +00:00
zeromus 52b7454046 rasterize: fix bug in edge marking that overwrote depth buffer with one line of color data 2009-08-03 21:57:00 +00:00
zeromus 4015411ad6 gpu: fix bug with 16color bg overdrawing line buffer by one pixel when scrolled to an odd offset. move assert x<256 lower in callstack to help spot these bugs more aggressively. 2009-08-03 21:41:07 +00:00
zeromus 77da6267bf win32: guess for now we have burn cycles copying the GPU_screen so that we keep a pristine copy for screenshots. also screenshots for savestates. the final display handling pipeline still isnt finished yet so this could change again 2009-08-03 05:08:37 +00:00
zeromus 057703e529 fix linux compile, and some warnings 2009-08-03 02:15:35 +00:00
nitsuja ea08d4aa84 rasterizer: fix for everything blended being slightly transparent
opengl: fix for everything blended being doubly opaque
2009-08-03 01:57:25 +00:00
luigi__ c9e2db0250 Oops... fix IORegView. 2009-08-02 23:06:39 +00:00
luigi__ 2254c143ed General: merge ARM9_struct contents into MMU_struct and remove ARM9.h.
(why was ARM9 mem separated from the rest? plus MAIN_MEM doesn't really
belong to the ARM9)
2009-08-02 23:04:26 +00:00
luigi__ 81cf844df6 General: the DS card stuff can perfectly fit in MMU.h (though it'd fit
better in NDSSystem.h, but it would require more work). There's no need 
for tiny extra files.
2009-08-02 22:35:44 +00:00
nitsuja d6fb00bb84 win32: fix for crash when changing the rotation or filter mode 2009-08-02 22:20:44 +00:00
luigi__ d1fe3e3c21 General: the definitions of ARMCPU_ARM9, ARMCPU_ARM7 and ARMPROC seem
to fit the best in MMU.cpp ... so let's get rid of that hack.

Feel free to revert if it breaks compilation under Linux or whatever.
Worked fine under Win32.
2009-08-02 21:14:27 +00:00
luigi__ bf124165f7 Core: prepare gamecard system for future KEY1 and KEY2 encrypted command support.
Also rename MMU_clearMem to MMU_Reset because it's called upon reset and it
doesn't only clear memory.
2009-08-02 20:55:38 +00:00
adelikat 64e0b8a2af Win32 - drag n drop for savestates and movie files. 2009-08-02 20:32:53 +00:00
adelikat 07bdf7d148 Win32 - Adding an "all files" open in the Loadstate as Open file dialog box. Adding on the trunk and on 9.2+ 2009-08-02 19:53:20 +00:00
mtabachenko 13fbc2ea8e undef wifi in non public release (luigi__, sorry if i broke you stuff, but WiFi slowdown emu. may define it only after optimising wifi) 2009-08-02 18:01:10 +00:00
mtabachenko bd04d8e9bb revert last commit. (DON'T touch it if you don't understand how it work. you reverted function which used ONLY in new gxFIFO) 2009-08-02 17:35:14 +00:00
riccardom 28ff237695 Revert r2697 and r2698 because they slowdown things a lot for me and at least
another user.
2009-08-02 16:39:47 +00:00
luigi__ a10305e786 CPU (THUMB): fix for opcode 'BX PC' which does switch to ARM state.
This fix allows the BIOS to boot a bit further (still doesn't boot).
2009-08-02 11:21:50 +00:00
zeromus 573f321508 rasterize: another fix for shadows. fixes most, if not all, of the recently broken shadows. 2009-08-02 08:18:13 +00:00
zeromus f1fa6973ab fix some regressions in display capture (fixes games with vertical streaks corruption) 2009-08-01 22:09:19 +00:00
luigi__ 6dd74f9fd2 NDS: calculate ADC touch coords from firmware calibration info.
Now when using an external firmware, you don't have to re-calibrate
the screen anymore to get correct touchscreen input.
Though, touchscreen input is still broken in commercial games
when using an external firmware. Info on that problem: touchscreen
calibration data in main mem are zeroed out for some weird reason.
2009-08-01 20:42:32 +00:00
luigi__ ea35450d02 Win32: make disassembler available in non-dev+ builds.
NDS: remove the Win32-specific include. The "autoupd asm" 
thing is just crap anyway, and we should avoid platform-
specific code in the core.
2009-08-01 11:45:13 +00:00
mtabachenko 71158e5081 revert some stuff from rev.2697 2009-08-01 06:54:15 +00:00
zeromus b8694398f6 rasterize: fix shadows more. it seems that we need more than one stencil bit. 2009-08-01 06:44:33 +00:00
zeromus c0ea499806 change 3d rendering to use 18 bits of color instead of 15. fix mario kart star powerup rainbow effect regression. merge all 3d pixel blitters into one function. fix bugs in new fifo savestates. i probably just broke some stuff but its worth it. 2009-08-01 00:47:21 +00:00
zeromus 131603c25b fix an error in wifi savestates; add sanity checking for chunk identifier to savestate code to keep this mistake from happening again 2009-07-31 21:46:21 +00:00
mtabachenko 27ce7acf63 new gxFIFO:
- fix pipe clear;
2009-07-31 17:04:02 +00:00
mtabachenko 0eaef3ea53 new gxFIFO:
- more optimizations FIFO;
2009-07-31 13:09:23 +00:00
mtabachenko d78cc99dab new gxFIFO:
- add small hack (smb64 work now)
2009-07-31 10:26:19 +00:00
nitsuja 3790d1d52e fix for too-thick rendering of edgemarked single pixels or sharp protrusions 2009-07-31 09:58:35 +00:00
gocha 14fd8ae6eb Fixed turbo behavior on movie playback (when a movie held a button and the turbo for the button was enabled, the button became released) 2009-07-31 06:33:24 +00:00