Commit Graph

2977 Commits

Author SHA1 Message Date
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
nitsuja 54193cc623 Lua: fix for joypad.set not working when called from outside a registerbegin callback 2009-08-22 07:39:15 +00:00
nitsuja c20c88bdbc - revised input code to be more explicit and "sync-safe"
- touchscreen calibration/wraparound fix
- hud edit mode fixes
- nicer input displays
- master brightness blank screen optimization
- implemented left+rt/up+dn checking
- fixed autohold activation
- enabled diagonal keys
- play and record movie dialog and menu improvements
- fixed potential microphone desyncs (savestated, and silenced non-mic-button during movie)
- fixed window squashing when resizing top corner above top of screen
- fixed freeze if frame advance button is pressed before loading a ROM
- implemented joypad Lua functions
2009-08-21 09:56:17 +00:00
mtabachenko bb7d9f16a4 core:
- fix EXMEMSTAT register;
2009-08-20 08:11:10 +00:00
zeromus c9db2532a2 win32: x64 builds for vs2005 and vs2008 2009-08-18 19:23:34 +00:00
riccardom abcd172c83 Move some stuff around so that it compiles with gcc. 2009-08-18 11:14:35 +00:00
gocha 8b5aa23605 make 'samples' (in SPU.cpp) to be zero at reset (to prevent desyncs) 2009-08-18 05:37:20 +00:00
riccardom dee58ee4b8 Make a few functions static. 2009-08-16 08:57:07 +00:00
zeromus eb2b400ea8 win32: correctly bind graphical input display checkstate to menu 2009-08-16 02:58:35 +00:00
gocha 27ad47f155 some grammatical fixes on MainWindow->checkMenu use 2009-08-16 01:39:37 +00:00
p989 1e67b897d4 win32: graphical input display 2009-08-13 03:35:47 +00:00
mtabachenko c170681139 gxFIFO:
- fix gxFIFO write context & add projection stack reset;
wifi:
- disable log;
2009-08-12 07:57:28 +00:00
zeromus 621ebaad0d x64 dx libs 2009-08-12 04:15:09 +00:00
zeromus 81f18cab30 fix bilinear filter after change to 32bpp 2009-08-10 03:42:53 +00:00
zeromus d5b938452c win32: fix osd compositing pipeline for singlecore 2009-08-10 03:29:43 +00:00
zeromus a39c62b129 fix new savestate bug, wifi warning, and scanlines 2x filter 2009-08-10 03:01:49 +00:00
p989 88f0549e85 win32: start converting filters to 32bit 2009-08-10 02:30:32 +00:00
nitsuja c4be07bc87 disp3dcnt fix (fixes missing zx advent sprites, and I don't know what else) (possibly incomplete though),
32-bit poly+vert-count read fix,
disassembler stack corruption fix,
savestate fix with wifi sequencer,
made wifi random not use rand() since that could potentially cause desyncs,
did some probably-minor savestate optimizations
2009-08-09 22:31:59 +00:00
yabause 5e3cb11c83 Fixed MAX_PATH definition for POSIX systems without any
limit on filename length (where PATH_MAX is not defined).
2009-08-09 21:07:34 +00:00
luigi__ e007f422f4 Wifi: implement a communication interface structure, change SoftAP to use this
structure, add a (dummy for now) adhoc interface. Also SoftAP is disabled for
now as I'm going to focus on adhoc (multiplayer games, download play, etc...).
2009-08-08 20:58:17 +00:00
luigi__ 7532a5d66e Wifi: add proper resetting & deiniting, remove the useless 'wifimac_t *wifi'
parameter from all functions.
2009-08-08 14:46:49 +00:00
luigi__ c2291bfee6 Wifi: modify wifi settings dialog, add two modes: Ad-hoc and infrastructure.
Disable Infrastructure as it's just SoftAP, it doesn't work yet and I'm
going to focus on Ad-hoc mode for the moment.
2009-08-08 13:18:35 +00:00
riccardom aa32f62368 Remove unused variables, ifdef what looks debug code. 2009-08-08 10:50:38 +00:00
riccardom c0ebfc43f0 Remove a few unused variables. 2009-08-08 10:49:08 +00:00
mtabachenko 07806eb836 core:
- fix matrix stack (this is a hack, need rework. Tony Hawk's American Sk8land work now);
- i some fixed boxtest, its need for Garfield & Nanostrays (BIG speedup) need to rework.
2009-08-06 22:54:32 +00:00