Commit Graph

2916 Commits

Author SHA1 Message Date
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
mtabachenko 8952a9005e - typo fix (unpacked no$gba saves); 2009-07-30 16:32:49 +00:00
mtabachenko 9bd1b7e691 -some fixes in no$gba saves unpacker; 2009-07-30 15:13:11 +00:00
mtabachenko 517d31bae9 - add loading saves from No$GBA ;) 2009-07-30 14:47:54 +00:00
mtabachenko 66b71553d0 core:
- optimize IPC FIFO;
2009-07-29 22:59:46 +00:00
mtabachenko 309cb2418a new gxFIFO:
- optimization of FIFO functions (speedup);
2009-07-29 22:10:55 +00:00
nitsuja ea5abf672e attempt at fixing the edge marking implementation (softrasterizer) 2009-07-29 13:14:05 +00:00
nitsuja d9b6e86c40 fix for emu window not showing up after it gets saved at position (-32000,-32000) 2009-07-29 04:51:38 +00:00
riccardom 146f8b43df Note we have osd and hud on linux frontends too. 2009-07-28 20:43:56 +00:00
riccardom ffeb6b97f0 Make glib mandatory for all frontends. 2009-07-28 20:36:53 +00:00
zeromus 74e0fabca9 gfx3d: fix bugs in poly sorting 2009-07-28 08:14:11 +00:00
zeromus 2c3cef961c win32: more threading fixes, and fix a bug in stylus coordinate osd 2009-07-28 05:29:28 +00:00