squall-leonhart
b6bc047b1a
updates subwcrev and applies minor fixes patch 46
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1229 a31d4220-a93d-0410-bf67-fe4944624d44
2014-03-08 07:11:53 +00:00
kode54
0bd675de7f
SDL sound code now posts to semaphores no matter what, in case the other side is still waiting after a speedup transition
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1228 a31d4220-a93d-0410-bf67-fe4944624d44
2013-11-14 23:32:08 +00:00
kode54
5eb646b1da
Rewrote SDL sound synchronization, using a very old patch as a base for some of the changes
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1227 a31d4220-a93d-0410-bf67-fe4944624d44
2013-11-14 07:51:57 +00:00
normmatt234
706774c3c0
Remove useless backup enabled checks in read handlers.
...
Fix illegal halfword and byte reads.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1226 a31d4220-a93d-0410-bf67-fe4944624d44
2013-10-22 18:04:02 +00:00
kode54
a4c133210f
Mother 3 fix, refined to not break Metroid Fusion or hopefully anything else
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1225 a31d4220-a93d-0410-bf67-fe4944624d44
2013-10-22 01:17:06 +00:00
kode54
c276ccd7ce
Changed PCM FIFO refill behavior to only stuff the FIFO with silence if it runs completely empty, which seems to fix the stuttering in Mother 3. From the technical behavior, Mother 3's sound code would periodically set DMA 1 and 2 to reason 0, then reset them back to reason 3. This presumably occurs every time the source buffers run empty and the source addresses are reset. Unfortunately, with the current execution and memory timing, this occurs just in time for the DMA buffers to run down to only 16 samples each, and then the attempted refill call will trigger while the DMA reason is 0, so they don't refill, and the timer routine thus stuffs the FIFO buffers with 16 samples worth of silence, causing a stutter. Now, the buffer is allowed to drop below 16, which gives Mother 3's sound code enough time to restart the DMA channels, and they continue to pump samples gracefully, as I never detected a full underrun in my testing.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1224 a31d4220-a93d-0410-bf67-fe4944624d44
2013-10-21 21:46:49 +00:00
kode54
46f83f7d73
Add tiled rendering define to Android makefiles, too.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1223 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:53:04 +00:00
kode54
c0d1532211
Add tiled rendering define - big performance improvement
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1222 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:52:20 +00:00
kode54
d808640113
Fix target output name
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1221 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:51:36 +00:00
kode54
a2655200dc
Fix build for Android
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1220 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:50:37 +00:00
kode54
11fe3f1fc7
Disable link by default now that games work without it
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1219 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:49:26 +00:00
squall-leonhart
4ca5da9275
updated readme
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1218 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 07:09:56 +00:00
kode54
297b01ff8c
Sonic Advance 1/2 work now with NO_LINK defined
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1216 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 16:18:54 +00:00
kode54
e4894d2ea2
(Libretro) Fix build
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1215 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 16:18:04 +00:00
squall-leonhart
29f7d67c34
re-adding the fix for zelda oracles
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1214 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 15:09:45 +00:00
kode54
9ec51eb94e
Let's try that again.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1213 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 13:57:40 +00:00
squall-leonhart
0e4e1c2dd6
revert 1207-1210 as its not really ready for integration yet.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1211 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 02:42:37 +00:00
thibeaz
74bc2d4517
rolling back, it seems there was some more issues than original thought
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1210 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 02:25:42 +00:00
thibeaz
24ea8597e2
fix a goof I made with the last commit, this should fix it
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1209 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 02:16:27 +00:00
thibeaz
7fb1366997
just a small revert, old data got mixed in the last commit
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1208 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-20 21:25:50 +00:00
thibeaz
f4965c825f
libretro merge into trunk, the individual interfaces can still be compiled on their own so the gtk/sdl/mfc interfaces can still work as originally intended. Special thanks to Squarepusher of the libretro team for helping us get this merged
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1207 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-20 21:08:23 +00:00
squall-leonhart
2c25c47cb9
fixes zelda oracles without breaking duke nukem or 007
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1206 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-19 03:24:22 +00:00
normmatt234
0a52749627
Implement memory mirrors for SRAM/FLASH.
...
Correctly handle 16/32bit reads from SRAM.
Removed unaligned handler for CPUReadHalfWordSigned.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1205 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-18 22:08:42 +00:00
squall-leonhart
a9da83f563
This fixes the colour issue when using opengl and a HQ3 or 4x filter.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1204 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-17 15:23:47 +00:00
normmatt234
d4ba5638ac
Revert changes to the ioReadable table from r1200 which broke Megaman Battle Network series.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1203 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-16 18:44:46 +00:00
squall-leonhart
5d816ca952
normatt was missing from readme
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1202 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-15 08:33:32 +00:00
normmatt234
1e59a21b88
Move the cpuDmaHack assignments into doDMA. (Fixes Croket 2 regression)
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1201 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-15 07:15:31 +00:00
normmatt234
40f0a74ac1
Re-added the DMA Prefetch buffer. This fixes Phantasy Star Collection.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1200 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-14 08:00:19 +00:00
squall-leonhart
22f63644ef
another tom harder patch, fixing some warnings in the gvbam and wxvbam
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1199 a31d4220-a93d-0410-bf67-fe4944624d44
2013-06-17 04:17:12 +00:00
squall-leonhart
87fccd153d
commiting Tim Harders patch for libav/ffmpeg
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1198 a31d4220-a93d-0410-bf67-fe4944624d44
2013-06-17 04:05:37 +00:00
squall-leonhart
f801761eca
bring branches into line
...
fixes duke nukem on bgk-link and silences gcc warning on trunk
ignore a few more files
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1197 a31d4220-a93d-0410-bf67-fe4944624d44
2013-05-04 15:31:45 +00:00
normmatt234
2223d4f982
Fixed register used in asm.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1195 a31d4220-a93d-0410-bf67-fe4944624d44
2013-04-07 05:47:26 +00:00
squall-leonhart
6400102ddc
reduce new lines
...
fix duke nukem cgb menu | in my limited testing this has not regressed any other games.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1194 a31d4220-a93d-0410-bf67-fe4944624d44
2013-04-06 20:18:14 +00:00
squall-leonhart
75017d0957
dirty buildfix for linux, can do it properly later.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1193 a31d4220-a93d-0410-bf67-fe4944624d44
2013-04-06 18:33:15 +00:00
normmatt234
544838a5d1
Make the asm code increment lsl/lsr/asr rm by 4 if rm is pc. (ASM now passes the armwrestler MOV opcode test)
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1192 a31d4220-a93d-0410-bf67-fe4944624d44
2013-04-06 09:27:12 +00:00
normmatt234
f4f7a5597f
Fix clock cycles in some arm/thumb opcodes.
...
Implement missing ARM instruction used in the wstein.gba homebrew.
Remove cpuDmaHack has it causes graphical glitches in Lufia and incorrectly handles unmapped reads.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1191 a31d4220-a93d-0410-bf67-fe4944624d44
2013-04-06 08:51:58 +00:00
squall-leonhart
4ea9fadeec
revert the > to >> change, fixes regression in loading ppmd 7z files.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1190 a31d4220-a93d-0410-bf67-fe4944624d44
2013-04-01 05:45:42 +00:00
squall-leonhart
653cdc8d7a
couldn't just add a guy who's contributed more in 3 days then anyone has in the last 3 years to the "Contributors" list ;D
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1189 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-31 12:37:45 +00:00
squall-leonhart
2a3999f332
some small pvs warning fixes
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1188 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-31 12:19:34 +00:00
squall-leonhart
428d0ccf74
move around apu reset a bit, doesn't seem to have broken anything
...
doesn't seem to have fixed anything either.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1187 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-31 11:20:41 +00:00
normmatt234
2bdf598834
Fix handling of unused memory when reading 16/8 bit data.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1185 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-30 06:10:23 +00:00
normmatt234
81e13e0a25
Add missing ARM opcode variant strh (w=1) used in several homebrew gba demos (e.g. afire).
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1184 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-30 06:08:20 +00:00
squall-leonhart
48e1902818
removed <AdditionalOptions>/D_ST_MODEL/D_SECURE_SCL=0 %(AdditionalOptions)</AdditionalOptions> from the vcxproj
...
its redundant in VS2010 and VS2012, and seems to be a source of build errors in VS2012 for some reason.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1181 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-29 08:31:17 +00:00
normmatt234
eeeb048e4c
Make 32bit read out of bounds not get rotated if they are unaligned.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1180 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-28 17:27:55 +00:00
normmatt234
455105fd77
hopefully fixed unaligned reads correctly this time...
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1178 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-28 16:56:22 +00:00
normmatt234
2a520f5ba2
Fix yet another oversight in the unaligned read code.
...
Implemented missing thumb opcode (Which is invalid according to gbatek but Moto GP seems to use it)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1176 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-28 16:24:14 +00:00
normmatt234
d434b0b7e5
opps forgot to change change the unaligned 16bit rotate to check against old address.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1174 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-28 15:44:01 +00:00
normmatt234
81f6d88f65
Fixed unaligned 16/32 bit reads.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1172 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-28 15:27:45 +00:00
squall-leonhart
15078814b7
update to 2013
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1171 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-26 08:06:02 +00:00
squall-leonhart
35f17bdb32
fixed nasm props again
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1170 a31d4220-a93d-0410-bf67-fe4944624d44
2013-03-03 03:20:28 +00:00