• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Game Modifications › Cheats, Hacks, & Game Patches v
« Previous 1 ... 14 15 16 17 18 Next »

Audio Playback gets Reset instead of "Endless"? 30->60fps
View New Posts | View Today's Posts

Pages (2): « Previous 1 2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Audio Playback gets Reset instead of "Endless"? 30->60fps
11-04-2016, 05:56 AM (This post was last modified: 11-04-2016, 05:57 AM by JosJuice.)
#11
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,893
Threads: 7
Joined: Oct 2014
(11-04-2016, 05:47 AM)Zerowalker Wrote: Wait, having no intention to work on codes on their own?

I have been working the last weeks on this stuff,
and the audio issue basically the last few days just trying to track what the cause is.

But as i can't seem to be able to figure it out, and i have very little knowledge in this area,
i don't frighten to ask for help, and i don't ask in the sense of "Someone do the work for me".

No, don't worry. I didn't mean you, I meant that I have seen a few other people do that. I'm guessing Jhonn incorrectly assumed you were one of those people, since your original post wasn't clear on whether you were developing a code of your own or not.
Find
Reply
11-04-2016, 12:05 PM
#12
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
Ah, okay, i didn't know it was common so i just started on the wrong foot i guessSmile

Well if anyone has Any idea at all what could cause a constant audio flow to get interrupted once you hit 60fps, and just more and more for each fps beyond that, please do tell.
Guesses, theories are all welcome, i am basically a noob and i want to learn as much about the Gamecube system as possible as i find this modding things very fascinatingSmile!

Thanks!
Find
Reply
11-04-2016, 02:27 PM (This post was last modified: 11-04-2016, 03:40 PM by Zerowalker.)
#13
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
FINALLY!!!!!

I found something that affected it, damnation, i have wasted sooooo many hours, probably 50+ hours on this damn thing.
Doubt it's fixed, but I have been messing around functions Forever, and NOTHING had any affect on this whatsover, it was either there, or the audio was totally messed up or freeze etc.
The thing that finally did something was something i tried in other placed (some sort of counter, but it made not sense as it's not in sync or anything).

Well, i probably hype for nothing, but at least Something has happened, damn i am so happy, i was shocked when i noticed that something actually happened.
First i thought that it had frozen (had the Gameboy sound on repeat forever while trying out stuff), but then i noticed it hadn't, and even the Poltergust worked.

Now finally something is happening, yaya;D!

(Promise, in like 10 min i will notice that this thing probably crashes the game or something so it's not a solution at all lol xd)

EDIT:

And the issue now is that randomly a clip won't play, was to be expected, but at least i am on a good trackWink

EDIT 2:

Here is the Function if anyone may be of assistance. (If this is against rules please notify me).


Code:
Sound Reset Function??!
8018d618: mflr    r0
8018d61c: stw    r0, 0x0004 (sp)
8018d620: stwu    sp, -0x0018 (sp)
8018d624: stw    r31, 0x0014 (sp)
8018d628: addi    r31, r3, 0
8018d62c: lbz    r0, 0x130C (r13)
8018d630: extsb.    r0, r0
8018d634: bne-     ->0x8018D648
8018d638: li    r3, 0
8018d63c: li    r0, 1
8018d640: stw    r3, 0x1308 (r13)
8018d644: stb    r0, 0x130C (r13)
8018d648: lbz    r0, 0x130E (r13)
8018d64c: extsb.    r0, r0
8018d650: bne-     ->0x8018D664
8018d654: li    r3, 0
8018d658: li    r0, 1
8018d65c: stb    r3, 0x130D (r13)
8018d660: stb    r0, 0x130E (r13)
8018d664: lwz    r3, 0x13C8 (r13)
8018d668: lwz    r0, 0x1308 (r13)
8018d66c: cmplw    r3, r0
8018d670: beq-     ->0x8018D6AC    - This is the Reset i think. What happens is that two counters reach the same number or something?
8018d674: lbz    r0, 0x130D (r13)
8018d678: cmplwi    r0, 0
8018d67c: bne-     ->0x8018D69C
8018d680: lis    r4, 0x8000
8018d684: addi    r3, r31, 0
8018d688: addi    r4, r4, 33
8018d68c: bl    ->0x80190BD4
8018d690: lbz    r3, 0x130D (r13)
8018d694: addi    r0, r3, 1
8018d698: stb    r0, 0x130D (r13)
8018d69c: mr    r3, r31
8018d6a0: bl    ->0x8018F3A0
8018d6a4: lwz    r0, 0x13C8 (r13)
8018d6a8: stw    r0, 0x1308 (r13)
8018d6ac: lwz    r0, 0x001C (sp)
8018d6b0: lwz    r31, 0x0014 (sp)
8018d6b4: addi    sp, sp, 24
8018d6b8: mtlr    r0
8018d6bc: blr
Find
Reply
« Next Oldest | Next Newest »
Pages (2): « Previous 1 2


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode