Commit Graph

2762 Commits

Author SHA1 Message Date
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
luigi__ 90d57bf8ce CPU (THUMB): LSR instruction now deals correctly with carryflag.
For instance this fixes bugs with CpuSet SWI when "Emulate SWIs by BIOS"
is enabled.
2009-08-06 22:20:18 +00:00
mtabachenko 525541d037 new gxFIFO:
- fix bug in FIFO buffer;
2009-08-05 20:30:52 +00:00
zeromus 128305c5fd win32: fix typo in sound config dialog 2009-08-04 22:33:29 +00:00
riccardom 339eb9973c Remove usage of uint which is not available on MSC, thanks CrazyMax for noticing. 2009-08-04 21:00:23 +00:00
riccardom 4029f105d8 On gcc the packed attribute is supposed to not work when you use
a typedef in the struct definition. Then packing the whole struct
and each member is redundant. So cleanup __PACKED usage and
hopefully both shut up gcc warnings and keeps things working :).
2009-08-04 20:49:19 +00:00
riccardom 7324afeafd Move rewindsave and dorewind declaration to a proper header instead of using extern. 2009-08-04 20:32:13 +00:00
riccardom e3c0aadb86 Fix gcc warning about enum not handled in switch. 2009-08-04 20:24:56 +00:00
riccardom 04e66de722 Reorder variable initialization to shut up gcc warnings. 2009-08-04 20:20:39 +00:00
riccardom 3043d4045e Fix a few signed vs unsigned comparison warnings. 2009-08-04 19:47:03 +00:00
riccardom 0069c02e73 Put that big pile of double commented code inside an if 0. 2009-08-04 18:46:39 +00:00
riccardom d0ed6ae79c Kill the extern since this would be the default. 2009-08-04 18:41:09 +00:00
riccardom 8e75d3521a Make a function static, add a missing prototype for another one and remove an unused variable. 2009-08-04 18:35:50 +00:00
riccardom 00b5148274 Make a few functions static and shut up signed vs unsigned gcc warnings. 2009-08-04 18:28:03 +00:00
riccardom c99e7dc2e5 This should be MSC specific. 2009-08-04 18:19:01 +00:00
riccardom fc8b2dbfc2 Oh there is another windowDraw gcc bitches about the possibility to have
it unitialized.
2009-08-04 18:10:23 +00:00