diff options
Diffstat (limited to 'src/emu/video/resnet.cpp')
-rw-r--r-- | src/emu/video/resnet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/video/resnet.cpp b/src/emu/video/resnet.cpp index 1b467d016c4..f746f8448d6 100644 --- a/src/emu/video/resnet.cpp +++ b/src/emu/video/resnet.cpp @@ -449,7 +449,7 @@ int compute_res_net(int inputs, int channel, const res_net_info &di) { double rTotal=0.0; double v = 0; - int i; + int i; double vBias = di.rgb[channel].vBias; double vOH = di.vOH; @@ -459,7 +459,7 @@ int compute_res_net(int inputs, int channel, const res_net_info &di) double vcc = di.vcc; double ttlHRes = 0; double rGnd = di.rgb[channel].rGnd; - uint8_t OpenCol = di.OpenCol; + u8 OpenCol = di.OpenCol; /* Global options */ @@ -692,15 +692,15 @@ int compute_res_net(int inputs, int channel, const res_net_info &di) return (int) (v * 255 / vcc + 0.4); } -void compute_res_net_all(std::vector<rgb_t> &rgb, const uint8_t *prom, const res_net_decode_info &rdi, const res_net_info &di) +void compute_res_net_all(std::vector<rgb_t> &rgb, const u8 *prom, const res_net_decode_info &rdi, const res_net_info &di) { - uint8_t r,g,b; + u8 r,g,b; int i,j,k; rgb.resize(rdi.end - rdi.start + 1); for (i=rdi.start; i<=rdi.end; i++) { - uint8_t t[3] = {0,0,0}; + u8 t[3] = {0,0,0}; int s; for (j=0;j<rdi.numcomp;j++) for (k=0; k<3; k++) |