Locked

1 2
10 11
Emulator Coder, Skilled player (1300)
Joined: 12/21/2004
Posts: 2687
TNSe wrote:
I believe what you want is DirectSound->SetCooperativeLevel(HWnd, DSSCL_EXCLUSIVE)
Obviously that isn't enough, because VBA is already doing this: pDirectSound->SetCooperativeLevel((HWND)*theApp.m_pMainWnd, DSSCL_EXCLUSIVE); Any other idea how to change it? (And yes, I checked to make sure that no sound pausing functions are being called upon deactivating the app.)
Emulator Coder
Joined: 10/9/2004
Posts: 453
Location: Norway
How does it create the Primary Buffer? What options (Hint, try getting on irc, easier to communicate there :P)
Emulator Coder, Skilled player (1300)
Joined: 12/21/2004
Posts: 2687
I figured it out, the secondary buffer needed some GLOBAL_FOCUS type option in addition to the cooperative mode being exclusive. I've found a way to eliminate the terrible slowdown that happens sometimes in games like Metroid Zero Mission and Megaman Zero that doesn't happen on the real system. I'll retain backward compatibility by making lag an option and adding another bit to the movie flags, but people working on runs will probably want to start over anyway with the lag gone once I get a new version up... (EDIT: only affects GBA games)
Active player (277)
Joined: 5/29/2004
Posts: 5712
I wonder if Bisqwit should have locked this topic instead so that people would be less likely to use the old versions of VBA discussed here. That has started to annoy me.
put yourself in my rocketpack if that poochie is one outrageous dude
Former player
Joined: 8/12/2004
Posts: 651
Location: Alberta, Canada
What specifically did you do to keep the emulator from lagging for no reason? I cannot open my MZM run in this version though, the emulator crashes when I select the file from the "browse" menu. I guess that means the header is messed up and it's reading invalid information, but what must I change in the header to keep this from happening?
Active player (277)
Joined: 5/29/2004
Posts: 5712
He just fixed it.
put yourself in my rocketpack if that poochie is one outrageous dude
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Bag of Magic Food wrote:
I wonder if Bisqwit should have locked this topic instead so that people would be less likely to use the old versions of VBA discussed here. That has started to annoy me.
If the problem is people are too stupid to look for the newest messages in the thread, Nitsuja should edit the previous posts or remove the obsolete files from the server.
Active player (277)
Joined: 5/29/2004
Posts: 5712
Well, the problem is that the early posts are from Volkov and Shanedudddy. I thought the new topic by Nitsuja gave him more flexibility. Oh, and nice jumbo text there! Some of it gets cut off the side, though. It probably doesn't need to be THAT big.
put yourself in my rocketpack if that poochie is one outrageous dude
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Followup-to: http://tasvideos.org/forum/t/2050 Thread locked.
1 2
10 11

Locked