Merge branch 'GP-0_ryanmkurtz_PR-4412_GameCubeGBA_File'

This commit is contained in:
Ryan Kurtz 2022-09-29 03:04:49 -04:00
commit b88cf85d5c

View File

@ -17,7 +17,6 @@ public class GRandomAccessFile {
private static final byte[] EMPTY = new byte[0]; private static final byte[] EMPTY = new byte[0];
private static final int BUFFER_SIZE = 0x100000; private static final int BUFFER_SIZE = 0x100000;
private File file;
private RandomAccessFile randomAccessFile; private RandomAccessFile randomAccessFile;
private byte[] buffer = EMPTY; private byte[] buffer = EMPTY;
private long bufferOffset = 0; private long bufferOffset = 0;
@ -77,7 +76,6 @@ public class GRandomAccessFile {
* while opening or creating the file * while opening or creating the file
*/ */
public GRandomAccessFile(File file, String mode) throws IOException { public GRandomAccessFile(File file, String mode) throws IOException {
this.file = file;
randomAccessFile = new RandomAccessFile(file, mode); randomAccessFile = new RandomAccessFile(file, mode);
this.open = true; this.open = true;
} }