Commit Graph

2836 Commits

Author SHA1 Message Date
p989 88f0549e85 win32: start converting filters to 32bit 2009-08-10 02:30:32 +00:00
nitsuja c4be07bc87 disp3dcnt fix (fixes missing zx advent sprites, and I don't know what else) (possibly incomplete though),
32-bit poly+vert-count read fix,
disassembler stack corruption fix,
savestate fix with wifi sequencer,
made wifi random not use rand() since that could potentially cause desyncs,
did some probably-minor savestate optimizations
2009-08-09 22:31:59 +00:00
yabause 5e3cb11c83 Fixed MAX_PATH definition for POSIX systems without any
limit on filename length (where PATH_MAX is not defined).
2009-08-09 21:07:34 +00:00
luigi__ e007f422f4 Wifi: implement a communication interface structure, change SoftAP to use this
structure, add a (dummy for now) adhoc interface. Also SoftAP is disabled for
now as I'm going to focus on adhoc (multiplayer games, download play, etc...).
2009-08-08 20:58:17 +00:00
luigi__ 7532a5d66e Wifi: add proper resetting & deiniting, remove the useless 'wifimac_t *wifi'
parameter from all functions.
2009-08-08 14:46:49 +00:00
luigi__ c2291bfee6 Wifi: modify wifi settings dialog, add two modes: Ad-hoc and infrastructure.
Disable Infrastructure as it's just SoftAP, it doesn't work yet and I'm
going to focus on Ad-hoc mode for the moment.
2009-08-08 13:18:35 +00:00
riccardom aa32f62368 Remove unused variables, ifdef what looks debug code. 2009-08-08 10:50:38 +00:00
riccardom c0ebfc43f0 Remove a few unused variables. 2009-08-08 10:49:08 +00:00
mtabachenko 07806eb836 core:
- fix matrix stack (this is a hack, need rework. Tony Hawk's American Sk8land work now);
- i some fixed boxtest, its need for Garfield & Nanostrays (BIG speedup) need to rework.
2009-08-06 22:54:32 +00:00
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