mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
Fixed warnings. I hope I didn't break anything!
svn-id: r13317
This commit is contained in:
parent
4a6b57f295
commit
2705815d1d
@ -164,7 +164,7 @@ R_GAME_DISPLAYINFO IHNM_DisplayInfo = {
|
||||
248, 255 /* Overlay palette start index and length */
|
||||
};
|
||||
|
||||
R_GAME_RESOURCEINFO IHNM_Resources[] = {
|
||||
R_GAME_RESOURCEINFO IHNM_Resources = {
|
||||
IHNM_SCENE_LUT, /* Scene lookup table RN */
|
||||
IHNM_SCRIPT_LUT, /* Script lookup table RN */
|
||||
|
||||
@ -268,7 +268,7 @@ R_GAMEDESC GameDescs[] = {
|
||||
|
||||
0,
|
||||
|
||||
IHNM_Resources,
|
||||
&IHNM_Resources,
|
||||
|
||||
ARRAYSIZE(IHNMDEMO_GameFiles),
|
||||
IHNMDEMO_GameFiles,
|
||||
@ -292,7 +292,7 @@ R_GAMEDESC GameDescs[] = {
|
||||
|
||||
1,
|
||||
|
||||
IHNM_Resources,
|
||||
&IHNM_Resources,
|
||||
|
||||
ARRAYSIZE(IHNMCD_GameFiles),
|
||||
IHNMCD_GameFiles,
|
||||
|
@ -129,7 +129,7 @@ bool ResourceFile::loadResource(int32 rn, byte **res, int32 *res_len) {
|
||||
|
||||
assert(res != NULL && res_len != NULL);
|
||||
*res = NULL;
|
||||
*res_len = NULL;
|
||||
*res_len = 0;
|
||||
|
||||
if (!R_PBOUNDS(rn, _resTblCt)) {
|
||||
return false;
|
||||
@ -151,7 +151,7 @@ bool ResourceFile::loadResource(int32 rn, byte **res, int32 *res_len) {
|
||||
|
||||
*res = new_res;
|
||||
*res_len = new_res_len;
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user