strmnnrmn
8ea9e2079a
[!] RomBuffer::Close shouldn't make assumptions that RomBuffer::Open suceeded
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1571 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:12 +00:00
strmnnrmn
7a453bb916
[+] System_Open init steps should be able to fail - e.g. if the specified file can't be found.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:05 +00:00
strmnnrmn
ce2268735a
[!] Don't crash if there's no file extension present
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1569 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:54 +00:00
strmnnrmn
6b4108ca96
[+] Pass --roms to add a rom directory on the command line
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1568 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:48 +00:00
strmnnrmn
3bc4990d88
[!] Pass filename to System_Open, not argv[1]
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1567 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:42 +00:00
strmnnrmn
6dee6e84c0
[-] Strip out a load of unused debug console cruft
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1566 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:36 +00:00
strmnnrmn
7b8aff50fd
[+] Add a function to the RomDB to add an entire directory at a time.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1564 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:15 +00:00
strmnnrmn
55c30c0450
[!] Fix GL bug running System_Close then System_Open - the window was being closed too early
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1563 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:09 +00:00
strmnnrmn
604f19f1d0
[~] Minor tidying
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1562 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:02 +00:00
strmnnrmn
c7806bdb55
[!] Fix a crash shutting down the OSX audio plugin
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1561 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:55 +00:00
strmnnrmn
557958b741
[-] RomClosed is never called on AudioPlugin. Probably should rename StopAudio to RomClosed for symmetry with the graphics plugin
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1560 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:48 +00:00
strmnnrmn
a173d781bc
[-] DAEDALUS_TRAP_PLUGIN_EXCEPTIONS is not used now, as we don't use external plugins.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1559 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:38 +00:00
strmnnrmn
2247bc0b1a
[~] Tidy CPU a little - CPUMain is only called from CPU_Run now
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1558 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:31 +00:00
strmnnrmn
2862ae330a
[-] W32 CPU thread stuff isn't needed any mode
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1557 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:25 +00:00
strmnnrmn
6acb15372b
[~] Remove some unnecessary casting
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1556 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:18 +00:00
strmnnrmn
7fbda22906
[~] Tidy System
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1555 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:13 +00:00
strmnnrmn
970da5ea8b
[+] Quick save/load for OSX/PC etc (F8 to load, F9 to save).
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1554 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:07 +00:00
strmnnrmn
2d97f94749
[+] DLDebugger - show textures
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1553 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:01 +00:00
strmnnrmn
19114ebe39
[!] GetTextureDimension should look at clamp_s/clamp_t too
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1552 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 08:35:06 +00:00
strmnnrmn
260cd55a7f
[+] Add a FlattenTexture utility function
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1551 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 08:34:06 +00:00
strmnnrmn
73bfd4efef
[+] Display RDP othermode state in the dldebugger
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1550 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 08:33:31 +00:00
salvy
ef42c7e90f
[!] Added support to compile W32 build with MSVC11, MSVC9 project files are still present, I'll make sure to maintain it too.
...
[!] Huge clean up with data files, moved them where they belong, also we should remove files that are too old or irrelevant
[!] Move all project files to Projects/(TARGET) (Since we support several platforms, it was getting messy having everything in the trunk)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1547 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-11 07:04:18 +00:00
Wally4000
da0c37aa58
Added defines & includes to get some compiling done on Linux
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1546 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-10 09:39:07 +00:00
salvy
a3c7ecc40c
[!] Fixed W32 path not being set correctly when loading directly from console
...
[-] Got rid of atl headers, now is easier to build Daedalus under VS express
[-] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1545 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-09 22:02:35 +00:00
Corn
292ef28e08
[!] Make TexRectFlip also use integers in DLparser
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1544 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 19:05:05 +00:00
salvy
0801ac4ed2
[!] Moved W32 audio thread back to main thread (was causing various issues, it would be nice to get it working though)
...
[!] Fixed issue in pixel shader that was affecting my video card (Thx StrmnNrmn)
[!] Copy n64.psh to build dir (W32)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1543 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 01:43:40 +00:00
Corn
69a757ffdb
[!] do TexRect calculations in integer mode
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1542 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 18:43:22 +00:00
strmnnrmn
68e2f02f40
[~] Add a SysGL/GL.h - use this to ensure glew/glfw headers are included in a consistent order
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1541 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 12:01:59 +00:00
strmnnrmn
5ff092324f
[!] Reset the scissor at the start of each frame - fix flickering borders when resizing.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1540 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:47:22 +00:00
strmnnrmn
c29173af9c
[+] Add a .gyp build step to copy roms.ini and n64.psh to the output directory, and load n64.psh from that path.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1539 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:58 +00:00
strmnnrmn
0f8d525fae
[+] For Copy mode, we shouldn't do any clamping. (Player/Level Select backgrounds in Mario Kart use this.)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1538 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:52 +00:00
strmnnrmn
bd75cf6e38
[!] Fix a number of small issues with the new pixel shader - correctly select between point/bilinear filtering, and fix texrects for things like California Speed and Mario Kart.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1536 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:40 +00:00
strmnnrmn
e02d81c9ab
[~] Wrap up all the state needed to configure a shader into a single struct
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1535 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:33 +00:00
strmnnrmn
7d15afb0bf
[~] Add some comments for othermode flags
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1534 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:26 +00:00
strmnnrmn
fcc2a59778
[+] Lots of pixel shader iteration. Mostly 'perfect' now, still some problems with bilinear filtering on Mario Kart, California Speed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:20 +00:00
strmnnrmn
40370e86ee
[~] Runtime toggle for emulating mirroring via the texture.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:12 +00:00
strmnnrmn
6a10ac65f5
[*] Pass integer texture coords through to TexRect and TexRectFlip. For OpenGL, the shader now also passes the texture offset/scale as integer args
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1531 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:02 +00:00
strmnnrmn
f93a375049
[~] Pass integer texture coords to the OpenGL renderer.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1530 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:51 +00:00
strmnnrmn
4bd703a63e
[+] Copy all the webdebug files to ./Web/, and update the code to reference them from there.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1529 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:43 +00:00
strmnnrmn
b359dc1c1f
[~] Remove mAlphaThreshold - this is just the blend colour alpha
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1527 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:31 +00:00
strmnnrmn
c8fca866b2
[~] Add a couple of comments to highlight fall-through in switch statements
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1526 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:23 +00:00
strmnnrmn
32968282e2
[~] Merge upstream fixes from webby
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1525 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:17 +00:00
salvy
fb3e24048c
[!] Fixed W32 Build
...
[!] Changed abit initiation of system, (my previous attempt was breaking the PSP build)
[~] Paper Mario still needs hack for mem opt
[~] GetState no need to return
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1524 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 19:35:17 +00:00
strmnnrmn
6543f50650
[~] 64 bit fix for MathUtil.h
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1523 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 13:01:55 +00:00
strmnnrmn
042a62c49f
[~] Another attempt at fixing threads for Linux - doesn't seem to like reinterpret_cast between integral types. Grr.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1522 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:36:54 +00:00
strmnnrmn
8797833b24
[~] Slightly nicer DaedalusTypes fix - provide a fallback path for over versions of MSVC
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1521 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:32:11 +00:00
strmnnrmn
df8cb86d4d
[~] Use stdint.h for all types.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1520 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:23:02 +00:00
strmnnrmn
cbd23930e4
[~] Ensure kInvalidThreadHandle has the right type
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1519 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:20:21 +00:00
strmnnrmn
8fa080b39d
[~] Make ThreadHandle an intptr_t, so it's safe for 64-bit builds
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1518 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:34 +00:00
strmnnrmn
76c721ebf8
[~] Increment current_instruction_count after checking instruction_limit - now what's displaying in the dldebugger is actually applied.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1517 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:26 +00:00