Commit Graph

1421 Commits

Author SHA1 Message Date
zeromus f1c135e929 - add secure area decryption from ndstool (little endian host only)
- change how the portable packed structure declarations are made
- reorganize and cleanup changelog
2008-12-25 20:43:59 +00:00
riccardom 296e5e217d cast to int to avoid gcc signed vs unsigned comparison warnings as already done in the code. 2008-12-24 16:29:01 +00:00
mtabachenko da8e3f28ea winport:
- fix IO registers tools (fix and add new registers)
2008-12-24 13:18:33 +00:00
luigi__ e366145188 Added my name 2008-12-24 11:08:35 +00:00
luigi__ 4f4ccab0ca Added my name 2008-12-24 11:07:14 +00:00
mtabachenko 9b5d0bd045 core:
- fix debug log in MMU;
2008-12-24 10:27:39 +00:00
gecko_reverse e45499646c fixed PPC compilation errors 2008-12-24 02:21:46 +00:00
mtabachenko ae56e34cc5 winport:
- fix compilation with define EXPERIMENTAL_WIFI (winsock2)
2008-12-24 01:37:18 +00:00
mtabachenko 693df94cb6 core:
- Add functions for a lid open/close. Holding key (default "Backspace" in Windows port) while game is freeze/non freeze
2008-12-24 00:25:48 +00:00
riccardom 068adfadbd u32 needs l lenght modifier. 2008-12-23 23:02:46 +00:00
riccardom 155374e579 Fix missing indentation. 2008-12-23 22:49:46 +00:00
riccardom 9fa53576a5 Fix most compile warnings with --enable-hardcore. 2008-12-23 22:41:37 +00:00
mtabachenko c7caead1ff core:
-fix gxstat register;
2008-12-23 22:03:35 +00:00
luigi__ 75041c7196 MMU.fw.data is now entirely cleared to zero (instead of the first 512 bytes) before anything (NDS_CreateDummyFirmware) 2008-12-23 21:44:07 +00:00
yabause 01b2c8076f Dirty fix for the bad context bug.
Instead of fixing it, we're trapping the error and disabling 3D.
2008-12-23 21:20:13 +00:00
mtabachenko 5d48cdbca9 core:
- added to capture display support for 3D and blend sources A+B capturing;
2008-12-23 21:16:27 +00:00
mtabachenko 0eff66ec25 oops :) sorry, forgot 2008-12-23 12:56:52 +00:00
luigi__ ad845549e1 Fixed a compilation error. silly of me :( 2008-12-23 11:48:27 +00:00
mtabachenko a2e95b9bab forgot file :( 2008-12-23 11:42:33 +00:00
luigi__ 5c5c64d089 Fixed a bit the shadows, they don't cause any more glitches when overlapping translucent polygons 2008-12-23 11:39:23 +00:00
mtabachenko 9decebf56f core:
- fix BMP sprite;
2008-12-23 11:08:25 +00:00
yabause 3d2a8101f0 Adding manpages from debian, not sure why they were
added there at first.
2008-12-22 23:53:34 +00:00
luigi__ a6bf874f44 Fixed 16-bit and 32-bit accesses to the VRAM regs
Added basic support for the VRAMSTAT, WRAMCNT, WRAMSTAT and EXMEMCNT regs (writes to these regs now write the appropriate values at the other side)
2008-12-22 10:45:25 +00:00
mtabachenko 87036ecdd1 core:
- fixed silly bug in VRAM mapping (typo)
2008-12-21 20:22:56 +00:00
luigi__ b06345976f Corrected a small mistake with WFC profile #3. 2008-12-21 15:47:42 +00:00
mtabachenko 0d05310058 core:
- temporally fix in VRAM mapping and add BGx scroll;
2008-12-20 11:44:07 +00:00
luigi__ 6e39973723 Added the 3 WFC profiles with their CRC16's, now Mario Kart boots a bit more (the next problem for it seems to be a DMA timing problem). 2008-12-19 18:10:03 +00:00
luigi__ 7a64ad3286 Added the flag OFN_NOCHANGEDIR when opening a file (prevents changing the working directory).
This prevents the config file from being exported to the ROM folder, resulting in config saving problems.
2008-12-19 16:27:01 +00:00
luigi__ aef05f28ed Added more values to the default firmware (mostly Wifi settings) 2008-12-19 15:33:06 +00:00
mtabachenko 6b49906cf5 core:
- fixed Master Brightness (this is fix games with black screens ex. "Pirates of the Caribbean At Worlds End");
2008-12-18 13:16:21 +00:00
mtabachenko 27786f835d core:
- fix capture display (fixed blinking with both 3D screens ex.Sonic Rush, Metroid Prime etc)
2008-12-18 00:36:54 +00:00
yabause c5a37f52b9 Added the movie thing and its dependencies into autotools scripts. 2008-12-17 23:45:07 +00:00
mtabachenko 8cef0b268c typo fix 2008-12-16 17:17:23 +00:00
mtabachenko cdcd88725c core:
- fixed in 3D render and added simulation Geometry FIFO;
2008-12-16 16:54:50 +00:00
riccardom 014f42d293 Make functions without declaration static and remove unused i variables. 2008-12-15 21:25:46 +00:00
mtabachenko ff328543a0 core:
- cleanup gfx3d.cpp;
2008-12-14 19:48:43 +00:00
shashClp 70fe9c0f86 Removing credits for a persons work is something that I won't tolerate, more when it's my work.
It's OK to add more people, but not removing them. Also, as a general comment, that speed "improvement"
is completely stupid.
2008-12-14 18:14:47 +00:00
luigi__ ac7e151964 minor optimization to lighting formula 2008-12-14 16:32:19 +00:00
mtabachenko 36da3ccf07 core:
- 1st step for MMU split for procs (speedup);
- some changes in FIFO;
2008-12-14 14:56:26 +00:00
zeromus 9e8dada75e change arm9 sqrt and div. sqrt should be more precise, and the register access is more straightforward. 2008-12-14 00:29:51 +00:00
luigi__ 51e8d353da Fixed ARM9 hardware division when the denom is zero (see http://nocash.emubase.de/gbatek.htm#dsmaths) 2008-12-13 20:30:31 +00:00
luigi__ bb3be34cb9 Fixed a few bugs with looping feature (looped sounds now play corectly when using PAlib)
Changed interpolation to cosine interpolation (makes transitions smoother)
2008-12-10 18:31:56 +00:00
zeromus 0501a23279 fix windows build (fs-windows.cpp moved) 2008-12-08 22:03:57 +00:00
yabause 54c97f1624 Started to fix "make dist" as we should release sometime soon.
This commit broke the visual studio compilation as I moved
fs-windows.cpp back in "src".
I also removed some old files from gtk dir.
2008-12-08 21:57:05 +00:00
yabause 2a6fa23065 Fixed compilation on linux. 2008-12-08 20:27:09 +00:00
luigi__ e40813eece Fixed texturing when using fixed pipeline (thanks to zeromus for reporting this bug) 2008-12-08 18:07:40 +00:00
mtabachenko f41d634d5a core:
- some fixes;
2008-12-08 13:11:05 +00:00
mtabachenko f04f80ba20 core:
- fix VRAM mapping control (now this correct, in future need only add WRAM mapping);
2008-12-08 12:31:43 +00:00
mtabachenko 626e94e493 - exclude check address range in VRAM (may crash in some games :( ); 2008-12-08 10:18:50 +00:00
mtabachenko 445c953371 core:
- fix VRAM bug (ex. NSMB fixed background missing on map)
2008-12-08 09:15:40 +00:00
gecko_reverse 339727fab1 compile fix for NDS_exec 2008-12-08 07:19:49 +00:00
zeromus 2f522dc81f fix more bugs in map view tool (values were mismatched and messed up) 2008-12-08 07:09:06 +00:00
zeromus 39a5aa7b50 revert crazymax's change to master brightness. it looks 100% wrong, so I dunno what he was trying to do. now fades on subscreen work correctly 2008-12-08 06:52:38 +00:00
zeromus 7cb8b54dc3 - I think other ports will be broken. Please change NDS_exec() to NDS_exec<FALSE>()
- Repair some things which had recently degraded win32 performance
- Render 3d on scanline 213 instead of at vblank, since that is when rendering begins on the device; this eliminates transient texture corruption when dynamic textures are uploaded after vblank
- myriad tiny performance boosts to emu and cpu core
- fix other tool dialog boxes which were malfunctioning
- add layer visibility flag to mapview tool
2008-12-08 06:32:29 +00:00
zeromus a47098cf71 fix bug(?) in new input config dialog that caused it to act freaky 2008-12-08 03:52:04 +00:00
adelikat 477d3f0a84 shaders.h fixes 2008-12-08 01:00:48 +00:00
yabause e82fa92c5a Removed config.h file as the file doesn't exists anymore. 2008-12-07 15:55:16 +00:00
yabause f8d567b948 fixed compilation for windows 2008-12-07 15:54:10 +00:00
yabause 10f8f40ffc Fixed compilation for linux and windows 2008-12-07 15:53:35 +00:00
riccardom e71197e4c8 Don't need two more variables, use them straight. Removes a ton of
warnings of unused vars.
2008-12-07 15:52:48 +00:00
riccardom 823bbb41aa Make createShaders() static. 2008-12-07 15:36:54 +00:00
riccardom c40e2f8f7e Make a loop counter variable unsigned to shut up gcc warnings. 2008-12-07 15:33:29 +00:00
riccardom cac9919280 Put second argument of macros under round brackets to avoid operator precedence
problems.
2008-12-07 15:28:44 +00:00
gecko_reverse 6066bda81e cococa port compiling again 2008-12-06 20:24:44 +00:00
yabause 8dc70c893b Patch by Salva Peiró (from inferno-ds):
See http://groups.google.com/group/inferno-ds/browse_thread/thread/acedc438fae01829
2008-12-05 23:10:36 +00:00
yabause 0c46504c2a Fixed compilation for linux, I guess it's still broke
on mac. (AFAIK, there's no need for *GetProcAddress on
mac)
2008-12-05 22:50:45 +00:00
luigi__ 330bbccb08 Forgot to update the project file. sorry... 2008-12-04 22:08:02 +00:00
luigi__ 00e8e666cb Fixed unaligned accesses. Now Rayman DS shows 3 intros. 2008-12-04 22:04:09 +00:00
luigi__ bd1367a536 Modified the GXSTAT register handling, this is still an ugly hack but some games (like Super Mario 64) don't freeze anymore. 2008-12-04 21:58:24 +00:00
luigi__ 5c457346db Added shaders for better 3D graphics
Fixed toon table uploading
GL extensions should now work under Linux with glXGetProcAddress (not tested)
GFX3D::HIGHLIGHT is now 1 as it's supposed to be
2008-12-04 19:48:46 +00:00
luigi__ bae065318f Implemented the lighting formula used by the DS + shininess table + fixed gfx3d_glGetDirectionalMatrix (I'm REALLY astonished that nobody ever seen how this function was incorrectly coded) 2008-12-04 18:48:32 +00:00
luigi__ ab7c20492b Fixed a few 3D function mismatches (for example setting light direction through reg at 0x040004C8 would assign the value as light color) 2008-12-04 18:46:02 +00:00
mtabachenko 6907ebfa93 core:
- fix bug in VRAM;
2008-12-01 00:26:06 +00:00
mtabachenko e00fc1b849 core:
- small fix in VRAM mapping control;
2008-11-30 23:54:05 +00:00
mtabachenko e5a0463b14 core:
- fix master bright (use only in EngineA);
2008-11-30 17:09:55 +00:00
mtabachenko e708fde3b3 winport:
- fix compile Intel C++ project;
2008-11-30 16:21:11 +00:00
mtabachenko 13101b934c oops, sorry (forgot remove one extern) 2008-11-30 15:42:15 +00:00
mtabachenko 7c9a646e52 core:
- rewrite VRAM mapping control & rendering;
2008-11-30 15:35:10 +00:00
riccardom 4a73940926 Removed printscreen.cpp entry, don't know if this will make it build again. 2008-11-29 15:09:43 +00:00
riccardom 01b3c77010 Kill WriteBMP and use the very same Printscreen functions from the gtk frontend.
This means a few more code duplication but remove some ugliness.
Now dev-cpp (i suppose) compilation is broken.
2008-11-29 15:07:31 +00:00
yabause df1e0d6737 Patch 2358908 by StrontiumDog with some changes.
This patch fix some more warnings. Most of them
being warnings about unused fread/fwrite results.
Instead of just discarding the result, the number of
read/write is stored in the variable and can be use
to know if there was a problem in the fread/fwrite calls.
(also change the variable names to elems_ instead of
bytes_ as the function returns the number of items not the
number of bytes).
2008-11-29 14:29:07 +00:00
yabause 3316d1e0b4 Added back the *DEBUG macros so you can choose which debug
messages you get by defining one or more of those macros.
Added configure switch to enable them.
2008-11-28 23:26:26 +00:00
yabause de243e9396 Removed gdbstub directory from compilation process when
--enable-gdb-stub is not used.
2008-11-28 22:57:28 +00:00
riccardom cfdf51a915 Add missing gtk_message_dialog_new() argument, pointed out by Strontium. 2008-11-28 22:38:11 +00:00
riccardom 8233f57bfa Removed unused variables pointed out by Strontium on irc, while
at it remove an useless initialization.
2008-11-28 22:30:30 +00:00
riccardom 19bc6f80cf Fix whitespace 2008-11-28 22:06:08 +00:00
mtabachenko 4bad0719ef - printlog() replaced on INFO(); 2008-11-26 14:09:41 +00:00
yabause c40f66382f Removed the shadow on some variable just to keep gcc quiet. 2008-11-25 21:04:31 +00:00
yabause fc2b5ee106 Some changes to the "memory profiling" feature:
- gtk frontend and core now use the same preprocessor definition
  to protect their code.
- removed the #define from the code and added a configure switch.
2008-11-23 14:52:43 +00:00
adelikat 2fabaf3003 Fixed windows build 2008-11-21 23:17:14 +00:00
yabause ffc9f0284f Here comes the new debug code...
there's good chance that I just broke the cocoa and
windows frontends, sorry about that.
2008-11-21 22:36:40 +00:00
riccardom 9575c907a7 Whitespace cleanup, no functional changes. 2008-11-21 10:39:14 +00:00
riccardom 5ed65db952 Use delete to release header memory. adelikat certified it doesn't break :) 2008-11-21 10:28:31 +00:00
riccardom 3653a8dfc1 Revert nds magic number check because it broke loading some homebrew roms. 2008-11-20 19:58:24 +00:00
adelikat 3e0f2e7734 Win32 - frameCounter resets when loading a new rom. Removed some of my debugging printlog statements 2008-11-19 14:28:49 +00:00
mtabachenko a2b5316b61 core:
- fixed broken input (typo fix);
2008-11-19 07:56:57 +00:00
normmatt234 a2b444e0fa More Save Auto Detection Sizes added.
Opps broke one of the save type buttons.
2008-11-19 07:48:00 +00:00
normmatt234 d8c104af01 Fix broken windows debugging tools (Disassembler Still not working correctly).
Added Flash 4Mbit save type
Fixed 2Mbit save type incorrectly set as FRAM.
2008-11-19 06:50:00 +00:00
mtabachenko 5ba5bff4d2 core:
- fix textures (ex. Castlevania DOS)
2008-11-18 09:24:23 +00:00
riccardom 38958f7998 Make not modified array const instead of static. gcc generates
the very same code though.
2008-11-17 21:04:12 +00:00
riccardom 33b739ad9e Fix variable shadowing in OGLRender by reusing u32 *dwdst
instead of declaring a u16 *dst.
2008-11-17 20:17:10 +00:00
riccardom 876a911a0d More robust check for roms:
- check nds roms magic number
- check that rom size is at least the expected size of the rom header
2008-11-17 20:14:32 +00:00
mtabachenko 1176c2a1a7 ops 2008-11-16 14:15:23 +00:00
mtabachenko 589cc4c43a - forgot for me :( 2008-11-16 13:59:53 +00:00
riccardom 604b8f466e Whitespace cleanup in list_files to save one level of indentation 2008-11-15 23:11:21 +00:00
riccardom 4a3c15d11a Reduce stack size a bit using proper size for buffer; reorder code a bit to
have a simpler error checking.
2008-11-15 23:09:46 +00:00
adelikat b5cd79371b Win32 - fix NDS_UnPause to not attempt to unpause if no ROM is loaded (causes a rom to try to be loaded and errors). NDS_Pause and NDS_UnPause only respond if paused = false or true respectively. Minor fix to Drag and Drop 2008-11-15 20:04:22 +00:00
adelikat b187f8d164 Win32 - Fix bug where DeSmuME attempts runs LoadROM on startup even if no ROM is specified on commandline 2008-11-15 19:50:23 +00:00
adelikat ac2ef12a39 oops, fixed bug in UpdateRecentROM() 2008-11-15 18:21:27 +00:00
mtabachenko da981a84ed core:
- temporary implementations for clearing VRAM (garbage on screen);
2008-11-15 18:09:41 +00:00
mtabachenko 9cbd4d7035 winport:
- fix crashes tools on Windows XP;
- added refresh on cycles in Disassembler tool;
2008-11-15 17:51:17 +00:00
mtabachenko 443ce7216d winport:
- fix crash (RecentROM)
2008-11-15 15:56:03 +00:00
adelikat 03c97b404d Win32 - Added Recent ROMs menu 2008-11-15 13:57:54 +00:00
riccardom 85e436de6c Format my name, first desmume commit :) 2008-11-15 13:54:17 +00:00
yabause 25d894e84e Added Zeromus, Magliocchetti Riccardo and adelikat to
"team" list and moved inactive members to "contributors".
We may use a better format for that file though...
2008-11-15 13:16:34 +00:00
yabause 8ecc3a26f8 Patch by Magliocchetti Riccardo:
remove silly log messages, convert some sprintf to g_strdup_printf
and where not practical at least to snprintf
2008-11-15 10:20:18 +00:00
adelikat 7ad9ddc868 Oh right, multi-language menus 2008-11-12 04:28:07 +00:00
adelikat 613ca15d38 Win32 - added Ctrl+O accel key for Open Rom 2008-11-12 04:26:12 +00:00
adelikat d6fb992d57 changed reference to Disassembler.cpp to Disassembler.h 2008-11-11 01:32:55 +00:00
zeromus 80a75efc1d i am dumb 2008-11-11 01:04:13 +00:00
yabause a4a055ac76 Patch by ico2:
Outputs a listing of executed code during execution.
define preprocessor variable WANTASMLISTING to use it.
2008-11-11 00:17:58 +00:00
zeromus 6194523549 oops forgot a couple of files 2008-11-10 22:37:21 +00:00
zeromus 024462c221 need to move these files over to another computer. dont think they should get in anyone else's way 2008-11-10 22:34:52 +00:00
yabause 279dc1e6b8 Patch by ico2:
changed width to event->width as it was preventing compilation.
2008-11-10 22:27:08 +00:00
yabause 7923100820 Patch by Magliocchetti Riccardo:
show key name instead of code when modifying controls, the very same change has been committed some times ago to the function that show it
2008-11-10 22:23:49 +00:00
yabause 6c8d4b2ff0 Patch by Magliocchetti Riccardo:
fix shadowing of size variable, renamed the offender sz
2008-11-10 22:18:54 +00:00
yabause d6e9f00ebc Patch by Magliocchetti Riccardo:
fix may be used uninitialized, while at it add proper error checking in fps limiter code
2008-11-10 22:12:19 +00:00
yabause e46a6e093f Patch by Magliocchetti Riccardo:
fix some sign vs unsigned warnings casting signed variables / constants to unsigned types
2008-11-10 22:09:39 +00:00
yabause e74601884a Patch by Magliocchetti Riccardo:
Removed shadow on "i" variable.
2008-11-10 22:07:20 +00:00
yabause c5e2f063dd Patch by Magliocchetti Riccardo:
Removed shadow on size variable.
2008-11-10 21:59:54 +00:00
yabause 54f56cb716 Patch by Magliocchetti Riccardo:
Removed shadow on fpath.
2008-11-10 21:47:21 +00:00
yabause dfb4ada998 Patch by Magliocchetti Riccardo:
removed shadow on pal variable
(guill: it should be ok, pal isn't used afterward)
2008-11-10 21:40:44 +00:00
yabause cffdf28d7d Patch by Magliocchetti Riccardo:
Removed warnings about uninitialized fields in the hardcode setup.
2008-11-10 21:23:32 +00:00
gecko_reverse b352d0f861 minor compile fix for cocoa port 2008-11-10 04:51:49 +00:00
zeromus 3612ceda11 fix SF [ 2217044 ] Rotation bug - 90 and 270 crash the emu
also repair the mouse x/y transform which suffered from similar bugs and rendered rotate modes unusable.
change a typo in a function name "releasTouch"
2008-11-09 23:15:26 +00:00
adelikat 7ec884d485 Windows - Added saveslot selected to messages 2008-11-09 21:33:03 +00:00
adelikat c521035667 Windows - added a general messages display function. Savestate loaded/saved messages now displayed when saving states. 2008-11-09 21:27:03 +00:00
adelikat cb69e33190 Windows - added quicksave and quickload functions. It uses up 0,1,2,3,4,5,6,7,8,9,I, and P for accel keys. This is temporary until a re-mappable hotkey system is in place. 2008-11-09 20:12:51 +00:00
adelikat be28eb850a fixed void OSDCLASS::addFixed so that it actually uses the u16 x and u16 y values that it receives.
Win32 - fixed so that fps and framecounter display in different places
2008-11-09 19:26:50 +00:00
adelikat 6f764e6c87 Win32 - Display FPS moved to Display category in ini file 2008-11-09 19:16:47 +00:00
adelikat 7fd2aee772 Win32-remembers framecounter status 2008-11-09 18:31:10 +00:00
adelikat a5ea18c0c6 Win32 - remembers window position 2008-11-09 16:44:41 +00:00
yabause 91fa23fc5d More ARRAY_SIZE usage by Magliocchetti Riccardo. 2008-11-09 14:30:33 +00:00
yabause c5c9655da1 Patch by ico2 with changes by Magliocchetti Riccardo:
This fixes compilation issues on 64 bits.
2008-11-09 14:28:15 +00:00
yabause f544b5a7c3 Patch by Magliocchetti Riccardo:
introduce ARRAY_SIZE to calculate array size and use it instead of magic numbers.
2008-11-09 13:43:02 +00:00
yabause 2b7ce86880 Patch by Magliocchetti Riccardo:
remove old code that has been replaced and thus commentend more that one year ago.
2008-11-09 13:37:44 +00:00
yabause a508ac1264 Patch by Magliocchetti Riccardo:
Switch the screenshoot feature to make use of gdk-pixbuf to make png
instead of a open coded bmp encoder (NDSsystem.cpp already provides that).
2008-11-09 09:14:28 +00:00
yabause 55098165f3 Patch by Magliocchetti Riccardo:
fix GDB_STUB regression in gtk frontend.
2008-11-09 09:12:23 +00:00
yabause 4e7337972f Patch by Magliocchetti Riccardo:
use g_printerr instead of fprintf or g_print for reporting
errors, use LOG instead of commented printf for debug log.
2008-11-07 20:40:54 +00:00
yabause c638c9a605 Patch by Magliocchetti Riccardo:
Moved header inclusion to a better place.
2008-11-07 20:39:10 +00:00
yabause 735aac6a18 Patch by Magliocchetti Riccardo:
gtk frontend: require gtk 2.6 at configure time and removed
some compatibility code for older versions.
2008-11-04 22:03:26 +00:00
yabause 9e8b6fedef Patch by Magliocchetti Riccardo:
this moves shading initialization to follow the same order the variable are declared later.
2008-11-04 22:01:09 +00:00
yabause c24fbedc62 Memory leak fix by Magliocchetti Riccardo. 2008-11-04 21:53:33 +00:00
yabause 551e68ff70 Memory leak fix by Magliocchetti Riccardo. 2008-11-04 21:52:02 +00:00
yabause 11cd506dfa The dTools_running == NULL patch by Magliocchetti Riccardo (riccardom). 2008-11-04 21:48:46 +00:00
yabause 1909333fb0 Riccardom patch:
armcpu.cpp: move some debug stuff under #if 0. Disassembler.cpp, Render3d.cpp: make some functions static
(I didn't removed the #if'ed code... not sure what it was used for...)
2008-11-04 21:45:48 +00:00
yabause e2f9a0029c riccardom patch:
move mmu_select_savetype in MMU.cpp and move save_types to the file of its only user
2008-11-04 21:30:29 +00:00
yabause 532eae0174 Moved print_memory_profiling declaration to a better place.
(riccardom patch).
2008-11-04 21:26:56 +00:00
yabause 26a8dc642c savestate_save and savestate_load are now static.
part of riccardom hardcore patches.
2008-11-04 21:21:53 +00:00
adelikat 10930203da Windows - If the game is paused, savestate will not unpause automatically 2008-11-04 01:53:52 +00:00
adelikat 32487febfa Fix Windows build from r1072 2008-11-03 14:53:20 +00:00
adelikat 5f63a59561 Win32 - added "All Useable Files" option to Open Rom dialog 2008-11-03 14:22:37 +00:00
yabause a509bcb896 Now checking if a rom is a regular file before opening.
Patch 2214354 by riccardom.
2008-11-02 21:52:15 +00:00
yabause 3fd38256e5 Whitespace cleanup in writeBMP.
Patch by riccardom.
2008-11-02 21:47:31 +00:00
yabause a8ad08b280 Removed support for glib version older than 2.8 and added
check for glib version in configure script.
Patch by riccardom.
2008-11-02 21:45:51 +00:00
zeromus 2f1cfdc865 fix SF [ 2216986 ] - Win32 - File > Quit does nothing 2008-11-02 20:24:35 +00:00
yabause a25b610c6e Patch by riccardom so desmume doesn't complain about
joystick when there's no joystick.
2008-10-31 14:18:26 +00:00
yabause de3a341782 CLI patch 2209984 by riccardom:
Use glib command line option parser instead of doing our own. The benefits
are 50 lines less in main.cpp and automatic --help text. While at it i've
removed screen_render_config structure because i think it's not needed.
Another change that was necessary was to change arm gdb port from u16 to
int because there is not a proper GOptionArg value for u16, i felt it was
better to use a bit more memory instead og getting it truncated at runtime.
2008-10-31 14:14:41 +00:00
yabause 95139a8bfa Core part of riccardom cleanup patch 2200793 2008-10-31 14:05:30 +00:00
yabause 2d5f11508d Gtk-glade part of riccardom cleanup patch 2200793 2008-10-31 14:03:35 +00:00
yabause 0ca8d61cf6 Gtk part of riccardom cleanup patch 2200793 2008-10-31 14:02:54 +00:00
yabause 6c1299f189 Some more const patch by riccardom (2200785) 2008-10-27 20:11:28 +00:00
yabause b14047b419 Patch 2200776 by riccardom:
this patch fix some memory and fd leaks in case of malloc() errors, and
some misc cleanup around malloc().
2008-10-27 19:57:50 +00:00
yabause 799317fa65 Misc fixes by riccardom 2008-10-24 08:13:44 +00:00
yabause e92f677719 Patch 2185448 by riccardom that checks fopen return
value for gtk(-glade) ports.
2008-10-24 08:03:10 +00:00
yabause 40880f8be1 Riccardom warnings fixes patches:
- cflash.cpp: this was straightforward, i've moved p declaration only
because there it's easier to follow where it is used.
- GPU.cpp: that functions is very long and has an horrible formatting,
please review.
- MMU.cpp: return in case of default inside a switch is used often inside
the code so i've done the same.
2008-10-24 07:48:12 +00:00
zeromus 76944b5625 ssize_t is nonstandard, and ive never heard of it before. besides stl uses size_t everywhere so we stick with it in memorystream.h. 2008-10-22 01:49:23 +00:00
yabause ab1b61405a Sound pause fix by riccardom (patch 2185284, fix bug 1804778) 2008-10-21 19:59:54 +00:00
yabause c6acb6dba6 Patch 2182315 by riccardom that close 1722970 too:
The patch checks the fd before calling fseek and if it is
found null it logs it and returns 0 instead of segfaulting.
2008-10-21 19:50:47 +00:00
yabause 45fa0170f7 Patch by riccardom:
a negative integral was passed to a unsigned variable so
declared it signed and casted it to unsigned when it is known
to be positive (size_t vs ssize_t).
2008-10-21 19:41:04 +00:00
yabause d0d974b9c7 Warnings fixes by riccardom. 2008-10-21 19:39:10 +00:00
yabause 106c53705e Using a u8 to index a 0x8000 array it not a good idea :)
thanks to riccardom for reporting.
2008-10-19 16:52:41 +00:00
yabause 95be4ade56 Patch by riccardom to remove the extra read16le function.
The function is not used internaly is not defined in any
header file, so I guess it's ok to remove it. Feel free
to revert me if I'm wrong though.
2008-10-19 15:52:47 +00:00
yabause b22e828e41 Another warnings fix patch by riccardom, this is also
protecting the non-portable DebugDumpTexture.
2008-10-19 15:37:16 +00:00
yabause d5d434133c Patch 2176985 by riccardom to fix compilation when gdb stub
is enabled.
2008-10-19 09:19:23 +00:00
yabause 40aea15810 More #ifdef protection for gdb stub by riccardom
(patch 2168060).
Added a --enable-gdb-stub to configure too.
2008-10-18 07:49:51 +00:00
yabause 5d5ea8b2a2 --enable-hardcore configure flag is now even more hardcore!
(patch 2157019 by riccardom)
2008-10-17 10:41:37 +00:00
yabause 34f2a1c6e5 More warnings fixes by riccardom (patch 2157019)
Also removed the unused execute_gdb function.
2008-10-17 10:28:01 +00:00
yabause 53b18ff23d More warnings fixes by riccardom (patch 2157019)
Removed three unused functions including SPU_ReadByte
and SPU_ReadLong.
2008-10-17 10:11:50 +00:00
yabause c26ff21787 More warnings fixes by riccardom (patch 2157019)
This patch also protects the DebugDumpTexture
with DEBUG_DUMP_TEXTURE preprocessor define.
(btw, there's much chance that function won't
works on non windows platforms...)
2008-10-17 09:55:15 +00:00
yabause 81bbf061c4 More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:49:03 +00:00
yabause fa4f4a18e6 More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:42:47 +00:00
yabause 64af0142ca More warnings fixes by riccardom (patch 2157019)
Removed armcpu_prefetchExeption as it seems to
be unused.
2008-10-17 09:40:27 +00:00
yabause 76e87ebccf More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:27:42 +00:00
yabause 447867a4ed More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:26:29 +00:00
yabause cc8298291d More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:23:46 +00:00
yabause f91cf5adf3 More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:20:38 +00:00
yabause 2440ea25e7 More warnings fixes by riccardom (patch 2157019)
This one fix the warnings for SDL related stuff.
I also removed an unused function...
2008-10-17 09:16:13 +00:00
yabause 1e9e8c405b More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:12:36 +00:00
yabause 62ab94aa16 Ok... last patch in the "riccardom warnings fix" serie, this
close 2157019 :)
2008-10-13 19:30:19 +00:00
yabause 744d001fb9 Some more warning fixes by riccardom. 2008-10-13 19:28:26 +00:00
yabause 64f18427be Third patch by riccardom in 2157019
This one fix warnings (I'm sure you guessed it)
and use u8 instead of char where it makes sense.
2008-10-13 19:20:27 +00:00
yabause c78ba6f6d1 Second patch in 2157019 by riccardom.
This one fix a bug in POWER_CR_SKIP and remove some
warnings.
2008-10-13 19:15:16 +00:00
yabause dcc710a630 Fixed warnings when compiling the gtk-glade port.
(this is first patch in 2157019 by riccardom)
2008-10-13 19:12:00 +00:00
gecko_reverse c4c16fcfd4 moved cocoa rom_info to cocoa/dialogs. also removed ctrlsdl from codeblocks project (added accidentally last revision) 2008-10-12 23:19:20 +00:00
gecko_reverse cf6d18ad9d compile fixes for cocoa port. also removed some cocoa-port specific code from types.h which is is no longer needed since things have gotten more platform-independant 2008-10-12 22:04:45 +00:00
yabause 88dac45826 const char * patch 2156837 by riccardom 2008-10-10 21:26:02 +00:00
zeromus a02e215b3e fix bug: reading from unmapped vram should return zero 2008-10-10 16:36:32 +00:00
zeromus 82aa8a7d3f remove one of the printlogs that i added. i think it isnt necessary any more since i took out asserts. logging is still seriously effed up 2008-10-10 08:01:08 +00:00
yabause efe749182a Code cleanup by riccardom (patch 2155179)
Fixed the compilation for gtk-glade port.
2008-10-09 19:57:28 +00:00
zeromus dc4ffd3119 add font rendering to the softrender system 2008-10-09 02:55:35 +00:00
zeromus 2b6a587c2d start making my debugging crap conditionally compiled 2008-10-08 06:52:30 +00:00
zeromus d6d509b783 begin adding a general purpose universal software renderer. it doesnt do much yet, but osd can use it to draw its text more slowly. 2008-10-08 06:48:40 +00:00
zeromus 18c205fa3a remove a dead file 2008-10-08 04:49:29 +00:00
yabause cca9563a85 Checked in 4 more patches by Magliocchetti Riccardo
Those are mostly fixes for gtk and gtk-glade ports.
See patch descriptions on sourceforge for details:
patches ID: 2149139 2149460 2149470 2149537
2008-10-06 19:35:46 +00:00
mtabachenko edfb5bd1ac winport:
- new config input dialog;
2008-10-06 12:01:47 +00:00
mtabachenko bb9029025e winport:
- rewrite input core;
- replace config input dialog;
2008-10-06 11:49:47 +00:00
yabause 22dbd4be29 Pause function wasn't testing if SNDCore is NULL 2008-10-03 21:41:48 +00:00
yabause 8bce991fd0 Another quite old patch: 1717507
This one adds swedish translation for gtk-glade port.
Tack!
2008-10-03 20:45:30 +00:00
yabause aad6762173 Happy birthday "no gap" patch! (1805368)
After a year spent in our trackers, it's time to get in.
The menu changes were left out though. Sorry about that, but
I think you're now old enough to understand that we can't
check everything in.
2008-10-03 20:23:18 +00:00
yabause acfb680b51 Another patch by Magliocchetti Riccardo (2144883), this
one fix small memory leaks in the gtk-glade port.
2008-10-03 19:21:16 +00:00
yabause 785609621d Patch 2134525 in (fixes a small memory leak in gtk port). 2008-10-03 16:19:29 +00:00
yabause df9178d12b Applied patch 2118382 and did a few more compilation fixes
for autotools scripts. Also remove INLINE declaration from
rtc.cpp. If you want them to be inline, move them in rtc.h
2008-10-03 08:20:11 +00:00
mtabachenko e4679536c6 - added for developers mmu debug;
- fix Intel C++ project;
- "printlog" is possibly corrected for other ports in a difference from Windows of port;
2008-10-02 22:56:06 +00:00
mtabachenko 0c3889afb1 core:
- fix RTC write;
2008-09-29 09:37:23 +00:00
mtabachenko ca9c79639d core:
- Add RTC implementations (not fully);
2008-09-29 08:43:07 +00:00
zeromus 0fdebc6e69 add some asserts to identify emulator bugs as a source of incompatibility 2008-09-28 22:04:24 +00:00
zeromus 8e97a058dc add fifo and cp15 to savestate. i believe it is mostly complete now, except for the 3d backbuffers (so the first frame after a load wont have 3d.) but i skipped this because the format will definitely change. ... ...and once more your savestates are invalidated. 2008-09-28 04:48:46 +00:00
zeromus 6a696d6bb8 - add mmu to savestate.
- totally change how the savestates work in order to fix a bug in the gfx3d savestate. your old savestates are definitely invalidated.
- rename adress to address everywhere.
2008-09-27 06:52:33 +00:00
zeromus a45b610c70 windows: just a little cleanup 2008-09-26 06:36:18 +00:00
zeromus 099f683f4a - fix windows keyboard shortcuts and pause (recently broken)
- maybe fix crashy savestates?
- do a bunch of valgrinding to fix memory problems
- add spu to savestate (still need to add mmu and fifos); tweak savestate variables a little bit.
2008-09-26 06:24:36 +00:00
zeromus c42e035d50 - Remove multithreading from windows user interface after finding several synchronization issues
- Add AVI recording to windows
- Rework SPU to run two cores (one for emulation and one for audible output.)
2008-09-25 07:44:18 +00:00
zeromus bd398a715b due to some printlog calls being left in MMU, non-windows builds wouldnt compile. as a temporary measure, printlog defines to nothing in other platforms for now. we need to make more formalized cross-platform logging though. 2008-09-25 04:09:46 +00:00
zeromus 98095354d0 fix some unsafe bit logic / bool code 2008-09-25 03:39:46 +00:00
shashClp 5c4f00f100 - Fixed a type
- Removed the logo so desmume doesn't infringe copyrights. Don't read it, so
desmume isn't shutdown due to copyright infringement.
2008-09-24 22:25:24 +00:00
mtabachenko 73970699ab typo fix 2008-09-24 17:53:14 +00:00
mtabachenko 07908d8007 typo fix 2008-09-24 17:50:02 +00:00
mtabachenko d5502611e3 core:
- fix FIFO;
2008-09-24 16:16:11 +00:00
mtabachenko 1755ca4178 - fixes projects for windows port; 2008-09-23 16:22:10 +00:00
mtabachenko 5fb8695826 win port:
typo fix VS2008 project
2008-09-23 16:01:12 +00:00
mtabachenko 5b4bac440b - fix for compiling with Intel C++;
win port:
- add Intel C++ project (fastest builds on Intel CPU).
2008-09-23 15:59:32 +00:00
mtabachenko 28da6e1df5 win port:
- Rewrite all debug tools
forgot files :(
2008-09-23 14:32:43 +00:00
mtabachenko 56cc01681d win port:
- Rewrite all debug tools;
- Fix for compile and reorganize VS2008 project
2008-09-23 14:30:44 +00:00
zeromus bc8944701f some source code cleanup and reorg of the vs8 vcproj which was driving me insane 2008-09-23 02:24:26 +00:00
zeromus 58b3e24df7 fix vs8 release build 2008-09-22 19:42:28 +00:00
gecko_reverse 3c525b9f46 timing switched to use NSDate instead of Microseconds (cleaner), fixed regression in auto frame skip menu item 2008-09-21 08:06:31 +00:00
gecko_reverse 81cbfa5015 cleanups to cocoa port sound code, sound menu items disabled if sound is not available 2008-09-21 07:38:58 +00:00
gecko_reverse a7bce83651 added a function to retrieve the current spu interface 2008-09-21 07:36:57 +00:00
gecko_reverse 4ab3e9e927 did a little cleanup in main_window.m, especially regarding the status bar 2008-09-21 05:09:05 +00:00
gecko_reverse 93d66a62fe removed old collector3d file from codeblocks project 2008-09-21 05:07:53 +00:00