-
Notifications
You must be signed in to change notification settings - Fork 2.2k
add adpcm bank code. huangyeh_m68k.cpp #14517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
the code was from another driver that still in pull request. due to preliminary emulation status I had to use pc = 061C and check something at error log.
Has sound. Demote since something need to verify hw.
src/mame/skeleton/huangyeh_m68k.cpp
Outdated
| void huangyeh_m68k_state::adpcm_bank(uint8_t data) | ||
| { | ||
|
|
||
| m_oki->set_rom_bank(data & 0x01); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function name for write to something is normally (function)_w, and Indentation consistency is should be correct. (in this case, it should be 1 tab, instead 2 tabs.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the adpcm rom has two bank. let me to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I I already used the data & 0x01 after making the pull request.
will cause the issues if I edit data & 0x02
error log:
[:oki] Warning: requested bank 2 higher than actual bank count 2
[:oki] Requested to play invalid sample 4a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should check whatever program you're using for machine translation, because clearly you are misunderstanding what is being said.
The comment has to do with INDENTING. You should be using 1 four-space tab, not 2 tabs.
|
the adpcm pitch clock was verified. |
the adpcm bankcode was from another driver that still in pull request. due to preliminary emulation status
I had to use pc = 061C to attract mode and check something at error log.