Commit Graph

1419 Commits

Author SHA1 Message Date
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
zeromus 39083243ed add changelog for homebrew fix 2009-01-04 00:35:22 +00:00
yabause 68fd04ca2c Added osmesa "backend" for OpenGL (off-screen) rendering
in gtk port.
This is enabled with --enable-osmesa configure switch and
shouldn't break (or change) anything when the switch is not
used.
If someone feels like porting that to glade port, go ahead...
but there's a number of opengl/gtkglext/etc. issues that will
need to be fixed first.
2009-01-03 23:37:26 +00:00
riccardom 7a245ef399 Disable ability to change screen size: it doesn't work and there's a lot of code that relies on default size. 2009-01-03 22:53:17 +00:00
riccardom 1411519bea Kill Modify_Key() related global variables and put them in a struct passed to the callback function. 2009-01-03 22:05:24 +00:00
yabause b893eddd17 AFAIK, the layout file was needed by dev-cpp and is useless
now.
2009-01-03 21:49:19 +00:00
riccardom fc31ff0d29 cleanup status bar code: convert pStatusBar_Change from macro to function, convert pStatusBar_Ctx from global to local 2009-01-03 21:10:56 +00:00
riccardom 0a351b29db gtk frontend: use ternary operator instead of if/else 2009-01-03 20:30:03 +00:00
riccardom b128934473 Move menu and toolbar creation to helper functions in gtk frontend to make
common_gtk_main() more readable.
In the process i had to do these changes:
- set limiter_timer to NULL because gcc warns it could be used uninitialized
- made pToolbar local instead of global static
- remove a double gtk_check_menu_item_set_active() call
2009-01-03 18:44:02 +00:00
riccardom 66a27544f3 More global to local varialbe converison. 2009-01-02 17:36:58 +00:00
riccardom 85a9c6e87d Remove unused global variables, move desmume_last_cycle from global to static in desmume_cycle(), no need to initialize static variables. 2009-01-02 16:47:39 +00:00
mtabachenko 9383c57874 - fix VERSION define; 2009-01-02 10:13:26 +00:00
mtabachenko 564da1a23a - fix Intel C++ windows port project; 2009-01-02 09:52:50 +00:00
zeromus 40c3451047 fix homebrew 3d--one issue, at least. one of the vram register writes wasnt storing into the MMU memory (only executing the reconfiguration logic); but devkitpro is reading back from that register in its function vramIsTextureBank() which is used to allocate texture memory. this system of acting upon register writes, and stuffing the values for use later for register reads, is disturbing and bugprone this way... someone should probably look for early returns from MMU writes and make sure none of them are illegitimate. 2009-01-02 08:20:37 +00:00
zeromus c0e351339f - re-enable the 'suspected invalid' logic in the texture cache after trying to fix what might have been broken in it, which was a failure to invalidate the cache when tex palettes changed.
- fix a bug which breaks any texture that spans a texture bank. this was only tested for 4bpp textures but applies to all but 4x4 and 16bpp
- I believe we were sending the 3d vblank end signal on the wrong scanline
2009-01-02 06:32:09 +00:00
riccardom 08e8a91daf Revert the thumb_instructions.cpp part of 1344 commit too 2009-01-01 23:43:48 +00:00
riccardom 04cfc7ae66 Revert changes from 1344: they break at least audio for me and Luigi__. 2009-01-01 23:28:54 +00:00
zeromus c0284f63f6 disable shaders in 0.9 release. reflect this in changelogs. change version number to 0.9 2009-01-01 21:24:32 +00:00
zeromus 1af2d1026e fix changelog to remove features which arent going to make it into 0.9 2009-01-01 19:28:47 +00:00
MightyMax 0a909c831d more WIFI registers implemented, some fixed to match behavior on hardware 2009-01-01 17:54:16 +00:00
riccardom 43880c9a21 Rename references to .c files. 2009-01-01 17:47:52 +00:00
riccardom d86428576c Cleanup keyval_names.h: move stuff where it should be. 2009-01-01 17:40:16 +00:00
riccardom 4844c3d567 Cleanup struct TextureCache definition. 2009-01-01 16:51:13 +00:00
riccardom 61f71511ca No need to shadow i (gcc warning). 2009-01-01 16:08:52 +00:00
mtabachenko 7f21832b5d core:
-fix texture caching
2008-12-31 20:13:19 +00:00
MightyMax 3fde410ecb MMU_write32: replaced comparison heavy (two per case: >=,<) if-chain with a switch/case (only one if can be true at any time) 2008-12-31 20:00:14 +00:00