Commit graph

2309 commits

Author SHA1 Message Date
strmnnrmn
f31fa56efc [~] Sleep a little between DLDebugger frames - save my laptop battery a little :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1516 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:20 +00:00
strmnnrmn
ae6a33fb87 [~] Don't bother storing mTexShift - just look it up using mActiveTile index as needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1515 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:13 +00:00
salvy
8a090654d7 [+] FPS counter for OSX/W32 (This uses the exact same code as the PSP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1514 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 07:29:13 +00:00
salvy
66ff9f28fa [~] Minor fix to previous commit
[!] Added debug code to see key presses on gamepads, useful to add a different button configuration 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1513 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 06:09:54 +00:00
salvy
d4760eb39b [~} Some clean ups and comments to game pad support
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1512 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 05:13:17 +00:00
salvy
4a07b2715d [+] Added support for gamepads (W32/OSX) Only tested with a PS3 controller, just make sure to plug in your game pad before starting the emulator, also dpad and c buttons aren't mapped yet
[~] Delay abit initiation of input since I init the gamepad too now, I need glfw to be initiated first.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1511 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 00:49:47 +00:00
strmnnrmn
8b1e304f22 [!] Fix texrect on Super Smash Bros
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1510 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:58 +00:00
strmnnrmn
9c83d36e2e [~] Keep track of which tile is bound to slot 0/1
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1509 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:51 +00:00
strmnnrmn
fef58eed97 [~] Remove the identity_uv_transform param from PrepareRenderState - fix up the UVs so they're consistent
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1508 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:44 +00:00
strmnnrmn
82486a7f25 [!] Fix Zelda spinny N intro - T1 textures were being loaded with dimensions of 32x0, 1x32 etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1507 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:37 +00:00
strmnnrmn
9918fd3b5b [~] Move the 'even left' assert to LoadTile - this is the point it would be significant (tile SL/TL can be changed between load and render to translate tiles
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1506 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:30 +00:00
salvy
e94e90f83e [!] Create own thread and some misc fixes for audio -Audio is now pretty much perfect on W32 :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1505 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-02 06:27:16 +00:00
Wally4000
3b5e9cb518 I guess this is useless for now.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1504 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-02 04:58:05 +00:00
salvy
d4a870681c [~] Move web files used by OSX/W32 dlist debugger to its own directory, so I can use xcopy to move them my build directory
[!] Enabled /OPT:REF for W32 (shrinks ~100kbs off the binary)
[~] Compile fixes to W32 debug build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1503 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 23:13:17 +00:00
salvy
38da6cd456 [~] Opps gGeometryMode has to be global (sorry!)
[!] Added blender for Donald Duck (W32/OSX)
[~] Some small changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1502 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 05:32:31 +00:00
salvy
58216d067f [~] gGeometryMode can be local (saves quiet bit of ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1501 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 04:00:16 +00:00
salvy
c269e285f3 [!] Pull webby.c from third party dir
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1500 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 16:37:07 +00:00
salvy
bcb75a6954 [~] Opps only System_Init/Open needed to be unsigned
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1499 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 16:14:36 +00:00
salvy
1c1d77bb0d [~] Misc fixed to audio plugin W32 when loading a second rom
[~] Commented out a change I didn't mean to commit, and corrected some warnings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1498 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 16:12:42 +00:00
salvy
b74a4c97f2 [!] W32 audio should be updated after LenChanged
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1497 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 15:53:16 +00:00
strmnnrmn
8f7c97d6ac [~] PSP compile fix
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1496 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 10:57:20 +00:00
strmnnrmn
60991d6c79 [~] Compile fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1495 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:54 +00:00
strmnnrmn
7c289224b3 [~] Show display list detail for the current instruction
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1494 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:45 +00:00
strmnnrmn
13066e63da [+] Back and Forward buttons in the debugger
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1493 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:37 +00:00
strmnnrmn
78dbaece5e [~] Pass the displaylist depth through to DL_BEGIN_INSTR - use it to indent the output nicely
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1492 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:29 +00:00
salvy
f808f72cee [~} More clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1491 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 04:52:43 +00:00
strmnnrmn
5c59135109 [!] Fix Win32 FindFileOpen/Next so they don't return hidden files
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1490 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 16:22:23 +00:00
strmnnrmn
24d3273245 [+] Lots of DLDebugger fixes and features
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1489 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:43 +00:00
strmnnrmn
be4b36f0b4 [~] Move FillColour and BlendColour to BaseRenderer. Going to use these in the dLDebugger
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1488 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:34 +00:00
strmnnrmn
f81780b098 [~] Tidy up DLParser_ProcessDList a little - the DL_ macros are no-ops when DAEDALUS_DEBUG_DISPLAYLIST is not set, so move a block of logic outside the ifdefs.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1487 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:26 +00:00
strmnnrmn
efc7427cd0 [~] Seems a bit lame to only check that the DList PC is in bounds when the Display list debugger is running. Just assert in the fetch function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1486 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:20 +00:00
strmnnrmn
9d69fdce4c [~] DLDebug - add separate functions to DLDebugOutput to track the beginning/end of each instruction. On the webdebug version we wrap each instruction in a named span so we can identify it easily. Also, I removed the PC arg from the regular DL dump because it was always given the same value (I think it should have been gDlistStack.address[gDlistStackPointer], but it's not particularly useful and clutters the dump output)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1485 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:13 +00:00
strmnnrmn
ea528cdbba [~] Add a DLDebugOutput class. I'm going to override this so that the webdebug version can wrap individual instructions in HTML tags.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1484 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:03 +00:00
strmnnrmn
dec9abfd9d [~] current_instruction_count was being incremented too early
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1483 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:10:52 +00:00
strmnnrmn
c8c9581251 [+] Add another DL_PF macro which doesn't automatically append newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1482 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:10:45 +00:00
salvy
ee46d26d2a [!] OSX Dlist debugger works now under W32
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1480 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 14:36:26 +00:00
strmnnrmn
ca48a42999 [+] Rewrite DLDebug_DumpRDPOtherMode so that we can see the settings that were actually applied. Without this the code just dumps the entire othermode state every time a single setting is changed, which makes the debug output hard to follow
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1479 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:21:03 +00:00
strmnnrmn
8154cf34e9 [~] Add accessors for prim/env/fog colours
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1478 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:56 +00:00
strmnnrmn
53891779bf [~] Rename MAX_VERTICES to kMaxIndices. Rename m_swIndexBuffer to mIndexBuffer.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1477 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:49 +00:00
strmnnrmn
6776cc0d9e [!] Fix a broken assert in AddTris
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1476 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:42 +00:00
strmnnrmn
ed1fdd8f5e [~] Change some construction init to assignment init (functionally equivalent, but allows for a bit more whitespace around the variable name, which improves readability)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1475 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:36 +00:00
strmnnrmn
654f79cad9 [~] Rename MAX_VERTS to kMaxN64Vertices
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1474 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:29 +00:00
strmnnrmn
2b84834976 [~] Rename NUM_N64_TEXTURES to kNumBoundTextures
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1473 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:23 +00:00
strmnnrmn
7890098f48 [-] Dummy pspctrl/psputils/pspdisplay are no longer needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1472 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:17 +00:00
strmnnrmn
7679300590 [+] dldebugger iteration. Serve a regular html file for most of the content - it's far to fiddly to build dynamically. Remove an unnecessary mutex - webby request handling is single threaded. Serve the mux
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1471 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:08 +00:00
strmnnrmn
36bda0d8ad [!] Fix connection saturation with Chrome. Fix broken return codes to webby - 0 means 'I have served ok, so don't generate a 404 please' - no idea how that wasn't breaking stuff. Tidy up mimetypes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1470 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:57 +00:00
strmnnrmn
362a9f64b8 [!] Missing T
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1469 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:50 +00:00
strmnnrmn
ea7426382c [~] More GL blender tweaks
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1468 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:44 +00:00
salvy
09e34868f0 [~] More clean ups for W32 (We can always pulled out any deleted file from the SVN if needed)
[!] undef DAEDALUS_TRAP_PLUGIN_EXCEPTIONS for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 04:34:06 +00:00
salvy
0d4cd17c8b [~] Fixes to W32 audio plugin
[+] Speedsync for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1466 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-29 04:06:53 +00:00