mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 21:21:56 +00:00
Merge branch 'GP-0_ryanmkurtz_PR-4412_GameCubeGBA_File'
This commit is contained in:
commit
b88cf85d5c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user