Commit Graph

1394 Commits

Author SHA1 Message Date
mtabachenko 0caab415d6 rename variable 'i' in setupTexture to 'tx' :) 2009-01-11 10:41:00 +00:00
riccardom 4c322a586b Shut up last gcc signed vs unsigned comparison warnings 2009-01-11 10:26:00 +00:00
riccardom 28a9cb1091 Shut up some gcc warnings about functions without declaration, shadowing variables, unsigned vs signed comparison and no brackets around empty if. 2009-01-11 10:18:03 +00:00
mtabachenko 4cb74761c4 fix black screen in some games when using 3D (zeromus check it) 2009-01-11 09:21:00 +00:00
zeromus 7ea5ecfb17 clean up texture format conversion code, but rework it at same time to be more powerful and safer from making mistakes in the caching, although this is hard to test. also made it safe from textures and palettes which straddle texture and palette slots. i may have broken something, but now the code is much closer to where it needs to be. 2009-01-11 05:56:36 +00:00
zeromus 08f0a76fe2 fix bug in 3d h-scrolling which was introduced by new 3d compositing 2009-01-11 01:19:26 +00:00
luigi__ 5dfc89ca83 oops, I had forgotten to set gpu->bgPixels in one of the 3D pixel blitting funcs. 2009-01-10 23:23:18 +00:00
luigi__ 25c7d09e58 Fixed rotation. 2009-01-10 22:50:00 +00:00
zeromus c54e6f000d fix a typo in the symbol name irqExeption which has always bugged me 2009-01-10 22:00:43 +00:00
luigi__ 9690913aa0 Resize handling entirely remade, it should work flawlessly now, even under Vista.
Except there's still a display bug when using a rotation of 90 or 270 degrees :( but hopefully I should fix this quickly enough
2009-01-10 21:02:13 +00:00
riccardom 2fec8603f6 Add missing licence header. The original author is missing but we can add it later. 2009-01-10 17:47:05 +00:00
riccardom 31be283ff0 Remove whitespace on empty lines. 2009-01-10 17:16:58 +00:00
mtabachenko 8d3e0b19a4 core:
- fix cache texture palette;
2009-01-10 15:15:39 +00:00
mtabachenko 03650f2a53 fix Zelda crash :) 2009-01-10 14:53:01 +00:00
riccardom ac49e378d2 Add a default label to assure that paletteAddress is always initialized. 2009-01-09 21:00:06 +00:00
zeromus 3590579579 - fix emu crashing bug caused by error in rot bg routine
- remove all y-coordinate passing from GPU. these seemed almost entirely archaic, since we have a scanline based renderer. the current scanline can be stored in GPU. please, some GPU veterans consider for a moment whether this will be a problem.
2009-01-09 09:12:19 +00:00
zeromus e323960213 win32: fix spu wav writer 2009-01-09 08:10:14 +00:00
zeromus 750bd43ce2 fix the sbc assertion. we'll take these out in a few days. 2009-01-09 07:54:15 +00:00
zeromus 707121b826 add in assertions to validate overflow checks in adc and sbc 2009-01-09 07:49:15 +00:00
zeromus 974355f886 fix bug in thumb ROR 2009-01-09 07:20:29 +00:00
zeromus 175418bb21 - change around texture coordinate logic; this removes the necessity for a hack in texcoordgen mode 1 which had always bugged me (which was necessary to get scrolling textures to work). I don't know of any test cases offhand, but this should fix other texcoordgen modes as well.
- change texture palette decoding logic to be more correct. no known test cases for this, but it was clearly broken. this was a necessary step towards more correct texture memory mapping
2009-01-09 01:47:40 +00:00
yabause 86aa5d9800 Fixed compilation on linux 2009-01-09 00:02:57 +00:00
mtabachenko 0e4367f2a2 - hack for GBA slot with GBAgame. real BIOS is not needed now :) 2009-01-08 23:20:29 +00:00
shashClp d1172395c7 - Added missing key information on the windows readme 2009-01-08 22:14:32 +00:00
mtabachenko 7a85c9e85d core:
- add experimental GBA slot implementations (100% work only in Windows, need port to others os);
windows:
- add configuration dialog for GBA slot (Emulation->GBA slot);
- add new command line commands for GBA slot;

see remark in common.h at line 47
2009-01-08 21:34:16 +00:00
yabause 71b04380f1 Fixed compilation when gtkglext is not installed. 2009-01-08 20:06:02 +00:00
mtabachenko 96333a1907 fix winport compiling; 2009-01-08 08:22:44 +00:00
zeromus 9584a9b081 fix texture handling for texels with MSB set (fixes some texture corruption) 2009-01-08 02:49:30 +00:00
yabause d10d9c6690 Removed dependency on gdkglext as we already have one on
gtkglext.
2009-01-07 23:06:13 +00:00
yabause 2941e5c05b Ooops... there was two place were glActiveTexture was WIN32
protected.
2009-01-07 22:34:07 +00:00
yabause 7877dbaa9b Setting minimum needed automake version. 2009-01-07 21:08:47 +00:00
yabause cb7887b1ec Testing if opengl api version is < 1.3 instead of testing
if we're compiling on windows. This shouldn't break
anything and fix some compilation problems.
2009-01-07 20:55:56 +00:00
zeromus 5d3620d90f reverting my revert. now i understand that the vcproj files had the configurations renamed and the sln didnt know about them. to fix this, i recreated the sln file. 2009-01-05 22:16:25 +00:00
yabause 2bef4e40b8 Better initialization of gtkglext so it doesn't works
only for depth >= 24bpp
2009-01-05 22:13:42 +00:00
zeromus b82970ad10 something is seriously messed up in this vcproj. i cant build any release builds with it. reverted to fix it. 2009-01-05 21:49:15 +00:00
mtabachenko 41c0169530 core:
- delete doubled declaration of cnt_r variable (thanks xrmx)
2009-01-05 21:40:24 +00:00
yabause 16b8a8f174 Removed the custom debug code to use the desmume one. 2009-01-05 21:13:25 +00:00
mtabachenko 597570a733 typo fix in readme.win 2009-01-05 16:42:14 +00:00
riccardom 1320134c19 Remove unused global variables, windows frontend has them too. 2009-01-05 14:38:56 +00:00
mtabachenko d501721848 core:
- optimization in ipc fifo;
2009-01-05 14:23:43 +00:00
riccardom fb160ff827 Move display size and layers menu out of graphics menu; split frameskip, display size and submenu to separated functions. 2009-01-05 14:09:17 +00:00
riccardom 4f4b7278c3 Convert Cur_Keypad to a local variable 2009-01-05 13:16:31 +00:00
riccardom 671ec49d8d Correct type and cast from / to gpointers for G_CALLBACK argument 2009-01-05 13:00:12 +00:00
riccardom 06f0cce555 Handle OBJ layers in layer visibility switch, this brings feature parity with gtk-glade in this area. 2009-01-05 10:41:52 +00:00
riccardom 985cd76a5f Rework layer visibilty handling to be something sane, in the process fix subscreen layers that were not working. OBJs are still not handled. 2009-01-05 10:29:56 +00:00
riccardom 47905bafea Move GPU_screen to rgb loop in a helper function since it is repeated three times. 2009-01-04 23:22:36 +00:00
shashClp 6f8eda0414 Update general and windows READMEs 2009-01-04 16:05:14 +00:00
riccardom d99c069c8e Oops, fixup previous changes: missing free and correct cast in malloc. 2009-01-04 14:27:25 +00:00
riccardom 9db45c8477 This experimental patch avoids an intermediate step in sdl for rgb555 to rgb conversion. In my limited testing this gives me a couple more fps, possibly because of 1 less allocation and memcpy. 2009-01-04 14:24:42 +00:00
mtabachenko 6eb058bba3 - add extended version string;
winport:
- add to projects "release" solutions (for developers and beta versions 'Interim')
- change about dialog box :)
2009-01-04 11:43:00 +00:00