Commit Graph

2701 Commits

Author SHA1 Message Date
luigi__ 22e68e57a6 Windows port: adapt the mem viewer to the new tool system. And its layout
has been slightly changed:
- a combobox has been added to let you choose the CPU
- the view mode radiobuttons became a combobox due to space lacking,
- the Close button has been moved to the bottom-right corner
- the view box is less wide due to the font changed to Courier New

You can now open as many mem view windows as you want. Don't abuse it though, 
at least until we find a super-fast refreshing method. For now the tools will
refresh every 6 frames.

Little extra for zeromus: if font antialiasing is turned off, the font the 
view box uses will not be antialiased.

(sorry for blank log message in last revision. The log message I forgot to add was this one.)
2009-09-05 21:58:31 +00:00
luigi__ 50f238c98c 2009-09-05 21:53:47 +00:00
luigi__ b3caff23d2 Windows port: small fix in RegWndClass for x64 builds. 2009-09-05 20:06:11 +00:00
luigi__ 998787e921 Windows port: add a base CToolWindow class and a toolwindow handler. 2009-09-05 19:08:51 +00:00
nitsuja 54f771536e added Close ROM menu command and made Lua scripts stop when opening or closing a ROM 2009-09-05 17:39:22 +00:00
luigi__ b14a3a592b Noone wants to bitch about the new organization of the VS2008 project?
Okay, then let's apply it to the VS2010 project.
2009-09-05 15:32:22 +00:00
luigi__ 35ed3204a7 VS2008 project: move gdbstub.h into the gdbstub filter. 2009-09-05 15:25:15 +00:00
gocha 68313ef467 Fix cycle count (gbatek: Execution Time: If condition=false: 1S cycle) 2009-09-05 09:10:38 +00:00
nitsuja 0b704f27a2 win32: added Lua recent script menu items and hotkey 2009-09-05 08:54:19 +00:00
nitsuja 4b50a9ec03 win32: customizable gap color (white/gray/black) 2009-09-05 04:19:56 +00:00
gocha bec8aa50de Make instruction cycles same as GDB_STUB build (decreased all instruction cycles by 1) 2009-09-04 22:31:59 +00:00
luigi__ b2289368a3 VS2008 project: more reorganization: move resource files filter into Windows
filter, move instruction tables into Core filter, remove the non-existing 
gl_vertex.h as for VS2010 project.
2009-09-04 18:01:36 +00:00
luigi__ 27b89f03ae VS2008 project: reorganize the project to have sources and includes together,
in two filters: Core and Windows. Let resource files in their original filter
and move the instruction tables to another filter.

Feel free to revert if you don't like this organization.

If people like it, I'll do the same with the VS2010 project.
2009-09-04 17:58:14 +00:00
luigi__ 889c449bbb Remove an offensive line. 2009-09-04 15:53:07 +00:00
luigi__ 04778112f6 Wifi: re-enable SoftAP.
(Oh, and I also happened to commit the version 0.00001 of what would
be the dialog template for the new (unfinished) I/O reg viewer)
2009-09-04 15:51:20 +00:00
luigi__ 2609e7391c VS2010 project: remove the non-existing gl_vertex.h. 2009-09-04 15:45:51 +00:00
luigi__ 8d60c75448 VS2010 project: add the vcxproj.filters file which contains filter (folder) info. 2009-09-04 15:28:30 +00:00
gocha c24d88fa35 Fix GDB_STUB compile 2009-09-04 15:27:53 +00:00
nitsuja f710b64523 fix for mic being stuck at max volume in some games if you don't have a microphone 2009-09-03 08:44:10 +00:00
zeromus d729e8dbad fix a little error which broke compilation on 64bit systems? reported on forums 2009-09-02 20:49:27 +00:00
riccardom 5aef7a1010 Fix whitespace :) 2009-09-02 18:44:00 +00:00
riccardom 359ed207fe Apply the same workaround applied to the gtk frontend by zeromus to make it not segfault. 2009-09-02 18:43:08 +00:00
nitsuja df5bf19909 mic: it seems like some other bugs must be here, but I'll fix this obvious one of mine... 2009-09-02 09:21:37 +00:00
zeromus 584ab583b7 add a tiny little hack for nonwindows port to change the screen drawtarget so that it is suitable for rendering to GPU_screen (the old fashioned way); this only affects gtk right now, other linux ports will need it 2009-09-02 06:29:08 +00:00
zeromus ea70941994 fix bug in linux rom loading resulting from code changes for smaller roms 2009-09-02 06:05:19 +00:00
riccardom 0c671d2a4b Reorder fields in the same order they are initialized to shut up gcc warnings. 2009-09-01 19:04:39 +00:00
riccardom 5f4d43f738 Add missing addons/expMemory.cpp to makefile. 2009-09-01 19:01:35 +00:00
mtabachenko e1d70a6f76 addons:
- add Expansion Memory Pak (need for NDS Browser (Opera) and other games);
- fix init GBAgame buffer;

bios:
- fix SWI 10h (BitUnPack - DSlinux dont freeze emu now);
2009-09-01 09:35:33 +00:00
nitsuja 9c4a2dc20c added savestate.verify Lua function for automated desync detection (disabled in public release) 2009-08-30 22:46:28 +00:00
nitsuja 5e42454cf4 some small CPU optimizations
(and reducing the minimum rom size)
2009-08-30 11:22:00 +00:00
zeromus 60276cdf2e fix memory leak and otherwise stabilize code in emufile 2009-08-29 23:48:29 +00:00
nitsuja 0a07f61db0 I'm pretty sure that won't quite work (further mic fixup) (for code that shouldn't even need to be here) 2009-08-28 09:47:45 +00:00
riccardom a9a0412a69 Fixup compilation breakage for fake and alsa microphone. 2009-08-28 09:31:50 +00:00
riccardom 6e937faaf0 Thou shalt include all the needed string headers. 2009-08-28 09:14:54 +00:00
nitsuja 50665860b3 implemented/enabled Lua functions: savestate.create/save/load, stylus.set, gui.box/line/text/pixel/getpixel/opacity/transparency/gdscreenshot/gdoverlay 2009-08-28 09:06:48 +00:00
zeromus 41a10c95f5 finish porting iostream stuff to EMUFILE*. movies and sram-start movies work once again 2009-08-26 19:01:21 +00:00
zeromus e05c17dfbb transform a bunch of iostream stuff into EMUFILE. main savestate and savedata codepaths work, movies may still be borked. ill fix it soon. 2009-08-26 08:54:48 +00:00
p989 fce7cb2701 convert movie system to FILE* 2009-08-26 05:15:15 +00:00
luigi__ c5458e7509 Wifi: implement/change various stuff.
More correct handling of all the various TX status regs/bits = no
more weird hangs/communication errors when hosting a multiplayer
game then going back.
2009-08-25 13:20:22 +00:00
nitsuja 489556e656 missed replacement fix 2009-08-24 04:48:46 +00:00
nitsuja 2988bb303f enabled/implemented functions for Lua: emu.frameadvance, emu.speedmode, emu.wait, emu.redraw, emu.pause, emu.unpause, emu.emulateframe* (needs driver class support, so currently only works for win32) (had to split up the win32 main loop for this)
fixed gui.register calling time, I hope
made single-core OSD more useful (when paused)
made FPS display show "(paused)" (when paused)
added --multi-core option for testing purposes
enabled Lua API checks in debug (only x86 for now), and switched to a better integer conversion method
possibly improved frame advance initial pause responsiveness
a few other minor bugfixes
2009-08-24 04:44:25 +00:00
luigi__ 6e8850c903 Wifi: more work on packet reception.
NSMB two-card multiplayer now half-works. Luigi sees Mario,
but Mario doesn't see Luigi :(
2009-08-23 22:01:54 +00:00
luigi__ ce8b6bc7b9 Wifi: add support for periodic beacon transmission.
The socket stuff works fine; I could see all the beacons
by using an ethernet sniffer, as expected :)
2009-08-23 19:45:01 +00:00
luigi__ 399f024fcb Wifi: add some socket code for sending and receiving (incomplete).
Cache some regs that will be useful for beacon transmission.
2009-08-23 18:13:16 +00:00
luigi__ adeec7e38f Wifi: add socket init/deinit code.
Remove ad-hoc client/server stuff from wifi settings dialog as
they're going to be useless.
2009-08-23 12:55:10 +00:00
luigi__ a8ff7220cc Windows port: re-add WSA init/deinit code.
(yup, sockets will be needed for wifi adhoc interface)
2009-08-23 10:50:52 +00:00
luigi__ 6e36bfe1fd Windows port: putting some bases in place for new tool system.
Here, clean window class handler, which prevents regging a class
twice and unregging a class which isn't regged.

The stuff I'm adding is not set in a stone. It may be modified or
even removed at any moment.
2009-08-22 22:34:28 +00:00
nitsuja 8167bff3c4 mic: oops, well, trying to make the savestate stubs work for cross-platform loads for now 2009-08-22 19:03:15 +00:00
riccardom fd7f8f0ef6 Add missing includes for recent microphone changes and add stubs for !WIN32 to continue compiling. Greeting from FROSCON! 2009-08-22 15:01:24 +00:00
nitsuja 17d4b20115 enabling some more Lua functionality (like input.get().x/y, movie.replay(), emu.emulating()) 2009-08-22 09:12:27 +00:00