Commit Graph

640 Commits

Author SHA1 Message Date
mightymax f778538093 undid the last BG order change (sorry damoum, it was unable to run any nds file withou crashing, and gdb didnt even want to attach to it before desmume closed) 2007-01-11 18:46:19 +00:00
cyberwarriorx 540cc064eb -Fixed another case of people declaring variables in the middle of a function. Whoever is doing it, please -stop-. 2007-01-11 18:33:32 +00:00
damdoum bf3d9a5bff gtk-glade : OBJ on/off
redone BG / OBJ priorities
2007-01-11 17:26:32 +00:00
mightymax 1965e45448 fixed affineMode switch for extRot BGs 2007-01-11 16:06:06 +00:00
mightymax 5c2eff4604 resolved GPU->lcd/core mixup, fixed addBack/remove to use new resorting 2007-01-11 15:24:02 +00:00
mightymax ec21670868 applied namechanges of GPU.h into the .c (bitfield=>bits), fixed BG0_3D corrupting 2D background 2007-01-11 14:42:00 +00:00
mightymax 66a6a53327 added 8/32bit writes to masterbrightness registers 2007-01-11 14:08:47 +00:00
mightymax 1eba551108 masterbrightness works now exactly as on hardware (see added comments, where the problems with some files might come from and for a test .NDS) 2007-01-11 13:56:49 +00:00
damdoum db5a7884fc cleaning MASTER_BRIGHT
reverted 31 to 63 for brightness formula (gfx had become blank instead of
colourful for some games)
2007-01-11 12:24:35 +00:00
mightymax b5ddb1ce2c fixed extrot GBs 2007-01-11 12:12:33 +00:00
mightymax 3bc6e11ba2 combined both BG resortings and replaced it with a documented selection sort, broken BGs sinc 1.39 should work again 2007-01-11 11:50:41 +00:00
damdoum cf4d99a320 cleaned BGProp[] out
:)
2007-01-11 10:14:42 +00:00
damdoum e5918ccbc6 commented a bit the structures 2007-01-11 09:08:47 +00:00
evilynux 4601643cd6 Fixed cli UI keyboard bindings:
- X and Y were inverted;
- keyboard keys were never released.
2007-01-11 08:57:28 +00:00
evilynux 568dcfdc51 - Added joystick configuration routines.
- Remaped cli keyboard buttons for better usability.
- Added X and Y buttons to cli UI.
2007-01-11 08:51:24 +00:00
evilynux 3884a80f48 First glimpse of joystick configuration.
Still hidden as it's not 100% working at the moment.
2007-01-11 08:47:12 +00:00
shashclp 2d542a64c7 - Fixed too much background enabled when not needed due to window handling (fixes Megaman ZX subscreen) 2007-01-11 05:51:26 +00:00
shashclp 9a1143a3e7 - Fixed the bug that resulted in missing backgrounds in Megaman ZX and AoE (probably others too) 2007-01-11 05:08:45 +00:00
mightymax b83c0051a6 fixed in/out-window check 2007-01-10 23:02:18 +00:00
mightymax ea38d6c3da fixed write to window registers 2007-01-10 23:01:25 +00:00
mightymax defa6952f8 added 8bit writes to window dimesnion components 2007-01-10 21:06:09 +00:00
mightymax a806f55c47 added 8bit component writes for window dimensions, fixed false abort in windowing 2007-01-10 21:05:17 +00:00
mightymax 5599c9ee15 added retrieving of RotScale parameters for sprites, removed CHECKME: H/V-flips are within original drawing rectangle 2007-01-10 20:21:48 +00:00
mightymax 19457346cd fixed outside window filter 2007-01-10 18:32:25 +00:00
cyberwarriorx b8fca1e8e4 -Fixed an issue where variables weren't being declared in the proper spot. This causes problems when compiling in Visual C++ 2007-01-10 17:49:12 +00:00
evilynux ae80da0c57 Fixed compilation error by moving min(a,b) macro to GPU.h . 2007-01-10 17:36:08 +00:00
evilynux 7ee96932df - Removed joypad debug message;
- Renamed mouse_set_coord() to set_mouse_coord() for naming consistency;
- Added mouse_status structure to handle all mouse informations;
- Clarified some #endif for easier reading;
- Removed some french comments;

Only in src/cli/main.c:
- Removed 2 useless #define;
2007-01-10 17:29:47 +00:00
mightymax c950ca35d8 fixed wrong optimized sizeof(COLOR) [is 4 instead of 2] caused overwriting unrelated data 2007-01-10 15:09:18 +00:00
mightymax d166860a5f fastened masterbrightness on max brighten(=allwhite)/max darken(=allblack) 2007-01-10 13:25:26 +00:00
mightymax f75f24b53d abort of masterbrightness calculation if manipulation factor is 0 2007-01-10 13:04:39 +00:00
mightymax 9a65ce5c07 ACL checks disabled when define MMU_ENABLE_ACL is not set 2007-01-10 12:49:48 +00:00
mightymax 2ed45a1d41 added missing * 2007-01-10 12:48:23 +00:00
mightymax ffed3785ad added accessright check to STRH/LDRH 2007-01-10 12:47:36 +00:00
mightymax e5578d6ca7 added windowcheck to renderline_setFinalColor 2007-01-10 12:39:21 +00:00
mightymax 7f49e3cbff fixed masterbrightness formular, fixed typo in windowcnt_t 2007-01-10 12:38:44 +00:00
mightymax b4346d00ef removed double COLOR define 2007-01-10 11:56:07 +00:00
damdoum 1b06735f17 added COLOR32 structure (for those like me converting colors :)) 2007-01-10 08:58:35 +00:00
damdoum f05310c559 started window implementation
added COLOR structure (cleanup soon)
BG priorities and OBJ priorities need better code commenting / code to
explain / redo
2007-01-10 08:50:25 +00:00
evilynux 016cd09ed5 All cli UI controls centralized in src/ctrlssdl.{h,c} just like the gtk and gtk-glade UIs. 2007-01-10 06:37:55 +00:00
evilynux cd0f5ea781 Added SDL_Quit and mouse support for cli UI. 2007-01-10 06:36:26 +00:00
evilynux 8a718d5f27 Using _UI suffix for better understanding. 2007-01-10 05:04:57 +00:00
evilynux 1d9b17bd18 Unified joystick controls.
Both gtk and gtk-glade UIs use src/ctrlssdl.{h,x} for joystick support.
2007-01-10 04:34:56 +00:00
evilynux 9a6a3a36f7 Unified device controls. Both gtk and gtk-glade UIs uses this for joystick support. 2007-01-10 04:33:19 +00:00
mightymax 8002f6b129 type fixed 2007-01-10 00:37:32 +00:00
mightymax 67ac2f8b04 prefetch now checks for rights to execute at the address. Stops execution if pc(r15) runs outside valid addressranges 2007-01-10 00:31:12 +00:00
mightymax 1ff96c7899 cp15 access check is now inline 2007-01-10 00:27:58 +00:00
shashclp 54d9fa1c26 - Forgot to commit the changes to get oamView to compile 2007-01-10 00:19:16 +00:00
shashclp c3c2b9fc75 - Added support for displaying main memory display mode
- Added support for main memory display DMA
- Enlarged the FIFO's to 32768 values
2007-01-10 00:06:50 +00:00
yabause 30022dea74 Fixed compilation bug: FIFOValue was used in GPU.h without #include'ing
FIFO.h, so it ends up having two 'declarations' of FIFOValue
2007-01-09 23:26:38 +00:00
shashclp 8157759485 - Added support for MASTER_BRIGHT
- Changed a few things to get VisualC to compile GPU.c
2007-01-09 22:38:23 +00:00