Commit Graph

3465 Commits

Author SHA1 Message Date
zeromus c9f278e00d rasterize: fix fog densities > 127 2010-03-23 21:56:24 +00:00
mtabachenko edb9ebda3f core:
- fix overflow in matrices, NDS using only 24 bits for fixed-point numbers (fixed minigame with carrot :) and dialogs with star in "M&L Bowser Inside Story");

tools:
- add matrix stack test;
2010-03-23 18:56:10 +00:00
zeromus dcb572a348 fix swi 0x0E (crc16); your dawn of sorrow savefiles are invalidated. 2010-03-18 22:19:31 +00:00
zeromus 298c5256e3 debug: get rid of excessive "Reading beyond end of cart" messages 2010-03-18 18:57:36 +00:00
zeromus ee66bde8a0 debug: add no$ message support 2010-03-17 22:45:33 +00:00
zeromus 6a27ce1264 gpu: fix 3d blending color effects being applied when they shouldnt be 2010-03-17 21:25:11 +00:00
zeromus 5916d00047 win32: add menu items for obj display toggle 2010-03-17 19:25:33 +00:00
mtabachenko ef10848729 winport:
- fix input feedback support;
2010-03-17 14:04:50 +00:00
mtabachenko 51d227bff5 core:
- fix matrix stack for Projection & Texture mode (fix bug #2910405);
- fix some typos;
2010-03-17 13:10:15 +00:00
riccardom de1c8aed5a Add gap and resize support to wx frontend
This patch adds gap up to 90px when the user resize
vertically the window.

Speaking of sizes we are losing the last entry in the menu
because it does not fit in the 256 px limit.

Patch #5 by yar-tour from #2969484
2010-03-16 20:33:47 +00:00
riccardom fbe279dbdf Add rotation to wxwidgets frontend
Add rotation to wxwidgets frontend, code derived from
gtk frontend.

rm: my changes are mostly cosmetics (how can you read
multiple statements in one line? a mistery to me :)
and some tidy up for gpu_screen_to_rgb. Let me left
this quote in my defense:
"If you want to go somewhere, goto is the best way to
 get there."

Patch #4 by yar-tour from #2969484
2010-03-16 17:34:53 +00:00
riccardom 59a8ea41ab Add audio to wxfrontend on !win32
I've verified that calling the SPU_* functions without
SPU_ChangeSoundCore() does not harm here.

Based on patch #3 by yar-tour in #2969484.
2010-03-16 14:43:26 +00:00
riccardom ea6222a941 Cleanup load / save states menu
This cleanup the load and save states menu by using
EVT_MENU_RANGE.
Slightly edited from patch #2 of yar-tour in bug #2969484
2010-03-16 14:23:27 +00:00
riccardom 55fdb1b562 Fixup event enum
Using straight standard wx defintion as values in the
enum for events is wrong because we end up reusing the
already defined standard values. Use the wx definitions
directly in the code so we start from 0 in the enum.
This fix the funny random icons in the menu.
Slightly edited from patch #1 by yar-tour in bug #2969484
2010-03-16 14:01:08 +00:00
riccardom 71db5c1c21 Use Destroy() instead of Close() to exit from the controls
dialog.
2010-03-15 10:38:30 +00:00
riccardom c85a15078c Let the wx frontend build without libagg, based on a
patch by Yar-Tour in bug #2969484.
2010-03-14 23:17:21 +00:00
mtabachenko fb5f523f95 core:
- handle 32bit divnumer & divdenom (fix "Sonic Classic Collection");
2010-03-14 08:26:41 +00:00
riccardom 3ef409ba4e Move unused functions under #if 0. 2010-03-12 14:57:43 +00:00
riccardom 934fc9f777 colorAlpha is not used anymore. 2010-03-12 14:48:18 +00:00
riccardom 41b6f579c9 Remove unused variable and fix signed vs unsigned
comparison warning.
2010-03-12 14:47:15 +00:00
riccardom 2ecd8e296b Move declaration of nds_debug_* functions in header. 2010-03-12 14:46:44 +00:00
riccardom 8a083e5acb We can make validateIF_arm9 static. 2010-03-12 14:37:33 +00:00
riccardom a3bc1cd1cc Make acl_check_access static and comment a variabile which
is used only in commented code.
2010-03-12 14:33:58 +00:00
mtabachenko 3f3158c3c0 win32:
- sorry, I`m ignored last commit from zeromus :)
2010-03-11 21:53:23 +00:00
mtabachenko e4c0154dd8 win32:
- fix some bugs in OAM viewer and add scale thumb viewer;
2010-03-11 21:21:44 +00:00
mtabachenko 04aac479df core:
- fix timings in THUMB CPU mode (fix bug #2879374 and break SW: CW JA intro :(, maybe mistake in WiFi emulation);
2010-03-11 21:18:33 +00:00
zeromus 7b768b83d8 win32: straighten out the save slot 0 / F10 business 2010-03-10 18:03:11 +00:00
wntrmute 8ebe438af2 use correct address for argv 2010-03-05 20:42:35 +00:00
riccardom 8674c8cffe Cleanup resize code with opengl 2d
Based on a patch submitted at #2839785 by ramarren
simplifies a lot the code. It removes so much lines it
can't be wrong :)
2010-03-05 14:13:43 +00:00
riccardom e68f2e6cf1 Fixup cflash handling in cli frontend, bug #2955684
The code is c&p from gtk frontend to handle some addons
stuff properly. Should fix #2955684.

[insert a rant here on patches without reporter feeedback]
2010-03-05 13:43:41 +00:00
riccardom 63e66733bd Whitespace fixup. 2010-03-05 13:31:56 +00:00
riccardom 61a10c4ab6 Simply fps calculation. 2010-03-02 16:47:49 +00:00
riccardom 2ed569e475 Temporary workaround for forcing the cli keyboard mapping
instead of the gtk one.
2010-03-02 16:46:28 +00:00
zeromus 0254b5e5e2 screw around with some debugging features and the win32 disassembler windows 2010-02-28 00:07:11 +00:00
riccardom 9698f5670f Add a note about the libagg now optional for linux
frontends.
2010-02-20 13:57:06 +00:00
mtabachenko f89f383f91 core:
- add 32bits BLDY register write (fix fading in GTA);
2010-02-19 19:25:07 +00:00
riccardom b171a0991a Whitespace cleanup. 2010-02-17 21:40:30 +00:00
riccardom af100c36dc Don't build the wx frontend if antigrain is not available
I don't want to clutter the source code with ifdef :)
2010-02-17 14:36:51 +00:00
riccardom 264b0987e8 Let desmume build without libagg
libagg is used only by the HUD but the usage of it
outside windows is pretty small. So just in case it is
not available we can live without it.
2010-02-17 14:06:00 +00:00
riccardom 3573ce6248 GPU_osd.h is not needed here. 2010-02-17 10:49:02 +00:00
zeromus 40b6351dae stop letting roms read off the end of the cart and crash the emulator. 2010-02-15 11:02:49 +00:00
riccardom ecf8cf18c7 We can make CLZ_TAB const. 2010-02-12 16:57:39 +00:00
zeromus 277401e4d8 don't print mandatory \n in ideaslog 2010-02-09 19:33:03 +00:00
mtabachenko f5e29556bc winport:
- removed EXPERIMENTAL_WIFI_COMM definition from VS2008 x86 project (use userconfig.h for definitions);
2010-02-08 12:27:12 +00:00
zeromus 87124da471 fix another typo. this is why i said I dont have a code pattern i like yet 2010-02-06 15:51:04 +00:00
zeromus 15a712cc42 fix typo in powcnt1 2010-02-06 15:37:30 +00:00
zeromus bc3fd907e3 fix powcnt1 better (fixes manicminer homebrew)
note that 90% of all remaining desmume bugs can probably be fixed by more correct register emulation in a way done like this checkin. however I have not yet established a code pattern that I like for it so I am not sweeping through and changing them all at once yet.
2010-02-05 18:48:44 +00:00
mtabachenko 721f0406c9 OpenGL:
- rewrite shaders, optimized & fixed some bugs (fixed dark donuts in Garfield, bosses in Nanostray 2);
2010-02-05 16:41:15 +00:00
riccardom e48fcc9e85 Dont include lua cflags unconditionally especially since
we don't compile lua stuff.
2010-02-05 14:24:07 +00:00
wntrmute fdd1c0e6e8 build with gdb stub 2010-02-05 01:52:20 +00:00